diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-10-26 04:47:03 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-10-26 04:47:03 (GMT) |
commit | 64ca67183569a1a3b9dc1410dac5bbe8d5f56bb5 (patch) | |
tree | 2f6b2af80225ab3903f0cd53b9774783a652f760 /doc/src/snippets/declarative/rotation.qml | |
parent | 570fa7aece0ce149c22f7b804093f70c7cb1c999 (diff) | |
parent | bace980199f6578ef453c57128fe7f0659bfeddf (diff) | |
download | Qt-64ca67183569a1a3b9dc1410dac5bbe8d5f56bb5.zip Qt-64ca67183569a1a3b9dc1410dac5bbe8d5f56bb5.tar.gz Qt-64ca67183569a1a3b9dc1410dac5bbe8d5f56bb5.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'doc/src/snippets/declarative/rotation.qml')
-rw-r--r-- | doc/src/snippets/declarative/rotation.qml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/doc/src/snippets/declarative/rotation.qml b/doc/src/snippets/declarative/rotation.qml index aaaebee..4a67dcb 100644 --- a/doc/src/snippets/declarative/rotation.qml +++ b/doc/src/snippets/declarative/rotation.qml @@ -4,25 +4,29 @@ Rectangle { width: 360; height: 80 color: "white" //! [0] - HorizontalLayout { - margin: 10 + Row { + x: 10; y: 10 spacing: 10 Image { source: "pics/qt.png" } Image { source: "pics/qt.png" - transform: Rotation { origin.x: 30; axis.y: 60; axis.z: 0 angle: 18 } + transform: Rotation { origin.x: 30; origin.y: 30; axis { x: 0; y: 1; z: 0 } angle: 18 } + smooth: true } Image { source: "pics/qt.png" - transform: Rotation { origin.x: 30; axis.y: 60; axis.z: 0 angle: 36 } + transform: Rotation { origin.x: 30; origin.y: 30; axis { x: 0; y: 1; z: 0 } angle: 36 } + smooth: true } Image { source: "pics/qt.png" - transform: Rotation { origin.x: 30; axis.y: 60; axis.z: 0; angle: 54 } + transform: Rotation { origin.x: 30; origin.y: 30; axis { x: 0; y: 1; z: 0 } angle: 54 } + smooth: true } Image { source: "pics/qt.png" - transform: Rotation { origin.x: 30; axis.y: 60; axis.z: 0; angle: 72 } + transform: Rotation { origin.x: 30; origin.y: 30; axis { x: 0; y: 1; z: 0 } angle: 72 } + smooth: true } } //! [0] |