projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
QML_RUNTIME_TESTING should be disabled by default.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
quick
/
qquickmousearea
/
data
/
clickandhold.qml
1
import QtQuick 2.0
2
3
Item {
4
id: root
5
property bool clicked: false
6
property bool held: false
7
8
MouseArea {
9
width: 200; height: 200
10
onClicked: { root.clicked = true }
11
onPressAndHold: { root.held = true }
12
}
13
}