Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativerepeater / data / objlist.qml
1 import QtQuick 1.0
2
3 Rectangle {
4     id: container
5     objectName: "container"
6     width: 240
7     height: 320
8     color: "white"
9     Repeater {
10         id: repeater
11         objectName: "repeater"
12         model: testData
13         property int errors: 0
14         property int instantiated: 0
15         Component {
16             Item{
17                 Component.onCompleted: {if(index!=modelData.idx) repeater.errors += 1; repeater.instantiated++}
18             }
19         }
20     }
21 }