path: root/examples/datavisualization/qmlcustominput/doc/src
diff options
Diffstat (limited to 'examples/datavisualization/qmlcustominput/doc/src')
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/datavisualization/qmlcustominput/doc/src/qmlcustominput.qdoc b/examples/datavisualization/qmlcustominput/doc/src/qmlcustominput.qdoc
index 7702dadf..166826c3 100644
--- a/examples/datavisualization/qmlcustominput/doc/src/qmlcustominput.qdoc
+++ b/examples/datavisualization/qmlcustominput/doc/src/qmlcustominput.qdoc
@@ -33,9 +33,9 @@
The default input handling mechanism is disabled by setting the inputHandler property to null.
- \snippet ../examples/qmlcustominput/qml/qmlcustominput/main.qml 0
+ \snippet qmlcustominput/qml/qmlcustominput/main.qml 0
\dots 0
- \snippet ../examples/qmlcustominput/qml/qmlcustominput/main.qml 1
+ \snippet qmlcustominput/qml/qmlcustominput/main.qml 1
\dots 0
\section1 Implementing custom selection handling
@@ -44,16 +44,16 @@
The mouse area is configured to capture hover events and has two custom properties for \c mouseX and \c mouseY
to store the last known mouse coordinates.
- \snippet ../examples/qmlcustominput/qml/qmlcustominput/main.qml 2
+ \snippet qmlcustominput/qml/qmlcustominput/main.qml 2
Whenever a pointer movement related signal is received the code updates the \c mouseX and \c mouseY properties.
- \snippet ../examples/qmlcustominput/qml/qmlcustominput/main.qml 3
+ \snippet qmlcustominput/qml/qmlcustominput/main.qml 3
As the selection is one shot, and is cleared each time a 3D frame is rendered, a timer is setup to retrigger selection so that the selection moves to the item
currently under the mouse cursor as the camera animates around the graph even when the mouse cursor is not moving.
- \snippet ../examples/qmlcustominput/qml/qmlcustominput/main.qml 4
+ \snippet qmlcustominput/qml/qmlcustominput/main.qml 4
\section1 Implementing custom zoom handling
@@ -62,7 +62,7 @@
based on the current subrange.
- \snippet ../examples/qmlcustominput/qml/qmlcustominput/main.qml 5
+ \snippet qmlcustominput/qml/qmlcustominput/main.qml 5
\section1 Implementing custom camera handling
@@ -70,10 +70,10 @@
The camera is animated to constantly rotate around the graph with two animations. The rotation around the graph is done with
a simple NumberAnimation that just increments during 20 seconds from 0 degrees to 360 degrees and sets the \l Q3DCamera::xRotation property.
- \snippet ../examples/qmlcustominput/qml/qmlcustominput/main.qml 6
+ \snippet qmlcustominput/qml/qmlcustominput/main.qml 6
The camera movement up and down is implemented with a SequentialAnimation that varies the \l Q3DCamera::yRotation property of the camera
from 5 degrees to 45 degrees and back with in and out easing.
- \snippet ../examples/qmlcustominput/qml/qmlcustominput/main.qml 7
+ \snippet qmlcustominput/qml/qmlcustominput/main.qml 7