[Qt-qml] Element at 'index' in Column or Row

Rakesh.Mutharaju at tieto.com Rakesh.Mutharaju at tieto.com
Wed Apr 28 09:03:02 CEST 2010


Hi,

        How can I access Element at particular 'index' in Column or Row. Basically I would like to update the content of element at runtime.

For eg.,

Column
{
id: testcolumn
spacing: 2
height: 150
width:100
        Repeater{
                model: 10

                Text{
                        id: textelement
                        height: 10
                        text: "test"+index
                  }
        }
}


I would like to update the Text element at index '5' , how can access the Text element??


Thanks and Regards,
Rakesh


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100428/fa6c48ce/attachment.html 


More information about the Qt-qml mailing list