[Interest] Tabbed Dock Widgets

Graham Labdon Graham.Labdon at avalonsciences.com
Thu Jul 24 15:48:16 CEST 2014


Hi
I realise that but I cannot get a handle for the docked widget

-----Original Message-----
From: interest-bounces+graham.labdon=avalonsciences.com at qt-project.org [mailto:interest-bounces+graham.labdon=avalonsciences.com at qt-project.org] On Behalf Of Ben Swerts
Sent: 24 July 2014 14:17
To: interest at qt-project.org
Subject: Re: [Interest] Tabbed Dock Widgets

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

_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list