You might have the results you want with the QSplitter class instead of QDockWidgets if it is possible for you.
You might have the results you want with the QSplitter class instead of QDockWidgets if it is possible for you.
Hi Live...Thanks for the reply but it seems that I can not use the QSplitter in my application as:
) I need the floating behavior for the windows.
) I need to add some more dock windows later on my application.
Is there any possible way to do this[Point 2] and what I am missing in point 1...thanks![]()
Here is what I think you want:
- A layout of three panels with some ratio of space allocation.
- Each panel can contain zero or more QDockWidgets.
- When panel contains no docked widgets it remains present in the layout and empty.
Have you tried using splitters or another layout method to place three QMainWindows inside your application's main window central widget. The QDockWidgets can be docked with these subordinate QMainWindows rather than the top level one.
pastispast (29th November 2010)
Bookmarks