summaryrefslogtreecommitdiffstats
path: root/examples/datavisualization/rotations/doc/src/rotations.qdoc
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-12-12 09:47:32 +0100
committerMiikka Heikkinen <miikka.heikkinen@qt.io>2016-12-12 12:23:04 +0200
commit54910f8cf827d6f9474de9f6f88b3a158a058c56 (patch)
treef8b425821436f02d099299799f794d26345e0d5a /examples/datavisualization/rotations/doc/src/rotations.qdoc
parent470330e69b7ee34beb27ed905fcb923d9cfdae31 (diff)
parent21c82c7e0db0a567c11ed80eac955d86ad0e1dff (diff)
Merge remote-tracking branch 'origin/5.8' into dev
Conflicts: tests/auto/cpptest/q3dscene/tst_scene.cpp tests/auto/qmltest/scene3d/tst_scene.qml Change-Id: I0aef5e7d8fe202e7f4c7565922938d1627ab8124
Diffstat (limited to 'examples/datavisualization/rotations/doc/src/rotations.qdoc')
-rw-r--r--examples/datavisualization/rotations/doc/src/rotations.qdoc10
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/datavisualization/rotations/doc/src/rotations.qdoc b/examples/datavisualization/rotations/doc/src/rotations.qdoc
index a7e8245e..52db3c67 100644
--- a/examples/datavisualization/rotations/doc/src/rotations.qdoc
+++ b/examples/datavisualization/rotations/doc/src/rotations.qdoc
@@ -45,7 +45,9 @@
\image rotations-example.png
- \section1 Using rotations
+ \include examples-run.qdocinc
+
+ \section1 Using Rotations
In this example we want to orient the arrow items tangentially to the origin. This requires
rotating them, which can be achieved by specifying rotation quaternion to each item:
@@ -58,7 +60,7 @@
for Y-axis and one for Z-axis, and then multiply these together to get the total rotation,
which we set to the data item.
- \section1 Using custom item meshes
+ \section1 Using Custom Item Meshes
The narrow arrow mesh we use for magnetic field arrow items is not a standard mesh. Instead
we supply our own \c{narrowarrow.obj} file which contains the object definition for the mesh
@@ -66,7 +68,7 @@
\snippet rotations/scatterdatamodifier.cpp 3
- \section1 Using range gradient
+ \section1 Using Range Gradient
Setting the color style to range gradient in a series means that the item is colored according
to its relative Y-value on the visible Y-coordinate range. We want the arrows on the bottom
@@ -75,5 +77,5 @@
\snippet rotations/scatterdatamodifier.cpp 4
- \section1 Example contents
+ \section1 Example Contents
*/