Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Control
Key
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Pointer (gb.qt4)

Since 3.3

This class allows to get information about tablet events.

This class is static.

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

Static properties
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.