aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickmousearea/data/containsMouseMasked.qml
blob: 35cfd4b7efc4e925da3db5d5e7bd648ba19cfd44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import QtQuick

Rectangle {
    width: 200
    height: 200
    visible: true
    MouseArea {
        id: mouseArea1
        objectName: "mouseArea1"
        anchors.fill: parent
        hoverEnabled: true
        visible: true
    }

    MouseArea {
        id: mouseArea2
        objectName: "mouseArea2"
        anchors.centerIn: mouseArea1
        width: 50
        height: 50
        hoverEnabled: true
        visible: true
    }
}