PDA

View Full Version : different arrangement of QDockWidget than default



Wurgl
13th July 2006, 09:48
Hi forum,

I have a QMainWindow with two QDockWidgets. One shall be at the right side and the other at the bottom.

The default shows it like:


+-------------------------------------------+
| +-------+|
| | ||
| | ||
| | ||
| +-------+|
|+-----------------------------------------+|
|| ||
|+-----------------------------------------+|
+-------------------------------------------+


but I would prefer this layout:


+-------------------------------------------+
| +-------+|
| | ||
| | ||
| | ||
| | ||
|+--------------------------------+| ||
|| || ||
|+--------------------------------++-------+|
+-------------------------------------------+


any ideas?
Thanks

vratojr
13th July 2006, 10:35
http://doc.trolltech.com/4.1/qt4-mainwindow.html#overview-of-the-main-window-classes

jacek
13th July 2006, 10:36
Try QMainWindow::setCorner()

Wurgl
13th July 2006, 10:41
Try QMainWindow::setCorner()

Damn! Somehow I missed that. I did some experiments with setCorner, but it seems that ... hmm ... maybe I muddled up left and right :crying: