[Qt-interest] Return QMainWidow handle

anders.bakken at nokia.com anders.bakken at nokia.com
Mon Nov 9 21:25:55 CET 2009


The qapplication has a list of all top level widgets. You could  
iterate over them and return the first qmainwindow.

--

Anders

On Nov 9, 2009, at 1:01 AM, "ext matteo" <matteo.ceruti at task84.it>  
wrote:

> Is there a method to return the QMainWindow pointer without declares  
> it
> global?
>
> Thanks
> Teo
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list