diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-03-26 06:03:37 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-03-28 23:50:09 (GMT) |
commit | d81e74a5d40202ce17d31f71ae953a19ed7191dd (patch) | |
tree | 80bfb6e9d064f19e25038f6ac5990385abeecb5f /tests/auto/declarative/qmlvisual/repeater/basic3.qml | |
parent | fbcf257f0988f1ffef442195acc9f4b4c1527870 (diff) | |
download | Qt-d81e74a5d40202ce17d31f71ae953a19ed7191dd.zip Qt-d81e74a5d40202ce17d31f71ae953a19ed7191dd.tar.gz Qt-d81e74a5d40202ce17d31f71ae953a19ed7191dd.tar.bz2 |
Rename visual test to qmlvisual.
Diffstat (limited to 'tests/auto/declarative/qmlvisual/repeater/basic3.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/repeater/basic3.qml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/repeater/basic3.qml b/tests/auto/declarative/qmlvisual/repeater/basic3.qml new file mode 100644 index 0000000..cb57d49 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/repeater/basic3.qml @@ -0,0 +1,29 @@ +import Qt 4.6 + +Rectangle { + color: "blue" + width: 300 + height: 200 + ListModel { + id: dataSource + ListElement { + name: "January" + } + ListElement { + name: "February" + } + } + Row { + Repeater { + model: dataSource + delegate: Rectangle { + color: "red" + width: 100 + height: 100 + Text { + text: name + } + } + } + } +} |