aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/touchinteraction/pincharea
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-04-23 14:39:48 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-26 04:53:08 +0200
commita5336a0577b715edf49bef3794c6b1a8fa225a73 (patch)
treea7cc3ad59d7af572e1582aa9f8eb9546697a7e6c /examples/quick/touchinteraction/pincharea
parent5e62f313588dc81c7284c4eb451cb9ebe7f3c994 (diff)
More example docs
MouseArea, Threading and TouchInteraction Change-Id: I9ca812d20a6c87d68ef91066ae0a4b9bc8829478 Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'examples/quick/touchinteraction/pincharea')
-rw-r--r--examples/quick/touchinteraction/pincharea/flickresize.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quick/touchinteraction/pincharea/flickresize.qml b/examples/quick/touchinteraction/pincharea/flickresize.qml
index 037766e4a0..f5fb77c7ee 100644
--- a/examples/quick/touchinteraction/pincharea/flickresize.qml
+++ b/examples/quick/touchinteraction/pincharea/flickresize.qml
@@ -57,6 +57,7 @@ Rectangle {
property real initialWidth
property real initialHeight
+ //![0]
onPinchStarted: {
initialWidth = flick.contentWidth
initialHeight = flick.contentHeight
@@ -75,6 +76,7 @@ Rectangle {
// Move its content within bounds.
flick.returnToBounds()
}
+ //![0]
Rectangle {
width: flick.contentWidth