[SOLVED]Accessing QML component property dynamically
How can we access properties of multiple qml components in a loop
i.e I have a custom components "box1" "box2" "box3"....."box30"
this box has a property named "txtLabel" to store text in it.
Now i have to find out which box has empty "txtLabel"
i want to do it in a for loop
for(var i=1; i<=30;i++)
Please help me in achieving above computing.
Take a look @ "this":http://qt-project.org/doc/qt-4.8/qml-item.html#children-prop
Its done. That helped me. Thanq.