[Interest] Tabbed Dock Widgets

Ben Swerts benswerts at telenet.be
Thu Jul 24 15:17:06 CEST 2014


Hi Graham,

Calling raise() on the QDockWidget should do it.

Greets,


	Ben

> -----Original Message-----
> From: interest-bounces+benswerts=telenet.be at qt-project.org
> [mailto:interest-bounces+benswerts=telenet.be at qt-project.org] On Behalf
> Of Graham Labdon
> Sent: Thursday, July 24, 2014 12:29
> To: interest at 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




More information about the Interest mailing list