Pointer (gb.qt4)

Sinds 3.3

This class allows to get information about tablet events.

Deze klasse is statisch.

Constanten
Cursor   Constant that represents the type of a cursor device.
Eraser   Constant that represents the type of an eraser device.
Mouse   Constant that represents the type of a mouse device.
Pen   Constant that represents the type of a pen device.

Statische eigenschappen
Pressure   Return the pressure for the device.
Rotation   Return the rotation of the current device in degrees.
ScreenX   Return the high precision X global position of the tablet device.
ScreenY   Return the high precision Y global position of the tablet device.
Type   Return the device type as one of the following constant:
X   Return the high precision X position of the tablet device relative to the control.
XTilt   Return the angle between the device (a pen, for example) and the perpendicular in the direction of the X axis.
Y   Return the high precision Y position of the tablet device relative to the control.
YTilt   Return the angle between the device (a pen, for example) and the perpendicular in the direction of the Y axis.