Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativemousearea / data / doubleclick.qml
1 import QtQuick 1.0
2
3 Item {
4     id: root
5     property int clicked: 0
6     property int doubleClicked: 0
7     property int released: 0
8
9     MouseArea {
10         width: 200; height: 200
11         onClicked: { root.clicked++ }
12         onDoubleClicked: { root.doubleClicked++ }
13         onReleased: { root.released++ }
14     }
15 }
16