[Qt-qml] How to update item within a Row

Mark Constable markc at renta.net
Sun Jan 2 17:25:46 CET 2011


On 2011-01-03, Abhishek wrote:
> Well I don't think that is possible because,
> As i understand(check qt/src/graphicsitems/qdeclarativerepeater.cpp)
> *Repeater* will create all element dynamically so no Id for each item

Right, so I would have to create static Items with an Id for
each one rather than use Repeater.

Just seems odd that each Repeater Item does have a dynamically
created "index" property, so each Item knows it's own position
within the list, but that info is not available outside the Item!

--markc


More information about the Qt-qml mailing list