From b13cc1e98241cb729787743ad2e448fea5470c49 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Thu, 13 Feb 2014 12:52:37 +0200 Subject: Fix docs build after recent reordering of examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6aef7c7f0857606a035f1302000408cb7d4a11c1 Reviewed-by: Tomi Korpipää --- .../qmlsurfacelayers/doc/src/qmlsurfacelayers.qdoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'examples/datavisualization/qmlsurfacelayers') 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 \dots \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 */ -- cgit v1.2.3