summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativepathview/data/undefinedpath.qml
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-01-06 16:04:26 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-01-06 16:04:26 (GMT)
commit436ce764bada3e8fe3c9d4e7322f38f41e95324c (patch)
tree2d5806381ff362907c087b13d190d43795afc8f7 /tests/auto/declarative/qdeclarativepathview/data/undefinedpath.qml
parentcccec8ba26b8c5b5f82c3ea9affc3b74b7d177fe (diff)
parenta6a8bee86f7e13d49d9115eb33aaee999bd15ad5 (diff)
downloadQt-436ce764bada3e8fe3c9d4e7322f38f41e95324c.zip
Qt-436ce764bada3e8fe3c9d4e7322f38f41e95324c.tar.gz
Qt-436ce764bada3e8fe3c9d4e7322f38f41e95324c.tar.bz2
Merge branch 4.7 into qt-master-from-4.7
Diffstat (limited to 'tests/auto/declarative/qdeclarativepathview/data/undefinedpath.qml')
-rw-r--r--tests/auto/declarative/qdeclarativepathview/data/undefinedpath.qml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativepathview/data/undefinedpath.qml b/tests/auto/declarative/qdeclarativepathview/data/undefinedpath.qml
new file mode 100644
index 0000000..5a647cb
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativepathview/data/undefinedpath.qml
@@ -0,0 +1,17 @@
+import QtQuick 1.0
+
+PathView {
+ id: pathView
+ width: 240; height: 200
+ path: Path {
+ startX: pathView.undef/2.0; startY: 0
+ PathLine { x: pathView.undef/2.0; y: 0 }
+ }
+
+ delegate: Text { text: value }
+ model: ListModel {
+ ListElement { value: "one" }
+ ListElement { value: "two" }
+ ListElement { value: "three" }
+ }
+}