diff options
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativepathview/test-pathview.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/qdeclarativepathview/test-pathview.qml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativepathview/test-pathview.qml b/tests/auto/declarative/qmlvisual/qdeclarativepathview/test-pathview.qml index 08499e76..25616049 100644 --- a/tests/auto/declarative/qmlvisual/qdeclarativepathview/test-pathview.qml +++ b/tests/auto/declarative/qmlvisual/qdeclarativepathview/test-pathview.qml @@ -2,7 +2,7 @@ import QtQuick 1.0 Rectangle { width: 580; height: 220 - + ListModel { id: rssModel ListElement { lColor: "red" } @@ -23,7 +23,7 @@ Rectangle { scale: wrapper.PathView.scale MouseArea { anchors.fill: parent } - + transform: Rotation { id: itemRotation; origin.x: wrapper.width/2; origin.y: wrapper.height/2 axis.y: 1; axis.z: 0; angle: wrapper.PathView.angle @@ -39,25 +39,25 @@ Rectangle { flickDeceleration: 200 path: Path { startX: -50; startY: 40; - + PathAttribute { name: "scale"; value: 0.5 } PathAttribute { name: "angle"; value: -45 } - + PathCubic { x: 300; y: 140 control1X: 90; control1Y: 30 control2X: 140; control2Y: 150 } - + PathAttribute { name: "scale"; value: 1.2 } PathAttribute { name: "angle"; value: 0 } - + PathCubic { x: 600; y: 30 control2X: 440; control2Y: 30 control1X: 420; control1Y: 150 } - + PathAttribute { name: "scale"; value: 0.5 } PathAttribute { name: "angle"; value: 45 } } |