aboutsummaryrefslogtreecommitdiffstats
path: root/GUIModel/Header/Header.qml
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-11-22 07:54:57 +0900
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-11-26 20:12:00 +0900
commitcbb63f0e45340f6dd2cc9f360ed4da15c745186f (patch)
tree471935b3ce3238f7bb402942ba8c530cf7892500 /GUIModel/Header/Header.qml
parent5b7127cac34bf44a9d9e58c02b44939955d50890 (diff)
Support for cluster api binding
Existing AGL Instrument Cluster is not implement cluster service only a framework library. This task aim to support cluster service. In 1st step, cluster-refgui will be controlled by cluster-service demo signal. This patch a part of this task. Bug-AGL: SPEC-4991 Change-Id: I1dfdf3a6b9691f536bb96cd197feac89f4137540 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
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;
+ }
}