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

Rectangle {
    width: 200
    height: 200
    visible: true
    MouseArea {
        id: mouseArea
        objectName: "mouseArea"
        anchors.fill: parent
        hoverEnabled: false
        onPressed: function(mouse) { mouse.accepted = false }
    }
}