summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-11-05 06:58:49 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-11-05 06:58:49 (GMT)
commitcba11823806177b1b226d4685644d7a425f2bcf5 (patch)
treeec8298312f0b8c3a0bc333f1e02bb8dee953f501 /doc/src
parente6a682189c4cd7f291648b9190b68cce79106b86 (diff)
parent418e59135e1287d2e335ec4a3379a03e63895e3a (diff)
downloadQt-cba11823806177b1b226d4685644d7a425f2bcf5.zip
Qt-cba11823806177b1b226d4685644d7a425f2bcf5.tar.gz
Qt-cba11823806177b1b226d4685644d7a425f2bcf5.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/declarative/basictypes.qdoc21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/src/declarative/basictypes.qdoc b/doc/src/declarative/basictypes.qdoc
index 80ec211..0551443 100644
--- a/doc/src/declarative/basictypes.qdoc
+++ b/doc/src/declarative/basictypes.qdoc
@@ -233,4 +233,25 @@
\endqml
\c Child1, \c Child2 and \c Child3 will all be added to the children list
in the order in which they appear.
+
+ \target basicqmlvector3d
+ \section1 vector3d
+
+ A \c vector3d is specified in \c "x,y,z" format:
+
+ \qml
+ Rotation { angle: 60; axis: "0,1,0" }
+ \endqml
+
+ or with the \c{Qt.vector3d()} helper function:
+
+ \qml
+ Rotation { angle: 60; axis: Qt.vector3d(0, 1, 0) }
+ \endqml
+
+ or as separate \c x, \c y, and \c z components:
+
+ \qml
+ Rotation { angle: 60; axis.x: 0; axis.y: 1; axis.z: 0 }
+ \endqml
*/