QDockWidget only for QMainWindow?
-
QDockWidget exists only for QMainWindow?
Can't I attach QDockWidget into another widget?
-
QDockWidget is a standard (inherits) QWidget so you can put it anywhere in a Qt widgets tree, however the docking functionalities will only work if it has a QMainWindow as its parent.