diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-04-23 14:39:48 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-26 04:53:08 +0200 |
commit | a5336a0577b715edf49bef3794c6b1a8fa225a73 (patch) | |
tree | a7cc3ad59d7af572e1582aa9f8eb9546697a7e6c /examples/quick/touchinteraction/multipointtouch | |
parent | 5e62f313588dc81c7284c4eb451cb9ebe7f3c994 (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/multipointtouch')
-rw-r--r-- | examples/quick/touchinteraction/multipointtouch/content/AugmentedTouchPoint.qml | 2 | ||||
-rw-r--r-- | examples/quick/touchinteraction/multipointtouch/multiflame.qml | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/examples/quick/touchinteraction/multipointtouch/content/AugmentedTouchPoint.qml b/examples/quick/touchinteraction/multipointtouch/content/AugmentedTouchPoint.qml index aede1a8f4e..74da7f1f37 100644 --- a/examples/quick/touchinteraction/multipointtouch/content/AugmentedTouchPoint.qml +++ b/examples/quick/touchinteraction/multipointtouch/content/AugmentedTouchPoint.qml @@ -40,6 +40,7 @@ import QtQuick 2.0 import QtQuick.Particles 2.0 +//! [0] TouchPoint { id: container property ParticleSystem system @@ -68,3 +69,4 @@ TouchPoint { goalState: "falling" } } +//! [0] diff --git a/examples/quick/touchinteraction/multipointtouch/multiflame.qml b/examples/quick/touchinteraction/multipointtouch/multiflame.qml index 72a0ce21f8..90640baaa4 100644 --- a/examples/quick/touchinteraction/multipointtouch/multiflame.qml +++ b/examples/quick/touchinteraction/multipointtouch/multiflame.qml @@ -45,6 +45,7 @@ Rectangle { height: 480 color: "black" +//! [0] MultiPointTouchArea { anchors.fill: parent minimumTouchPoints: 1 @@ -57,13 +58,16 @@ Rectangle { TouchPoint { id: touch31 } ] } +//! [0] +//! [1] ParticleFlame { color: "red" x: touch1.x y: touch1.y emitting: touch1.pressed } +//! [1] ParticleFlame { color: "green" x: touch2.x |