-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.qml
78 lines (73 loc) · 1.56 KB
/
main.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import QtQuick 2.9
import QtQuick.Window 2.2
Window {
visible: true
width: 800
height: 480
color: "#000000"
title: qsTr("Hello World")
Text {
id: temp
objectName: "temp"
x: 80
y: 73
width: 560
height: 289
color: "#fb6300"
text: qsTr("10.0")
font.letterSpacing: 0
style: Text.Sunken
font.weight: Font.Bold
font.family: "Arial"
font.italic: false
font.bold: false
renderType: Text.NativeRendering
font.pixelSize: 280
}
Text {
id: hum
objectName: "hum"
x: 587
y: 385
width: 128
height: 75
color: "#fb6300"
text: qsTr("10.0")
renderType: Text.NativeRendering
font.pixelSize: 60
}
Text {
id: temp1
objectName: "temp1"
x: 659
y: 123
width: 65
height: 65
color: "#fb6300"
text: qsTr("°C")
renderType: Text.NativeRendering
font.bold: false
font.weight: Font.Bold
font.pixelSize: 50
style: Text.Sunken
font.italic: false
font.family: "Arial"
}
Text {
id: temp2
x: 714
y: 390
width: 56
height: 65
color: "#fb6300"
text: qsTr("%")
renderType: Text.NativeRendering
font.italic: false
font.weight: Font.Bold
style: Text.Sunken
objectName: "temp1"
font.bold: false
font.pixelSize: 50
font.family: "Arial"
}
}