How to use QDockWidget in QMainWindow?
could it be possible to use a QDockWidget as part of the MainWindow?
how would the DockWidget be used in this case?
[EDIT: Split from other thread. Please start a new thread when you have an unrelated question -- JKSH]
Yes, QDockWidget was designed to be used in QMainWindow.
See the documentation for guidance: