-
Notifications
You must be signed in to change notification settings - Fork 42
/
DisplayPanel.qml
54 lines (46 loc) · 1.1 KB
/
DisplayPanel.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
import QtQuick 2.0
import QtQuick.Layouts 1.1
import QtQuick.Controls 1.2
import QtQuick.Window 2.0
import Machinekit.Application.Controls 1.0
DisplayPanelBase {
id: root
DigitalReadOut {
Layout.fillWidth: true
}
TemperatureControl {
componentName: "fdm-hbp"
labelName: qsTr("Heated Bed")
logHeight: parent.height * 0.25
}
TemperatureControl {
componentName: "fdm-hbc"
labelName: qsTr("Heated Chamber")
logHeight: parent.height * 0.25
}
Repeater {
model: 10
TemperatureControl {
componentName: "fdm-e" + index
labelName: qsTr("Extruder %1").arg(index)
logHeight: parent.height * 0.25
}
}
Repeater {
model: 10
FanControl {
componentName: "fdm-f" + index
labelName: qsTr("Fan %1").arg(index)
}
}
Repeater {
model: 3
LightControl {
componentName: "fdm-l" + index
labelName: qsTr("Light %1").arg(index)
}
}
Item {
Layout.fillHeight: true
}
}