summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlgraphicsrepeater/data/repeater.qml
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-11-18 04:53:14 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-11-18 04:53:14 (GMT)
commita8fedac7834029c80ffc2baaecf6aebef2e51c47 (patch)
tree95098d23c233a4b562017cf11d977f291e6dfa4b /tests/auto/declarative/qmlgraphicsrepeater/data/repeater.qml
parent27a4decc8f687c81dbd07315ad8d6488cfa4b4a8 (diff)
downloadQt-a8fedac7834029c80ffc2baaecf6aebef2e51c47.zip
Qt-a8fedac7834029c80ffc2baaecf6aebef2e51c47.tar.gz
Qt-a8fedac7834029c80ffc2baaecf6aebef2e51c47.tar.bz2
Rename repeater -> qmlgraphicsrepeater
Diffstat (limited to 'tests/auto/declarative/qmlgraphicsrepeater/data/repeater.qml')
-rw-r--r--tests/auto/declarative/qmlgraphicsrepeater/data/repeater.qml28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlgraphicsrepeater/data/repeater.qml b/tests/auto/declarative/qmlgraphicsrepeater/data/repeater.qml
new file mode 100644
index 0000000..7d83230
--- /dev/null
+++ b/tests/auto/declarative/qmlgraphicsrepeater/data/repeater.qml
@@ -0,0 +1,28 @@
+import Qt 4.6
+
+Rectangle {
+ id: container
+ objectName: "container"
+ width: 240
+ height: 320
+ color: "white"
+ Text {
+ text: "Zero"
+ }
+ Repeater {
+ id: repeater
+ objectName: "repeater"
+ width: 240
+ height: 320
+ model: testData
+ Component {
+ Text {
+ y: index*20
+ text: modelData
+ }
+ }
+ }
+ Text {
+ text: "Last"
+ }
+}