blob: 086e710b4821d1e38cd2112dd1124c54e84912b5 (
plain)
1
2
3
4
5
6
7
8
9
|
import QtQuick
TapHandler {
acceptedButtons: Qt.LeftButton | Qt.RightButton
onSingleTapped: (eventPoint, button) => {
console.log("Single tap at", eventPoint, "with button", button)
}
onTapped: console.log("tapped")
}
|