Uhhh, this is really embarrassing. First, I haven't got your previous reply probably because I've moved domains around during the last days. And second, .length is working just fine. Not sure what I was doing the last time.
Thank you for the answers and sorry for the confusion! Conny On Mon, 2010-09-20 at 21:51 +0700, Gregory Schlomoff wrote: > I've replied previously that .length works very well for me. Did you > try it again? This is the correct property to get the size of the > list. > > On Mon, Sep 20, 2010 at 8:27 PM, Cornelius Hald <[email protected]> wrote: > > On Fri, 2010-09-17 at 14:59 +0200, Cornelius Hald wrote: > >> I'm exposing an object with a QList<QtObject*> property to QML. How can > >> I read out the size of that list in QML? I tried .size, .length > >> and .count. Non of them seem to work. > >> > >> Am I missing something? Is it possible at all? > > > > I still didn't find a solution. Could someone please give me a hint? > > > > Thanks! > > Conny > > > > > > _______________________________________________ > > Qt-qml mailing list > > [email protected] > > http://lists.trolltech.com/mailman/listinfo/qt-qml > > _______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
