diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-05-08 05:04:29 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-05-08 05:04:29 (GMT) |
commit | df7dce62777fb953d26fcd30d6f56dc16c945ac0 (patch) | |
tree | 79047a96a5b699d55c117719b757e99d593ca3d0 /tests/auto/declarative/listview/data | |
parent | 309de75f1e0ce2e85b2f58e34b876f902c9d0292 (diff) | |
download | Qt-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.qml | 39 | ||||
-rw-r--r-- | tests/auto/declarative/listview/data/listview.xml | 14 |
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> |