diff options
-rw-r--r-- | demos/declarative/flickr/content/ImageDetails.qml | 2 | ||||
-rw-r--r-- | demos/declarative/flickr/flickr.qml | 2 | ||||
-rw-r--r-- | demos/declarative/flickr/flickr2.qml | 2 | ||||
-rw-r--r-- | examples/declarative/clock/Clock.qml | 6 | ||||
-rw-r--r-- | examples/declarative/dial/DialLibrary/Dial.qml | 4 | ||||
-rw-r--r-- | examples/declarative/minehunt/minehunt.qml | 4 |
6 files changed, 10 insertions, 10 deletions
diff --git a/demos/declarative/flickr/content/ImageDetails.qml b/demos/declarative/flickr/content/ImageDetails.qml index 5e3460a..1649b44 100644 --- a/demos/declarative/flickr/content/ImageDetails.qml +++ b/demos/declarative/flickr/content/ImageDetails.qml @@ -20,7 +20,7 @@ Flipable { signal closed transform: Rotation3D { - originX: Container.width / 2; + origin.x: Container.width / 2; axis.y: 1; angle: Container.rotation; } diff --git a/demos/declarative/flickr/flickr.qml b/demos/declarative/flickr/flickr.qml index 72513a0..eba65c0 100644 --- a/demos/declarative/flickr/flickr.qml +++ b/demos/declarative/flickr/flickr.qml @@ -34,7 +34,7 @@ Item { scale: Wrapper.PathView.scale; z: Wrapper.PathView.z transform: [ - Rotation3D { id: Rotation; originX: 30; axis.x: 30; axis.y: 60; angle: Wrapper.PathView.angle } + Rotation3D { id: Rotation; origin.x: 30; axis.x: 30; axis.y: 60; angle: Wrapper.PathView.angle } ] Connection { diff --git a/demos/declarative/flickr/flickr2.qml b/demos/declarative/flickr/flickr2.qml index 36cf87e..136e604 100644 --- a/demos/declarative/flickr/flickr2.qml +++ b/demos/declarative/flickr/flickr2.qml @@ -37,7 +37,7 @@ Item { transform: [ Rotation3D { - id: Rotation; originX: 30; axis.x: 30; axis.y: 60 + id: Rotation; origin.x: 30; axis.x: 30; axis.y: 60 angle: Wrapper.angle } ] diff --git a/examples/declarative/clock/Clock.qml b/examples/declarative/clock/Clock.qml index 9720d0b..d73f7ca 100644 --- a/examples/declarative/clock/Clock.qml +++ b/examples/declarative/clock/Clock.qml @@ -26,7 +26,7 @@ Item { smooth: true transform: Rotation { id: HourRotation - originX: 4; originY: 45 + origin.x: 4; origin.y: 45 angle: 0 angle: Follow { spring: 2 @@ -42,7 +42,7 @@ Item { smooth: true transform: Rotation { id: MinuteRotation - originX: 4; originY: 70 + origin.x: 4; origin.y: 70 angle: 0 angle: Follow { spring: 2 @@ -58,7 +58,7 @@ Item { smooth: true transform: Rotation { id: SecondRotation - originX: 2; originY: 60 + origin.x: 2; origin.y: 60 angle: 0 angle: Follow { spring: 5 diff --git a/examples/declarative/dial/DialLibrary/Dial.qml b/examples/declarative/dial/DialLibrary/Dial.qml index e3ea530..eb9ed3a 100644 --- a/examples/declarative/dial/DialLibrary/Dial.qml +++ b/examples/declarative/dial/DialLibrary/Dial.qml @@ -12,7 +12,7 @@ Item { y: 35 source: "needle_shadow.png" transform: Rotation { - originX: 11; originY: 67 + origin.x: 11; origin.y: 67 angle: NeedleRotation.angle } } @@ -23,7 +23,7 @@ Item { source: "needle.png" transform: Rotation { id: NeedleRotation - originX: 7; originY: 65 + origin.x: 7; origin.y: 65 angle: -130 angle: Follow { spring: 1.4 diff --git a/examples/declarative/minehunt/minehunt.qml b/examples/declarative/minehunt/minehunt.qml index df5c077..e1f48ef 100644 --- a/examples/declarative/minehunt/minehunt.qml +++ b/examples/declarative/minehunt/minehunt.qml @@ -17,8 +17,8 @@ Item { height: 40 property int angle: 0; transform: Rotation3D { - originX: 20 - originY: 20 + origin.x: 20 + origin.y: 20 axis.x: 1 angle: flipable.angle; } |