Doubts about using docks witcth QDockWidget
-
I wonder if you can use QDockWidget this way:
!http://img716.imageshack.us/i/semttulokq.jpg/()!
Docks 1,2,3 are independent of the central widget. May increase the size of any one.
If anyone can help I am very grateful.
-
Afaik, it's not possible by default.
A dock widget always takes space inside the main window, whcih means, it uses space, the central widget can't use. The central widget is automatically using all unoccupied space.So if dock 3 gets bigger, it will loock like it uis over central widget, but in fact, central widget gets smaller (perhaps gets a scroll bar). If it should really bo "Over" the central widget, it must be floating and then it's not docked anymore.