summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/listview/data
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-05-08 05:04:29 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-05-08 05:04:29 (GMT)
commitdf7dce62777fb953d26fcd30d6f56dc16c945ac0 (patch)
tree79047a96a5b699d55c117719b757e99d593ca3d0 /tests/auto/declarative/listview/data
parent309de75f1e0ce2e85b2f58e34b876f902c9d0292 (diff)
downloadQt-df7dce62777fb953d26fcd30d6f56dc16c945ac0.zip
Qt-df7dce62777fb953d26fcd30d6f56dc16c945ac0.tar.gz
Qt-df7dce62777fb953d26fcd30d6f56dc16c945ac0.tar.bz2
Autotest format conversion.
Diffstat (limited to 'tests/auto/declarative/listview/data')
-rw-r--r--tests/auto/declarative/listview/data/listview.qml39
-rw-r--r--tests/auto/declarative/listview/data/listview.xml14
2 files changed, 39 insertions, 14 deletions
diff --git a/tests/auto/declarative/listview/data/listview.qml b/tests/auto/declarative/listview/data/listview.qml
new file mode 100644
index 0000000..891f9a8
--- /dev/null
+++ b/tests/auto/declarative/listview/data/listview.qml
@@ -0,0 +1,39 @@
+Rect {
+ width: 240
+ height: 320
+ color: "#ffffff"
+ resources: [
+ Component {
+ id: Delegate
+ Item {
+ id: wrapper
+ height: 20
+ width: 240
+ Text {
+ text: index
+ }
+ Text {
+ x: 30
+ id: textName
+ text: name
+ }
+ Text {
+ x: 120
+ id: textNumber
+ text: number
+ }
+ Text {
+ x: 200
+ text: wrapper.y
+ }
+ }
+ }
+ ]
+ ListView {
+ id: list
+ width: 240
+ height: 320
+ model: testModel
+ delegate: Delegate
+ }
+}
diff --git a/tests/auto/declarative/listview/data/listview.xml b/tests/auto/declarative/listview/data/listview.xml
deleted file mode 100644
index 7fda2b5..0000000
--- a/tests/auto/declarative/listview/data/listview.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<Rect width="240" height="320" color="#ffffff">
- <resources>
- <Component id="Delegate">
- <Item id="wrapper" height="20" width="240">
- <Text text="{index}"/>
- <Text x="30" id="textName" text="{name}"/>
- <Text x="120" id="textNumber" text="{number}"/>
- <Text x="200" text="{wrapper.y}"/>
- </Item>
- </Component>
- </resources>
- <ListView id="list" width="240" height="320" model="{testModel}" delegate="{Delegate}">
- </ListView>
-</Rect>