PDA

View Full Version : QMdiArea: Toggle QMdiSubWindow (SubWindowView / TabbedView)



neosettler
15th February 2014, 04:19
Greetings everyone,

While the QMdiSubWindows works beautifully in TabbedView or SubWindowView, switching between the two modes is somewhat a one way trip. Switching from SubWindowView to TabbedView works without problem but the reverse doesn't seem to work.

I noticed that the context menu (right click on the tab) losses its options when the QMdiSubWindow is in TabbedView. The "restore" option would be just what I need. Or... even better, I would like to restore a TabbedView SubWindowView to SubWindowView by double clicking the tab itself. The problem with this approach is that I can't find any signal that seem to track mouse click on the tabs, or any single at all.

Any suggestion would be very appreciated.

thx