path: root/examples/datavisualization/qmlsurfacelayers
diff options
authorMiikka Heikkinen <>2014-02-13 12:52:37 +0200
committerMiikka Heikkinen <>2014-02-13 13:01:25 +0200
commitb13cc1e98241cb729787743ad2e448fea5470c49 (patch)
tree203a86842fb42089dc405ed12e7fcd4c081ab036 /examples/datavisualization/qmlsurfacelayers
parent1549721eb6334752b71327e58f55ba014577f3b5 (diff)
Fix docs build after recent reordering of examples
Change-Id: I6aef7c7f0857606a035f1302000408cb7d4a11c1 Reviewed-by: Tomi Korpipää <>
Diffstat (limited to 'examples/datavisualization/qmlsurfacelayers')
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/datavisualization/qmlsurfacelayers/doc/src/qmlsurfacelayers.qdoc b/examples/datavisualization/qmlsurfacelayers/doc/src/qmlsurfacelayers.qdoc
index eab9f17f..eeb9e373 100644
--- a/examples/datavisualization/qmlsurfacelayers/doc/src/qmlsurfacelayers.qdoc
+++ b/examples/datavisualization/qmlsurfacelayers/doc/src/qmlsurfacelayers.qdoc
@@ -38,43 +38,43 @@
Let's start by creating a specific gradient for each layer:
- \snippet ../examples/qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 0
+ \snippet qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 0
Then we'll create the series themselves. It happens simply by adding 3 separate Surface3DSeries
to the Surface3D graph as children:
\dots 0
- \snippet ../examples/qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 1
+ \snippet qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 1
\dots 0
You'll notice we added the created gradients to the \c baseGradient properties of the series.
We could have added them to the \c baseGradients property of the Theme3D in Surface3D instead,
but doing it this way ensures each gradient is applied to a correct series:
- \snippet ../examples/qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 2
+ \snippet qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 2
\section1 Controlling the graph
Let's add some checkboxes to control the visibility of layers:
- \snippet ../examples/qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 3
+ \snippet qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 3
We don't need to do anything on the \c onCheckedChanged as we bound the \c checked state to
the \c visible property of the series directly:
\dots 0
- \snippet ../examples/qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 4
+ \snippet qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 4
\dots 0
Let's add some more checkboxes to control how the layers are displayed, when visible:
- \snippet ../examples/qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 5
+ \snippet qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 5
In addition to these we have two buttons, one of which is of special interest to us. It is used
to control whether we want to slice into only one layer, or all of them:
- \snippet ../examples/qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 6
+ \snippet qmlsurfacelayers/qml/qmlsurfacelayers/main.qml 6
\section1 Example contents