[Qt-interest] adding to QList
Andre Haupt
andre at bitwigglers.org
Mon Aug 10 10:32:52 CEST 2009
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
More information about the Qt-interest-old
mailing list