PDA

View Full Version : Individual Design of QMainWindow with QDockWidget



d'Matthias
26th May 2011, 20:07
Hello everybody,


I want to design the layout of my MainWindow (inherited by QMainWindow) as fellow:http://users.ph.tum.de/gu92jiq/projekte/melio_draw/skizzen/DockWidget_Skizze.png
By default, a QDockWidget cant work in a QMainWindow which has a seperate layout, as I know. And the
QDockWidget on a side displace that one at the bottom or at the top. I hope you can change these kind of attitude.

Is it possible to order the single QWidgets as the upper image shows it ?
If Yes, please let me know, how.
Thanks a lot.




Many
regards,


Matthias

Santosh Reddy
26th May 2011, 21:10
looks like the imgae has a problem loading, could you load it again.

d'Matthias
26th May 2011, 21:22
looks like the imgae has a problem loading, could you load it again.

Sorry I don't know what you mean. It's displayed correctly in my browsers.
Here is the direct Linkof the image (http://users.ph.tum.de/gu92jiq/projekte/melio_draw/skizzen/DockWidget_Skizze.png)

Santosh Reddy
26th May 2011, 22:47
I don' think it is possible to put QWidget & QDockWidget in the same layout.

Can do this by having eventhing as QWdigets, but this way you will be lose the QDockWidget behaviour for all widgets.

d'Matthias
30th May 2011, 18:05
Ok, I can understand this behavior.

But is it possible to order the QDockingWidgets as fellow:

__________________________________________________ __________
| | | |
| | | |
| | | |
| |_________________________________________| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| |_________________________________________| |
| | | |
| | | |
| | | |
__________________________________________________ __________
Instead of:
__________________________________________________ __________
| |
| |
| |
|_________________________________________________ __________|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|_________________________________________________ __________|
| |
| |
| |
__________________________________________________ __________
??

Thanks a lot