There is a QMainWindow and two QDockWidgets. The first widget is docked to the top, the second - to the left. The result is that the first widget occupies full width and the second widget occupies the remaining area. I want to make it so that the second widget occupies the full height and the first - the remaining area.
To show this visually. "-" - the first widget, "|" - the second, o - central widget.
Default Qt behavior:
------
|ooooo
|ooooo
|ooooo
I need this:
|-----
|ooooo
|ooooo
|ooooo