diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-08-13 05:36:04 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-08-13 05:36:04 (GMT) |
commit | 5731119be208ffb7d2967746cea2df54424b7885 (patch) | |
tree | c70f8095c9af5f93b796d8ef87312a0dc6d85313 /demos | |
parent | efe66141d535d1741f302efff9248db726cd66b1 (diff) | |
download | Qt-5731119be208ffb7d2967746cea2df54424b7885.zip Qt-5731119be208ffb7d2967746cea2df54424b7885.tar.gz Qt-5731119be208ffb7d2967746cea2df54424b7885.tar.bz2 |
QGraphicsRotation3D has been merged into QGraphicsRotation.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/declarative/flickr/content/ImageDetails.qml | 2 | ||||
-rw-r--r-- | demos/declarative/flickr/flickr.qml | 4 | ||||
-rw-r--r-- | demos/declarative/flickr/flickr2.qml | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/demos/declarative/flickr/content/ImageDetails.qml b/demos/declarative/flickr/content/ImageDetails.qml index a18c230..8572fb3 100644 --- a/demos/declarative/flickr/content/ImageDetails.qml +++ b/demos/declarative/flickr/content/ImageDetails.qml @@ -21,7 +21,7 @@ Flipable { transform: Rotation3D { id: Rotation origin.x: Container.width / 2; - axis.y: 1; + axis.y: 1; axis.z: 0 } front: Item { diff --git a/demos/declarative/flickr/flickr.qml b/demos/declarative/flickr/flickr.qml index c0a1a87..8e1e3e8 100644 --- a/demos/declarative/flickr/flickr.qml +++ b/demos/declarative/flickr/flickr.qml @@ -33,9 +33,9 @@ Item { id: Wrapper; width: 85; height: 85 scale: Wrapper.PathView.scale; z: Wrapper.PathView.z - transform: Rotation3D { + transform: Rotation { id: Rotation; origin.x: Wrapper.width/2; origin.y: Wrapper.height/2 - axis.y: 1; angle: Wrapper.PathView.angle + axis.y: 1; axis.z: 0; angle: Wrapper.PathView.angle } Connection { diff --git a/demos/declarative/flickr/flickr2.qml b/demos/declarative/flickr/flickr2.qml index c972edf..f3b4244 100644 --- a/demos/declarative/flickr/flickr2.qml +++ b/demos/declarative/flickr/flickr2.qml @@ -36,8 +36,8 @@ Item { property real angle: 0 * 0 transform: [ - Rotation3D { - id: Rotation; origin.x: 30; axis.x: 30; axis.y: 60 + Rotation { + id: Rotation; origin.x: 30; axis.x: 30; axis.y: 60; axis.z: 0 angle: Wrapper.angle } ] |