summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/rotation.qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-26 01:37:00 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-26 01:37:00 (GMT)
commit133b1e641ba9245fe86feb9fc17f9906dee4d74f (patch)
treef03bf1d1e5aeb331c4c93c86b5087f6fba7abe9e /doc/src/snippets/declarative/rotation.qml
parent2b0cf3b6a2f1c49f40d6f50b4d24bdd87a4807fa (diff)
parent4fbd2ad6c90fa4946595c715dedf712d77350fb8 (diff)
downloadQt-133b1e641ba9245fe86feb9fc17f9906dee4d74f.zip
Qt-133b1e641ba9245fe86feb9fc17f9906dee4d74f.tar.gz
Qt-133b1e641ba9245fe86feb9fc17f9906dee4d74f.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.qml16
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]