Important: Please read the Qt Code of Conduct -

Dock Widgets

  • Hi
    I am investigating the behaviour of dock widgets.
    I am trying to achieve the following -

    1. Have a set of tabbed dock widgets positioned at the bottom of mainWindow
    2. Have each of the tabbed dock widgets floatable but not moveable
    3. 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.


  • Qt Champions 2017

    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.

Log in to reply