summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-05-01 02:00:15 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-05-01 02:00:15 (GMT)
commit27e71ee910f415e711961873c0985eaf9b2950f1 (patch)
tree8af5d12f3535b73e0b098187129a284dbf91e052 /doc
parent349d37aff07ac86c5b70f7ed76c2241b4c4f3637 (diff)
parente93e5076e11a7a9cfdd4b9cb1a2d4dbf1f579177 (diff)
downloadQt-27e71ee910f415e711961873c0985eaf9b2950f1.zip
Qt-27e71ee910f415e711961873c0985eaf9b2950f1.tar.gz
Qt-27e71ee910f415e711961873c0985eaf9b2950f1.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'doc')
-rw-r--r--doc/src/snippets/declarative/pics/qt.pngbin0 -> 514 bytes
-rw-r--r--doc/src/snippets/declarative/rotation.qml27
2 files changed, 27 insertions, 0 deletions
diff --git a/doc/src/snippets/declarative/pics/qt.png b/doc/src/snippets/declarative/pics/qt.png
new file mode 100644
index 0000000..cbed1a9
--- /dev/null
+++ b/doc/src/snippets/declarative/pics/qt.png
Binary files differ
diff --git a/doc/src/snippets/declarative/rotation.qml b/doc/src/snippets/declarative/rotation.qml
new file mode 100644
index 0000000..01838dd
--- /dev/null
+++ b/doc/src/snippets/declarative/rotation.qml
@@ -0,0 +1,27 @@
+Rect {
+ width: 360; height: 80
+ color: "white"
+//! [0]
+ HorizontalLayout {
+ margin: 10
+ spacing: 10
+ Image { source: "pics/qt.png" }
+ Image {
+ source: "pics/qt.png"
+ transform: Rotation3D { axis.startX: 30; axis.endX: 30; axis.endY: 60; angle: 18 }
+ }
+ Image {
+ source: "pics/qt.png"
+ transform: Rotation3D { axis.startX: 30; axis.endX: 30; axis.endY: 60; angle: 36 }
+ }
+ Image {
+ source: "pics/qt.png"
+ transform: Rotation3D { axis.startX: 30; axis.endX: 30; axis.endY: 60; angle: 54 }
+ }
+ Image {
+ source: "pics/qt.png"
+ transform: Rotation3D { axis.startX: 30; axis.endX: 30; axis.endY: 60; angle: 72 }
+ }
+ }
+//! [0]
+}