MouseEvent QML Type
A mouse or touch event, such as movement, a tap, or a release. More...
Import Statement: | import Esri.ArcGISRuntime |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
Detailed Description
Note: You cannot declare or create a component of this type in QML code.
MouseEvent provides the location of the event translated into map coordinates.
See also QMouseEvent.
Property Documentation
button : int |
Returns the button that caused the mouse event (read-only).
For mouse move events, the value is always Qt.NoButton. Other options include Qt.LeftButton, Qt.RightButton, and Qt.MiddleButton.
buttons : int |
Returns the buttons pressed that caused the mouse event (read-only).
mapX : double |
Returns the x component of the x,y-coordinate of the corresponding map location (read-only).
mapY : double |
Returns the x component of the x,y-coordinate of the corresponding map location (read-only).
x : int |
Returns the x component of the x,y screen coordinates of this mouse event (read-only).
y : int |
Returns the y component of the x,y screen coordinates of this mouse event (read-only).