C
TouchPoint Struct
struct Qul::PlatformInterface::TouchPointRepresents single touch point. More...
Header: | #include <platforminterface/platforminterface.h> |
Since: | Qt Quick Ultralite (Platform) 1.5 |
Public Types
enum | State { Pressed, Moved, Stationary, Released } |
Public Variables
Member Type Documentation
[since Qt Quick Ultralite (Platform) 1.5]
enum TouchPoint::State
This enum type indicates the state of a single touch point
Constant | Value | Description |
---|---|---|
Qul::PlatformInterface::TouchPoint::Pressed | 0x01 | The touch point is pressed. |
Qul::PlatformInterface::TouchPoint::Moved | 0x02 | The touch point has moved. |
Qul::PlatformInterface::TouchPoint::Stationary | 0x04 | The touch point was stationary. |
Qul::PlatformInterface::TouchPoint::Released | 0x08 | The touch point was released. |
This enum was introduced or modified in Qt Quick Ultralite (Platform) 1.5.
Member Variable Documentation
[since Qt Quick Ultralite (Platform) 1.5]
float TouchPoint::areaX
Dimensions of the elliptical contact patch, unrotated, and centered at position in screen coordinates
This is the horizontal diameter.
This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.
[since Qt Quick Ultralite (Platform) 1.5]
float TouchPoint::areaY
Dimensions of the elliptical contact patch, unrotated, and centered at position in screen coordinates
This is the vertical diameter.
This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.
[since Qt Quick Ultralite (Platform) 1.5]
int TouchPoint::id
Id of this touch point.
This is currently unused and reserved to later use.
This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.
[since Qt Quick Ultralite (Platform) 1.5]
int TouchPoint::positionX
Position of this touch point on the X-axis.
This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.
[since Qt Quick Ultralite (Platform) 1.5]
int TouchPoint::positionY
Position of this touch point on the Y-axis.
This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.
[since Qt Quick Ultralite (Platform) 1.5]
float TouchPoint::pressure
Pressure applied to the touch point
Values range from 0 to 1.
This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.
[since Qt Quick Ultralite (Platform) 1.5]
float TouchPoint::rotation
Rotation applied to the elliptical contact patch
This documentation was introduced in Qt Quick Ultralite (Platform) 1.5.
Available under certain Qt licenses.
Find out more.