aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/demos
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@theqtcompany.com>2016-01-25 13:15:50 +0100
committerNico Vertriest <nico.vertriest@theqtcompany.com>2016-01-26 11:39:15 +0000
commit16eaec15e8878c4edaadeada6d3a42aa0bf1bc96 (patch)
treefa37f3b926da0c09c8808d250eb5814e58ef73fc /examples/quick/demos
parent9d584120493a1ec23a1ebeb6a134c00a96829545 (diff)
Doc: Corrected display qml code in photosurface.qdoc
Change-Id: Ic4e0dcc6bd91921cfea68e0cfe805e8369f58618 Task-number: QTBUG-49810 Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
Diffstat (limited to 'examples/quick/demos')
-rw-r--r--examples/quick/demos/photosurface/doc/src/photosurface.qdoc6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/quick/demos/photosurface/doc/src/photosurface.qdoc b/examples/quick/demos/photosurface/doc/src/photosurface.qdoc
index 52466843b4..a032d730eb 100644
--- a/examples/quick/demos/photosurface/doc/src/photosurface.qdoc
+++ b/examples/quick/demos/photosurface/doc/src/photosurface.qdoc
@@ -116,6 +116,7 @@
\quotefromfile demos/photosurface/photosurface.qml
\skipto Rectangle
+ \printuntil Component.onCompleted
\printuntil }
\section1 Handling Pinch Gestures
@@ -123,6 +124,7 @@
We use a PinchArea that contains a MouseArea in the photo frames to handle
dragging, rotation and pinch zooming of the frame:
+ \skipto PinchArea
\printuntil onPinchStarted
We use the \c pinch group property to control how the photo frames react to
@@ -137,13 +139,13 @@
frame is controlled in the \c onEntered signal handler to highlight the
selected image:
+ \skipto MouseArea
\printuntil onEntered
To enable you to test the example on the desktop, we use the MouseArea's
\c onWheel signal handler to simulate pinch gestures by using a mouse:
- \printuntil photoFrame.y
- \printuntil }
+ \printuntil photoFrame.scale
\printuntil }
\printuntil }