[Qt-interest] adding to QList

Chandru... sekarwagmare at gmail.com
Tue Aug 11 06:46:45 CEST 2009


thanks for reply ... findChildren() is working perfect .. thanks to Andre
Haupt  also to rajasekar

On Mon, Aug 10, 2009 at 2:02 PM, Andre Haupt <andre at bitwigglers.org> wrote:

> On Mon, Aug 10, 2009 at 03:39:07PM +0530, Chandru... wrote:
> > hi friends,
> >
> > please help me to add all the widgets added to a class parentDial() to a
> > QList() .. currently i am adding one by one the each object to QList
> > <parentDial> .
> >
> > but is there any other way to make it easier because parentDial has more
> > than 20 widgets ..
>
> have a look at QObject::findChildren.
>
> regards,
>
> Andre
>



-- 
WAGMARE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090811/8e8e490e/attachment.html 


More information about the Qt-interest-old mailing list