QDockWidgets within a QDockWidget
-
I have a pretty good idea what the answer to this question is going to be but I thought I'd ask anyway. :-)
In the application I'm designing, I would like to put two QDockwidget inside of a third QDockWidget. I'm wondering if this is remotely possible.
The desire is to have MasterDock which contains DockA ( list of items) and DockB ( which would contain an editor for a selected item from DockA). The users would like to move the DockB around while restricting it's position; forcing it to remain Tied to Dock A. At the same time they'd like the option of hiding DockB when it isn't needed.
The current model is to have the editor shown, next to the item list, but it's felt that this method is too restrictive, in terms of application UI real estate.
Any thoughts on if this can be done?
Thanks
-
Okay, I got this uploaded hopefully the link works as advertised. It's just a quick and dirty mock up. On the left is a 'master dock widget'. I'd like for the two sections within to be docks that can be re-arranged but only within the master dock widget.
"nested QDockWidget mockup":https://docs.google.com/leaf?id=0B_adfg_bb8-fMDcwOTM2MmMtYTAwYS00YTM4LWJlNTQtMGM1Mjc1OTJiNGFl&hl=en_US