C
MouseEvent QML Type
Provides information about a touch event. More...
Import Statement: | import QtQuick |
Since: | Qt Quick Ultralite 1.0 |
Properties
Detailed Description
The position of the touch can be found via the x and y properties.
See also MouseArea.
Property Documentation
These properties hold the coordinates of the position supplied by the touch event.
accepted : bool |
Setting accepted to true in response to a pressed signal prevents the touch event from being propagated to items below this item.
Generally, if the item acts on the touch event then it should be accepted so that items lower in the stacking order do not also respond to the same event.
By default, accepted is true
.
wasHeld : bool |
This property is true if the press has been held longer than the threshold pressAndHoldInterval.
Available under certain Qt licenses.
Find out more.