havent u seen the dock widgets example in Qt demo..isnt that what u need precisely?
havent u seen the dock widgets example in Qt demo..isnt that what u need precisely?
Just to be sure - I just looked at it, and no - that's not what I need; namely because it has a central widget, which I don't want; similar though.
What I want to be able to rearrange widgets. Similar to moving a dock widget from one side of the screen to the other, only I want to be able to have it take up the central area too.
So widgets X, Y, Z could be ordered in any of the following from left to right across the layout:
Y X Z
X Y Z
Z Y X
Z X Y
X Z Y
Y Z X
that's quite different than what QMainWindow provides, which is what that demo shows - QDockWidgets inside a QMainWindow; which is explicitly not what I want.
I think I can achieve this with a QDockAreaLayout - and just make it the whole layout; but there is none in Qt4.
you do have the option of creating that layout then..and when u r done, be kind enough to share it with the rest of the world![]()
I guess you will need to add drag drop functionality.
You could look into designer code how they do it. I guess thats what you want ...
Bookmarks