diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-02-04 04:56:50 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-02-04 04:56:50 (GMT) |
commit | 7fec7ff568659c3816ce26d2d82d59dd372f1166 (patch) | |
tree | c2546e401f13ba5c55e3311744d83fa68e46f165 /tests/auto/declarative/visual/repeater/basic3.qml | |
parent | 5783f98ce5e243afbbd4c6a68c80d2dd959520e0 (diff) | |
parent | f7dfce110c96ef33200abf2dd93b86d3853095e5 (diff) | |
download | Qt-7fec7ff568659c3816ce26d2d82d59dd372f1166.zip Qt-7fec7ff568659c3816ce26d2d82d59dd372f1166.tar.gz Qt-7fec7ff568659c3816ce26d2d82d59dd372f1166.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git://git-nokia.trolltech.com.au/qtsoftware/qt/kinetic
Conflicts:
src/xmlpatterns/type/qprimitives_p.h
tools/linguist/lupdate/main.cpp
Diffstat (limited to 'tests/auto/declarative/visual/repeater/basic3.qml')
-rw-r--r-- | tests/auto/declarative/visual/repeater/basic3.qml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/auto/declarative/visual/repeater/basic3.qml b/tests/auto/declarative/visual/repeater/basic3.qml new file mode 100644 index 0000000..cb57d49 --- /dev/null +++ b/tests/auto/declarative/visual/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 + } + } + } + } +} |