-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.qml
More file actions
82 lines (77 loc) · 1.92 KB
/
main.qml
File metadata and controls
82 lines (77 loc) · 1.92 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import QtQuick 2.15
import QtQuick.Window 2.15
Window {
width: 1000
height: 800
visible: true
title: qsTr("Hello World")
color: "gray"
// Row {
// anchors.centerIn: parent
// spacing: 5
// Triangle {
// anchors.centerIn: parent
// color: "orange"
// height: 200
// width: 500
// rounded : true
// border {
// color: "blue"
// width: 10
// }
// align: Triangle.Align.Right
// }
// Triangle {
// anchors.centerIn: parent
// color: "green"
// height: 200
// width: 500
// rounded : false
// border {
// color: "purple"
// width: 10
// }
// align: Triangle.Align.Center
// }
// Triangle {
// anchors.centerIn: parent
// color: "blue"
// height: 200
// width: 500
// rounded : false
// border {
// color: "white"
// width: 10
// }
// align: Triangle.Align.Left
// }
// }
SpecialPopup {
id: poopup
Component.onCompleted: poopup.open()
body: Component {
Text {
text: "This is a text.\nThis is only a text of the emergency popup system."
font.pixelSize: 30
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
}
}
// SquishyBlock {
// height: 200
// width: 200
// anchors.centerIn: parent
// color: "orange"
// border {
// color: "red"
// width: 10
// }
// radius {
// topLeft: 25
// topRight: 50
// bottomRight: 75
// bottomLeft: 100
// }
// }
}