Rewrite the canvas item's paint logic.
[profile/ivi/qtdeclarative.git] / tests / auto / qtquick1 / qdeclarativerepeater / data / repeater1.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     Text {
10         text: "Zero"
11     }
12     Repeater {
13         id: repeater
14         objectName: "repeater"
15         width: 240
16         height: 320
17         model: testData
18         Component {
19             Text {
20                 y: index*20
21                 text: modelData
22             }
23         }
24     }
25     Text {
26         text: "Last"
27     }
28 }