diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-10-15 04:17:31 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-10-15 04:18:09 (GMT) |
commit | f2b11f645531ec5c31c839faa933cebde1440c8e (patch) | |
tree | c5f6f7a2ed7db5794c5f6a56668c2887fedfbdc7 /tests/auto/declarative/qdeclarativevisualdatamodel/data/modelproperties.qml | |
parent | 88c9c3c1d8db356e69573c626618a979ac005b21 (diff) | |
download | Qt-f2b11f645531ec5c31c839faa933cebde1440c8e.zip Qt-f2b11f645531ec5c31c839faa933cebde1440c8e.tar.gz Qt-f2b11f645531ec5c31c839faa933cebde1440c8e.tar.bz2 |
Additional autotests for VisualDataModel.
Diffstat (limited to 'tests/auto/declarative/qdeclarativevisualdatamodel/data/modelproperties.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativevisualdatamodel/data/modelproperties.qml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativevisualdatamodel/data/modelproperties.qml b/tests/auto/declarative/qdeclarativevisualdatamodel/data/modelproperties.qml new file mode 100644 index 0000000..8cd5763 --- /dev/null +++ b/tests/auto/declarative/qdeclarativevisualdatamodel/data/modelproperties.qml @@ -0,0 +1,17 @@ +import QtQuick 1.0 + +ListView { + model: myModel + delegate: Item { + objectName: "delegate" + property variant test1: name + property variant test2: model.name + property variant test3: modelData + property variant test4: model.modelData + property variant test5: modelData.name + property variant test6: model + property variant test7: index + property variant test8: model.index + property variant test9: model.modelData.name + } +} |