It turns out that you can work with a QMainWindow populated only with QDockWidgets, and have those widgets share all available space, provided you follow 2 requirements:
1.
All the QDockWidgets must have the same setting for docWidgetArea, e.g. Qt:BottomDockWidgetArea. You cannot mix, bottom, left or right. Of course you can set allowedAreas to Qt:AllDockWidgetAreas and the user can then distribute them as they wish.
2.
There must be no central widget. Designer always creates one of these called centralwidget, so simply delete the sucker in your QMainWindow constructor.
Bookmarks