Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativemousearea / data / clickandhold.qml
1 import QtQuick 1.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 }