[Qt-interest] All toolbars and dock widgets of a main window
Fabio Dago
fabio.dago at sir.to.it
Mon Mar 30 15:31:27 CEST 2009
Excellent! Thanks!
Alexandre Beraud ha scritto:
> Hi,
>
> There are no such methods, but you can try this:
> QList<QDockWidget *> docksList =
> yourMainWindow->findChildren<QDockWidget *>();
>
> Regards,
>
> Alex
>
>
> Fabio Dago a écrit :
>
>> Hi!
>>
>> Is there a way to get a list of all QToolBars and all QDockWidgets added
>> to a QMainWindow?
>>
>> I want to hide all these widgets when I show the window in fullscreen
>> mode, but inside my main window class I don't have a list of them.
>>
>> Thanks!
>>
>> Fabio.
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------
>
>
> Nessun virus nel messaggio in arrivo.
> Controllato da AVG - www.avg.com
> Versione: 8.5.283 / Database dei virus: 270.11.31/2029 - Data di rilascio: 03/29/09 16:56:00
>
>
More information about the Qt-interest-old
mailing list