summaryrefslogtreecommitdiffstats
path: root/GUIModel/Header/Header.qml
diff options
context:
space:
mode:
Diffstat (limited to 'GUIModel/Header/Header.qml')
-rw-r--r--GUIModel/Header/Header.qml22
1 files changed, 22 insertions, 0 deletions
diff --git a/GUIModel/Header/Header.qml b/GUIModel/Header/Header.qml
index 3c54765..e1ee62f 100644
--- a/GUIModel/Header/Header.qml
+++ b/GUIModel/Header/Header.qml
@@ -68,4 +68,26 @@ Item {
visible: true
}
}
+
+ function setTurnLOn() {
+ turn_l_on.visible = true;
+ turn_l_off.visible = false;
+ }
+ function setTurnLOff() {
+ turn_l_on.visible = false;
+ turn_l_off.visible = true;
+ }
+
+ function setTurnROn() {
+ turn_r_on.visible = true;
+ turn_r_off.visible = false;
+ }
+ function setTurnROff() {
+ turn_r_on.visible = false;
+ turn_r_off.visible = true;
+ }
+
+ function setTemp(temp_val) {
+ outsideTemperature.tempValue = temp_val;
+ }
}