How to dock the QDockwidget in the center of the from in code and also let the user do it with the gui?
-
how to dock the QDockwidget in the center of the from in code and also let the user do it with the gui?
I did have trouble wording this question.
Thank you from taking you time to read this.
-
Did you check the API docs for QMainWindow?
The adding of the dock can be done there. -
No
[quote author="Thomas Zander" date="1360581277"]Did you check the API docs for QMainWindow?
The adding of the dock can be done there.[/quote] -
QDockWidgets exist in a band around the outside of the QMainWindow's central widget. The central widget cannot be a QDockWidget using any documented mechanism I am aware of.