How to control dock widget overlap priority
-
I need 2 QDockWidget,one left and another Top.
I want the left is the master,the left overlap or push the top.But I got: the Top is push the left.
any hint? thx!
-
Based on your message:
@
QDockWidget *dock = new QDockWidget;
dock->setWidget(new QLabel("Test1"));
addDockWidget(Qt::TopDockWidgetArea, dock);
dock = new QDockWidget;
dock->setWidget(new QLabel("Test2"));
addDockWidget(Qt::TopDockWidgetArea, dock);
dock = new QDockWidget;
dock->setWidget(new QLabel("Test3"));
addDockWidget(Qt::LeftDockWidgetArea, dock);
@Should show the docks like you want