comp • gb.qt4 • pointer

Pointer (gb.qt4)

Since 3.3

This class allows to get information about tablet events.

This class is static.

Static properties

Constants
Return the pressure for the device.
Pressure  
Return the rotation of the current device in degrees.
Rotation  
Return the high precision X global position of the tablet device.
ScreenX  
Return the high precision Y global position of the tablet device.
ScreenY  
Return the device type as one of the following constant:
Type  
Return the high precision X position of the tablet device relative to the control.
X  
Return the angle between the device (a pen, for example) and the perpendicular in the direction of the X axis.
XTilt  
Return the high precision Y position of the tablet device relative to the control.
Y  
Return the angle between the device (a pen, for example) and the perpendicular in the direction of the Y axis.
YTilt  
Constant that represents the type of a cursor device.
Cursor  
Constant that represents the type of an eraser device.
Eraser  
Constant that represents the type of a mouse device.
Mouse  
Constant that represents the type of a pen device.
Pen