How to divide Left Dock vertically ?
-
Hi,
I want to add two dock windows to the DockLeft area. they should appear vertically. how can i do that? thank you. -
You can create one dock window, which will contains multiple windows inside. And organize them inside using for example QVerticalLayout which will be the main layout of your dock window, and append any new window to this layout.
-
At the QMainWindow call "addDockWidget":http://developer.qt.nokia.com/doc/qt-4.8/qmainwindow.html with the required parameters.
-
Anticross, Maxim,
Thanks for the help. I'm using Qt3. I did it like this...
mainWin->addDockWindow( dwinTop, DockLeft, FALSE );
.....
mainWin->moveDockWindow( dwinBottom, DockLeft, FALSE, 1, 0 );thanks again........