Using the QMainWindow
I have added 3 DockWidgets and set centralWidget to 0, so now the DockAreas can take up all the space.
Have a look:
This looks the way I want and behaves even more so. But There is one effect that breaks it all.
When I rip Dock
out of its DockArea, the other DockArea expands and takes up all the space and the Area where Dock
once resided is gone. I now have something like this:
From now on it is not possible to dock any widgets right or left, since only one DockArea exists. But can this be fixed? Can I somehow keep a DockArea "alive", even after its only widget was floated?