diff options
Diffstat (limited to 'tradeshow/iot-sensortag/resources')
-rw-r--r-- | tradeshow/iot-sensortag/resources/base/TopToolbar.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tradeshow/iot-sensortag/resources/base/TopToolbar.qml b/tradeshow/iot-sensortag/resources/base/TopToolbar.qml index 85dcb69..eb94cb2 100644 --- a/tradeshow/iot-sensortag/resources/base/TopToolbar.qml +++ b/tradeshow/iot-sensortag/resources/base/TopToolbar.qml @@ -171,6 +171,13 @@ Item { anchors.bottom: parent.bottom } + Timer { + interval: 60000 // Update time once a minute + running: true + repeat: true + onTriggered: timeLabel.text = Qt.formatTime(new Date, "HH:mm") + } + Text { text: "UTC/GMT" color: "white" |