MouseEvent QML Type
Provides information about a touch event. More...
|Import Statement:||import QtQuick .|
|Since:||Qt Quick Ultralite 1.0|
See also MouseArea.
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
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.