Floating tab widgets
-
Hi
In my application I would like something similar to a tab widget, but the user should be able to 'float' the widget.
Similar to the dock widget scheme except that I need it to be the central widget of main window.Does anyone have any ideas on how this might be implemented?
Not looking for a complete solution, just some hintsThanks
-
One way I see is to add custom 'make float' button for every tab. User could click such button to make the widget 'float', and she should have similar 'un-float' button in un-tabed widget too.
However, you will not be able (using this solution) simply to drag such tab to make it 'floating', which would be ideal IMHO. I don't know if it's possible at all. See QTabWidget::tabBar and QTabBar::setTabButton for details.