diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-05-06 11:00:51 +1000 |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-05-06 11:00:51 +1000 |
commit | 4b0c60c6246fb7aacea3d74787a9e5a0cc507edd (patch) | |
tree | bc44a0bdcc8daa82e06f5b51bc6fd9651d143bce /tests/auto | |
parent | 1bdc835db0ca88da9be9e2fbe39c5514c4401ab7 (diff) | |
download | qt4-tools-4b0c60c6246fb7aacea3d74787a9e5a0cc507edd.tar.gz |
Add missing test file.
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/declarative/qdeclarativevisualdatamodel/data/objectlist.qml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativevisualdatamodel/data/objectlist.qml b/tests/auto/declarative/qdeclarativevisualdatamodel/data/objectlist.qml new file mode 100644 index 0000000000..f5198c90d2 --- /dev/null +++ b/tests/auto/declarative/qdeclarativevisualdatamodel/data/objectlist.qml @@ -0,0 +1,16 @@ +import Qt 4.7 + +ListView { + width: 100 + height: 100 + anchors.fill: parent + model: myModel + delegate: Component { + Rectangle { + height: 25 + width: 100 + color: model.modelData.color + Text { objectName: "name"; text: name } + } + } +} |