[Qt-qml] Getting the size of a QList in QML
Gregory Schlomoff
gregory.schlomoff at gmail.com
Mon Sep 20 16:51:25 CEST 2010
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 <hald at icandy.de> 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
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml
>
More information about the Qt-qml
mailing list