PDA

View Full Version : VisualItemModel example upgrade



rperezalejo
4th December 2011, 18:08
hello people i have these exact example running:

QT_DIR/declarative/modelviews/visualitemmodel/visualitemmodel.qml

but instead of Rectangles i have GridViews.

In the example, with a "Repeater" i can do the same amount of buttons that i have in the VisualItemModel....
but....
what i want to do is put in each buttons as a label the ID of each GridView in the VisualItemModel
I have tried to reference it as in C++ but no results, if anyone could please help me i will be very appreciated.