blob: a6409e2e319cb134b6da399b5e32f193506ce117 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import QtQuick 1.0
Item {
id: root
property bool clicked: false
property bool held: false
MouseArea {
width: 200; height: 200
onClicked: { root.clicked = true }
onPressAndHold: { root.held = true }
}
}
|