comp • gb.qt4 • mouse

Mouse (gb.qt4)

This class is used for getting information about a mouse event from another control, or about the mouse in general. It defines the constants used with the Mouse property.

See also

Examples for mouse events:

This class is static.

Static properties

Static methods Constants
Returns if the ALT key is pressed.
Alt  
Returns the mouse button state.
Button  
Returns if the CONTROL key is pressed.
Control  
Returns the delta value of a MouseWheel event.
Delta  
Return if the mouse wheel has been scrolled forward.
Forward  
Returns if the mouse left button is pressed.
Left  
Returns if the META key is pressed.
Meta  
Returns if the mouse middle button is pressed.
Middle  
Indicates that no special key was pressed.
Normal  
Returns the orientation of a MouseWheel event.
Orientation  
Returns if the mouse right button is pressed.
Right  
Returns the current absolute horizontal position of the cursor.
ScreenX  
Returns the current absolute vertical position of the cursor.
ScreenY  
Returns if the SHIFT key is pressed.
Shift  
Returns the value of Mouse.X at the beginning of the event.
StartX  
Returns the value of Mouse.Y at the beginning of the event.
StartY  
Return the state of the mouse buttons when the mouse event was generated.
State  
Returns the relative horizontal position of the cursor of a mouse event.
X  
Returns the relative vertical position of the cursor of a mouse event.
Y  
Return if the mouse cursor is inside a specific control.
Inside  
Moves the cursor on the screen at a specified position.
Move  
Translate the current mouse event by the specified distance.
Translate  
Constant used with the Mouse property of controls, indicating a cursor shape.
Arrow  
Constant used with the Mouse property of controls, indicating that a control displays no cursor.
Blank  
Constant used with the Mouse property of controls, indicating a cursor shape.
Cross  
Indicates that the mouse cursor of a control is a customed picture.
Custom  
Constant used with the Mouse property, indicating that a control displays the same cursor than its parent.
Default  
Indicate a horizontal mouse wheel event.
Horizontal  
Constant used with the Mouse property of controls, indicating a cursor shape.
Pointing  
Constant used with the Mouse property of controls, indicating a cursor shape.
SizeAll  
Constant used with the Mouse property of controls, indicating a cursor shape.
SizeE  
Constant used with the Mouse property of controls, indicating a cursor shape.
SizeH  
Constant used with the Mouse property of controls, indicating a cursor shape.
SizeN  
Constant used with the Mouse property of controls, indicating a cursor shape.
SizeNE  
Constant used with the Mouse property of controls, indicating a cursor shape.
SizeNESW  
Constant used with the Mouse property of controls, indicating a cursor shape.
SizeNW  
Constant used with the Mouse property of controls, indicating a cursor shape.
SizeNWSE  
Constant used with the Mouse property of controls, indicating a cursor shape.
SizeS  
Constant used with the Mouse property of controls, indicating a cursor shape.
SizeSE  
Constant used with the Mouse property of controls, indicating a cursor shape.
SizeSW  
Constant used with the Mouse property of controls, indicating a cursor shape.
SizeV  
Constant used with the Mouse property of controls, indicating a cursor shape.
SizeW  
Constant used with the Mouse property of controls, indicating a cursor shape.
SplitH  
Constant used with the Mouse property of controls, indicating a cursor shape.
SplitV  
Constant used with the Mouse property of controls, indicating a cursor shape.
Text  
Indicate a vertcial mouse wheel event.
Vertical  
Constant used with the Mouse property of controls, indicating a cursor shape.
Wait