I am investigating the behaviour of dock widgets.
I am trying to achieve the following -
- Have a set of tabbed dock widgets positioned at the bottom of mainWindow
- Have each of the tabbed dock widgets floatable but not moveable
- Have the dock widgets always take up the entire space of the mainWindow
1 & 2 are easy to implement but I am struggling with 3.
Does anyone have any hints on how I can achieve this.
I don't think this achievable as widget area on MainWindow takes space by design. DockWidgets and MainWindow are designed to take the space around this centralWidget space. Even if you set the centralwidget area to zero size, MainWindow will not give the spacing to dockwindow.