Pointer (gb.qt4)

Desde 3.3

This class allows to get information about tablet events.

Esta clase es estática.

Constantes
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.

Propiedades estáticas
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.