aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick1/qdeclarativepathview/data/datamodel.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qtquick1/qdeclarativepathview/data/datamodel.qml')
-rw-r--r--tests/auto/qtquick1/qdeclarativepathview/data/datamodel.qml38
1 files changed, 0 insertions, 38 deletions
diff --git a/tests/auto/qtquick1/qdeclarativepathview/data/datamodel.qml b/tests/auto/qtquick1/qdeclarativepathview/data/datamodel.qml
deleted file mode 100644
index e2c4e3dd00..0000000000
--- a/tests/auto/qtquick1/qdeclarativepathview/data/datamodel.qml
+++ /dev/null
@@ -1,38 +0,0 @@
-import QtQuick 1.0
-
-PathView {
- id: pathview
- property int viewCount: count
- objectName: "pathview"
- width: 240; height: 320
- pathItemCount: testObject.pathItemCount
-
- function checkProperties() {
- testObject.error = false;
- if (testObject.useModel && pathview.model != testData) {
- console.log("model property incorrect");
- testObject.error = true;
- }
- }
-
- model: testObject.useModel ? testData : 0
-
- delegate: Component {
- id: myDelegate
- Rectangle {
- id: wrapper
- objectName: "wrapper"
- property bool onPath: PathView.onPath
- width: 20; height: 20; color: name
- Text {
- objectName: "myText"
- text: name
- }
- }
- }
-
- path: Path {
- startX: 120; startY: 20;
- PathLine { x: 120; y: 300 }
- }
-}