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

An item that provides information about a touch point. More...

Inherits QDeclarativeItem.

Properties

int id
 This property holds the ID of the touch. More...
 
point location
 This property holds the coordinates of the touch. More...
 
const variant attributes
 This property holds a variant map of attributes of the touch. More...
 

Detailed Description

An item that provides information about a touch point.

Property Documentation

const variant Touch::attributes
read

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

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

int Touch::id
read

This property holds the ID of the touch.

point Touch::location
read

This property holds the coordinates of the touch.

For Indirect and Independent devices, the value is in device coordinates. For Direct devices, the value is in screen coordinates.