oif-qml 1.0
A QML plugin for the Open Input Framework gesture stack
GestureEvent Class Reference

An item that provides information about a gesture event. More...

List of all members.

Properties

bool accepted
 Setting accepted to false in the onGestureBegin handler causes the gesture to be rejected.
const list< Touchtouches
 This property holds the list of touches comprising the gesture.
const Gesture gesture
 This property holds a reference to the gesture subscription.
int id
 This property holds the ID of the gesture event.
Device device
 This property holds the information of the device.
const variant attributes
 This property holds a variant map of attributes of the gesture.

Detailed Description

An item that provides information about a gesture event.


Property Documentation

bool GestureEvent::accepted [read, write]

Setting accepted to false in the onGestureBegin handler causes the gesture to be rejected.

Other GestureArea items may accept the event, or the event may be rejected entirely, and the touch events may be reprocessed by the system. This property defaults to true.

const variant GestureEvent::attributes [read]

This property holds a variant map of attributes of the gesture.

All gesture attributes are available in this property. The keys may be referenced in the geis.h header file.

Device GestureEvent::device [read]

This property holds the information of the device.

const Gesture GestureEvent::gesture [read]

This property holds a reference to the gesture subscription.

int GestureEvent::id [read]

This property holds the ID of the gesture event.

const list< Touch > GestureEvent::touches [read]

This property holds the list of touches comprising the gesture.