summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/resources
diff options
context:
space:
mode:
Diffstat (limited to 'tradeshow/iot-sensortag/resources')
-rw-r--r--tradeshow/iot-sensortag/resources/base/TopToolbar.qml1
-rw-r--r--tradeshow/iot-sensortag/resources/watch/MainWatch.qml13
2 files changed, 14 insertions, 0 deletions
diff --git a/tradeshow/iot-sensortag/resources/base/TopToolbar.qml b/tradeshow/iot-sensortag/resources/base/TopToolbar.qml
index 3c92c05..bb0ecf9 100644
--- a/tradeshow/iot-sensortag/resources/base/TopToolbar.qml
+++ b/tradeshow/iot-sensortag/resources/base/TopToolbar.qml
@@ -175,6 +175,7 @@ Item {
id: utcGmt
text: "UTC/GMT"
color: "white"
+ visible: dateLabel.visible
anchors.left: timeLabel.right
anchors.leftMargin: 16
anchors.bottom: parent.bottom
diff --git a/tradeshow/iot-sensortag/resources/watch/MainWatch.qml b/tradeshow/iot-sensortag/resources/watch/MainWatch.qml
index 801c38b..5fd6153 100644
--- a/tradeshow/iot-sensortag/resources/watch/MainWatch.qml
+++ b/tradeshow/iot-sensortag/resources/watch/MainWatch.qml
@@ -236,5 +236,18 @@ Item {
height: 48
topbar.visible: false
date.visible: false
+ Image {
+ id: quit
+ source: "images/Toolbar/exit_button.png"
+ fillMode: Image.PreserveAspectFit
+ anchors.top: parent.top
+ anchors.right: parent.right
+ anchors.margins: 5
+ scale: 0.7
+ MouseArea {
+ anchors.fill: parent
+ onClicked: Qt.quit()
+ }
+ }
}
}