aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick1/qdeclarativepathview/data/pathview2.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qtquick1/qdeclarativepathview/data/pathview2.qml')
-rw-r--r--tests/auto/qtquick1/qdeclarativepathview/data/pathview2.qml57
1 files changed, 0 insertions, 57 deletions
diff --git a/tests/auto/qtquick1/qdeclarativepathview/data/pathview2.qml b/tests/auto/qtquick1/qdeclarativepathview/data/pathview2.qml
deleted file mode 100644
index 1e1e893a9c..0000000000
--- a/tests/auto/qtquick1/qdeclarativepathview/data/pathview2.qml
+++ /dev/null
@@ -1,57 +0,0 @@
-import QtQuick 1.0
-
-PathView {
- id: photoPathView
- y: 100; width: 800; height: 330; pathItemCount: 10; z: 1
-
- path: Path {
- startX: -50; startY: 40;
-
- PathAttribute { name: "scale"; value: 0.5 }
- PathAttribute { name: "angle"; value: -45 }
-
- PathCubic {
- x: 400; y: 220
- control1X: 140; control1Y: 40
- control2X: 210; control2Y: 220
- }
-
- PathAttribute { name: "scale"; value: 1.2 }
- PathAttribute { name: "angle"; value: 0 }
-
- PathCubic {
- x: 850; y: 40
- control2X: 660; control2Y: 40
- control1X: 590; control1Y: 220
- }
-
- PathAttribute { name: "scale"; value: 0.5 }
- PathAttribute { name: "angle"; value: 45 }
- }
-
- model: ListModel {
- id: rssModel
- ListElement { lColor: "red" }
- ListElement { lColor: "green" }
- ListElement { lColor: "yellow" }
- ListElement { lColor: "blue" }
- ListElement { lColor: "purple" }
- ListElement { lColor: "gray" }
- ListElement { lColor: "brown" }
- ListElement { lColor: "thistle" }
- }
-
- delegate: Component {
- id: photoDelegate
- Rectangle {
- id: wrapper
- width: 85; height: 85; color: lColor
- scale: wrapper.PathView.scale
-
- transform: Rotation {
- id: itemRotation; origin.x: wrapper.width/2; origin.y: wrapper.height/2
- axis.y: 1; axis.z: 0; angle: wrapper.PathView.angle
- }
- }
- }
-}