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  and
also there is no method or property which returns the list of item created
by Repeater and same goes to Row, it also doesn't have any method or
property to give the list of Item in Row so one cant Iterate over and find
the Item at given Index.

Thanks


On Sun, Jan 2, 2011 at 5:52 PM, Mark Constable <[email protected]> wrote:

> Newb question, if I use something like the below Row construct,
> how can I find and update, say, the content of the 4th item?
>
>  Row {
>    id: desk
>    width: view.width
>    height: view.height
>    Repeater {
>      model: 10
>      Rectangle {
>        id: content
>        width: view.width
>        height: view.height
>        Text {
>          anchors.centerIn: parent
>          text: "<h1>Desktop "+(index+1)+"</h1>"
>        }
>      }
>    }
>  }
> _______________________________________________
> Qt-qml mailing list
> [email protected]
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>



-- 
Abhishek Patil
http://thezeroth.net
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to