Hi Graham, Calling raise() on the QDockWidget should do it.
Greets, Ben > -----Original Message----- > From: interest-bounces+benswerts=telenet...@qt-project.org > [mailto:interest-bounces+benswerts=telenet...@qt-project.org] On Behalf > Of Graham Labdon > Sent: Thursday, July 24, 2014 12:29 > To: interest@qt-project.org > Subject: [Interest] Tabbed Dock Widgets > > Hi > In my application I have a set of docked widgets that are all tabbed. > I have a menu to which I have added the action associated with the docked > widget that enables me to toggle the viability of the widgets. This all works > fine except for one niggle. > Say I have 2 out of 3 of my widgets on display and then use the menu to > make a 3rd visible. The 3rd widget does get added to the tabbed set of > widgets but is not made the current tab. > > Does anyone have any hints on how I can make it the current tab > > Thanks _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest