aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickmousearea/data/moveAndReleaseWithoutPress.qml
blob: 6c68f0c7c8524694f883c787a2b13dad5675b4cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQuick 2.0

MouseArea {
    width: 200
    height: 200

    property bool hadMove: false
    property bool hadRelease: false

    onPressed: mouse.accepted = false
    onPositionChanged: hadMove = true
    onReleased: hadRelease = true
}