fatma.ekici
fatma.ekici

Reputation: 2827

QDockWidget is not docked on a QDialog

Is it correct to use a QDockWidget on a QDialog? When I tried to use it, dock widget did not get docked on the dialog window. I could not resize the dock widget when I executed the application.

Upvotes: 0

Views: 1776

Answers (1)

cmannett85
cmannett85

Reputation: 22346

QDockWidgets have to be 'owned' by a QMainWindow, but you can of course put a QMainWindow inside a QDialog.

Upvotes: 1

Related Questions