blob: 7b37b4405089ae583d73b8cb7f385e97d5d6d80b (
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
25
26
27
28
29
30
31
32
|
import QtQuick
Rectangle{
id: mainWindow
visible: true
width: 800
height: 600
Column {
anchors.fill: parent
MouseArea {
width: parent.width
height: parent.height/3
hoverEnabled: true
}
MouseArea {
id: mouseArea
width: parent.width
height: parent.height/3
hoverEnabled: true
onExited: {
Window.window.close();
}
}
MouseArea {
width: parent.width
height: parent.height / 3
hoverEnabled: true
}
}
}
|