-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathRespirator.qml
62 lines (52 loc) · 1.29 KB
/
Respirator.qml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import QtQuick 2.12
import QtQuick.Controls 2.12
Rectangle {
color: "black"
width: 1280
height: 720
Image {
id: image
source: "qrc:///images/main-bg.png"
anchors.fill: parent
// transform: [
// Rotation {
// origin.x: image.width / 2
// origin.y: image.height / 2
// angle: -90
// }
// ]
}
Image {
id: pwrstate
source: "qrc:///images/Power-state.png"
anchors.top: parent.top; anchors.topMargin: 5
anchors.left: parent.left; anchors.leftMargin: 20
}
LeftArea {
id: leftm
anchors.top: pwrstate.bottom
anchors.topMargin: 7
anchors.left: parent.left
anchors.leftMargin: 20
// anchors.bottom: parent.bottom
// anchors.bottomMargin: 20
}
CenterArea {
id: centerm
anchors.left: leftm.right
anchors.leftMargin: 20
anchors.top: parent.top
anchors.topMargin: 0
//anchors.top: leftm.top
}
BottomArea {
id: bottomm
anchors.left: parent.left
anchors.top: centerm.bottom; anchors.topMargin: 30
}
RightArea {
id: right
anchors.top: parent.top
anchors.left: centerm.right
}
}