How to change position of dock widget
General and Desktop
8
Posts
3
Posters
4.5k
Views
1
Watching
-
Please refer "this":http://stackoverflow.com/questions/18871717/how-to-set-dock-widget-below-widget
I tried through geometry and digged the doc of mainwindow and dock widget but unable to do so. Please help.
-
Hi,
Have a look at "Qt::DockWidgetArea":http://qt-project.org/doc/qt-4.8/qt.html#DockWidgetArea-enum to see where you can put your dock widgets.
Hope it helps
-
If I understand you correctly, you want your dock between two other widgets ?
-
-you can try to use stylesheets and set a padding on the QDockWidget.- nvm
-
The only way I see so far (I'm not saying that its good or that it will work) would to put all your widgets in docks and remove the features of the "non dock" widgets. You should then be able to stack them one on top of each other.