SensorGesture QML Element exampleThis example demonstrates use of the SensorGesture QML element. To write a QML application that will use the gesture plugin you need to to the following steps: Import the QtSensors 5.x declarative plugin: Add the SensorGesture QML element into your qml file. Each SensorGesture QML element contains a property called gestures. In this example an alias 'gestureid' for this property is used. By using this alias property you define which gestures should be used: A list of all available gestures can be created by calling the 'availableGestures' property: Files: See also ShakeIt! QML Sensor Gestures Example and Qt Sensor Gestures. |