diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-05-06 01:00:51 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-05-06 01:00:51 (GMT) |
commit | 4b0c60c6246fb7aacea3d74787a9e5a0cc507edd (patch) | |
tree | bc44a0bdcc8daa82e06f5b51bc6fd9651d143bce | |
parent | 1bdc835db0ca88da9be9e2fbe39c5514c4401ab7 (diff) | |
download | Qt-4b0c60c6246fb7aacea3d74787a9e5a0cc507edd.zip Qt-4b0c60c6246fb7aacea3d74787a9e5a0cc507edd.tar.gz Qt-4b0c60c6246fb7aacea3d74787a9e5a0cc507edd.tar.bz2 |
Add missing test file.
-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 0000000..f5198c9 --- /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 } + } + } +} |