The MapMouseEvent object provides information about a mouse event. More...
This element was introduced in Mobility 1.2.
The position of the mouse can be found via the x and y properties or the coordinate property. The button that caused the event is available via the button property.
See also MapMouseArea.
accepted : bool |
Setting accepted to true prevents the mouse event from being propagated to items below this item.
Generally, if the item acts on the mouse event then it should be accepted so that items lower in the stacking order do not also respond to the same event.
This property group was introduced in Mobility 1.2.
read-onlybutton : enumeration |
This property holds the button that caused the event. It can be one of:
This property group was introduced in Mobility 1.2.
read-onlycoordinate : Coordinate |
This property holds the coordinate corresponding to the latitude and longitude of the position on the map at which the mouse event occurred.
This property group was introduced in Mobility 1.2.
read-onlymodifiers : int |
This property holds the keyboard modifier flags that existed immediately before the event occurred.
It contains a bitwise combination of:
This property group was introduced in Mobility 1.2.
These properties hold the screen coordinates of the position supplied by the mouse event.
This property group was introduced in Mobility 1.2.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.