Any more detail?
What kind of dock window? QDockWidget?
Where should the dock window be docked to?
Thanks a lot!
I can't help you with any details because I haven't started using Qt yet.
But if the problem is that MDI windows are "stuck" within the main application window, then putting dockable windows withing the MDI windows would be a solution.
After having briefly consulted C++ GUI Programming with Qt, it seems like my suggestion would require that a QMainWindow be put in each MDI window before a QDockWidget can be added. I don't have the faintest idea whether this will work but it may be worth investigating.
freelucas (23rd February 2010)
I think the better way is to change the source code of QMDISubWindow to let it have some feathers of QDockWidget.
Floating an MDI window on the desktop: has anyone done this yet?
We have done it with Visual C++ and MFC. It involved detaching the window from the its parent (in this case QMdiArea I guess) and attaching it to a new floating parent window. But first, to know that the user wants to float the window, it is necessary to detect that the window's tab is being dragged away from the other tabs.
Now we would like to have the same feature with Qt.
Last edited by Litlington; 8th April 2011 at 09:50.
Bookmarks