diff options
author | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2023-11-22 07:54:57 +0900 |
---|---|---|
committer | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2023-11-26 20:12:00 +0900 |
commit | cbb63f0e45340f6dd2cc9f360ed4da15c745186f (patch) | |
tree | 471935b3ce3238f7bb402942ba8c530cf7892500 /GUIModel/Header/Clock.qml | |
parent | 5b7127cac34bf44a9d9e58c02b44939955d50890 (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/Clock.qml')
-rw-r--r-- | GUIModel/Header/Clock.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/GUIModel/Header/Clock.qml b/GUIModel/Header/Clock.qml index 9462049..a17205b 100644 --- a/GUIModel/Header/Clock.qml +++ b/GUIModel/Header/Clock.qml @@ -126,4 +126,16 @@ Item{ visible: false } } + + Timer { + interval: 500 + repeat: true + running: true + onTriggered: { + var date = new Date; + timeHour = date.getHours(); + timeMinute = date.getMinutes(); + } + } + } |