[Qt-qml] How to update item within a Row
Girish Ramakrishnan
girish at forwardbias.in
Sun Jan 2 18:39:57 CET 2011
Currently, the only way is to access the Row's children. Vote for
http://bugreports.qt.nokia.com/browse/QTBUG-15161.
Girish
On Sun, Jan 2, 2011 at 5:52 PM, Mark Constable <markc at renta.net> 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
> Qt-qml at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>
More information about the Qt-qml
mailing list