blob: 0b520c3be3fc5f19dd97436bfe12cb3208b3ee43 (
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
|
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
ApplicationWindow {
width: 800
height: 600
ColumnLayout {
anchors.fill: parent
Rectangle {
Layout.fillWidth: true
Layout.fillHeight: true
color: mouseArea.pressed ? "tomato" : "steelblue"
MouseArea {
id: mouseArea
objectName: "mouseArea"
anchors.fill: parent
}
}
HorizontalHeaderView {
Layout.fillWidth: true
Layout.fillHeight: true
}
}
}
|