aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/touchinteraction/touchinteraction.qml
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2012-03-05 15:02:09 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-20 06:49:30 +0100
commit386e56ff336fe956f4d44946edab275b7244a4ca (patch)
treece459a1398a7020f73b55a7a00a194e4753d644e /examples/quick/touchinteraction/touchinteraction.qml
parent738d3a99db5aeed0fccbef78aeec0a98d426fbad (diff)
Update touchinteraction examples to new guidelines
Includes adding flickable examples Change-Id: Ie1a47882bcb8b671f162b2b778dad33ce105407b Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'examples/quick/touchinteraction/touchinteraction.qml')
-rw-r--r--examples/quick/touchinteraction/touchinteraction.qml21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/quick/touchinteraction/touchinteraction.qml b/examples/quick/touchinteraction/touchinteraction.qml
index b4a930c495..0be625a160 100644
--- a/examples/quick/touchinteraction/touchinteraction.qml
+++ b/examples/quick/touchinteraction/touchinteraction.qml
@@ -41,6 +41,25 @@
import QtQuick 2.0
import "../../shared"
+/*!
+ \title QtQuick Examples - Touch Interaction
+ \example qtquick/touchinteraction
+ \brief This is a collection of QML Touch Interaction examples.
+ \image qml-touchinteraction-example.png
+
+ This is a collection of small QML examples relating to touch interaction methods.
+
+ Multipoint Flames demonstrates distinguishing different fingers in a MultiPointTouchArea, by assignning a different colored flame to each touch point.
+
+ Bear-Whack demonstrates using a MultiPointTouchArea to add multiple finger support to a simple game.
+
+ Flick Resize uses a PinchArea to allow Pinch-to-Resize behavior.
+
+ Flickable is a simple example demonstrating the Flickable element.
+
+ Corkboards shows a more complex Flickable usecase, with elements on the flickable that respond to mouse and keyboard interaction.
+*/
+
Item {
height: 480
width: 320
@@ -51,6 +70,8 @@ Item {
addExample("Multipoint Flames", "Create multiple flames with multiple fingers", Qt.resolvedUrl("multipointtouch/multiflame.qml"));
addExample("Bear-Whack", "Use multiple touches to knock all the bears down", Qt.resolvedUrl("multipointtouch/bearwhack.qml"));
addExample("Flick Resize", "Manipulate images using pinch gestures", Qt.resolvedUrl("pincharea/flickresize.qml"));
+ addExample("Flickable", "A viewport you can move with touch gestures", Qt.resolvedUrl("flickable/basic-flickable.qml"));
+ addExample("Corkboards", "Uses touch input on items inside a Flickable", Qt.resolvedUrl("flickable/corkboards.qml"));
}
}
}