C

SinglePointTouchEvent Struct

struct Qul::Platform::SinglePointTouchEvent

A struct containing information related to a single point touch event. More...

Header: #include <platform/singlepointtoucheventdispatcher.h>

Public Variables

bool pressed
uint64_t timestamp
int x
int y

Detailed Description

See also Qul::Platform::SinglePointTouchEventDispatcher.

Member Variable Documentation

bool SinglePointTouchEvent::pressed

This variable holds whether the touch point is pressed or not.

When there are no longer any active touch points, a touch event with pressed set to false should be sent.

This documentation was introduced in Qt 1.4.

uint64_t SinglePointTouchEvent::timestamp

This variable holds the time at which the touch event occured.

This documentation was introduced in Qt 1.4.

int SinglePointTouchEvent::x

This variable holds the x position of the touch event, in screen coordinates.

This documentation was introduced in Qt 1.4.

int SinglePointTouchEvent::y

This variable holds the y position of the touch event, in screen coordinates.

This documentation was introduced in Qt 1.4.

Available under certain Qt licenses.
Find out more.