On Wednesday 28 April 2010 09:03:02 ext [email protected] wrote: > 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??
I'm fairly sure testcolumn.children[5].text = "foo" should do it. Regards, Christian _______________________________________________ Qt-qml mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-qml
