-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPollPage.qml
57 lines (46 loc) · 1.16 KB
/
PollPage.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
import QtQuick 2.7
import QtQuick.Controls 2.2
import QtQuick.Controls.Material 2.1
Rectangle {
color: "#9E9E9E"
Card{
id: speedCard
anchors.top: parent.top
Component.onCompleted: {
setName("Speed: ");
setText("");
setFontSize(10);
setViewTool("The current Speed of the Motor")
}
}
Card{
id: currCard
anchors.top: speedCard.bottom
Component.onCompleted: {
setName("Current: ");
setText("");
setFontSize(10);
setViewTool("The Motor Current")
}
}
Card{
id: voltCard
anchors.top: currCard.bottom
Component.onCompleted: {
setName("Voltage: ");
setText("");
setFontSize(10);
setViewTool("The current Terminal Voltage")
}
}
Card{
id: heatCard
anchors.top: voltCard.bottom
Component.onCompleted: {
setName("Temperature: ");
setText("");
setFontSize(10);
setViewTool("The current Temperature of the Drive (not Motor)")
}
}
}