Mouse PressAndHold
Unsolved
QML and Qt Quick
-
In my understanding this is exact what onClicked does. From the online documentation:
"A click is defined as a press followed by a release, both inside the MouseArea (pressing, moving outside the MouseArea, and then moving back inside and releasing is also considered a click)."
MouseArea { anchors.fill: parent onClicked: console.log("released") onPressed: console.log("pressed") }