diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-08-25 23:19:37 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-08-25 23:19:37 (GMT) |
commit | 08df2a17f4f0ed9b5ce69ad91e3849260acda092 (patch) | |
tree | 1fbe5503d5cd32124edcbf3fdaf0b391cab01c3b /tests/auto/declarative/qdeclarativevisualdatamodel/data | |
parent | aab53973d060b744d54017464af226207c5a4d42 (diff) | |
download | Qt-08df2a17f4f0ed9b5ce69ad91e3849260acda092.zip Qt-08df2a17f4f0ed9b5ce69ad91e3849260acda092.tar.gz Qt-08df2a17f4f0ed9b5ce69ad91e3849260acda092.tar.bz2 |
Add test for VisualItemModel layoutChanged() handling
Task-number: QTBUG-13146
Diffstat (limited to 'tests/auto/declarative/qdeclarativevisualdatamodel/data')
-rw-r--r-- | tests/auto/declarative/qdeclarativevisualdatamodel/data/datalist.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativevisualdatamodel/data/datalist.qml b/tests/auto/declarative/qdeclarativevisualdatamodel/data/datalist.qml new file mode 100644 index 0000000..a798f77 --- /dev/null +++ b/tests/auto/declarative/qdeclarativevisualdatamodel/data/datalist.qml @@ -0,0 +1,15 @@ +import Qt 4.7 + +ListView { + width: 100 + height: 100 + anchors.fill: parent + model: myModel + delegate: Component { + Rectangle { + height: 25 + width: 100 + Text { objectName: "display"; text: display } + } + } +} |