summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/resources/base
diff options
context:
space:
mode:
authorTitta Heikkala <titta.heikkala@qt.io>2017-02-14 08:44:07 +0200
committerTitta Heikkala <titta.heikkala@qt.io>2017-02-14 09:35:33 +0000
commitf8aa599c5d3acc3ca52010837e4cbf9935908135 (patch)
tree601aa99e6a6279e0de05301ecfb3dec9f3fb5bcd /tradeshow/iot-sensortag/resources/base
parent9ba4447a1cb2cf4b5d16a604012ddbb0a04e0328 (diff)
iot-sensortag: Add possibility to scan sensors
Added possibility to start scanning of sensors to SensorSettings. Change-Id: I1ebb5da22a4e98d6c2220bb6d51f17641c7821ec Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag/resources/base')
-rw-r--r--tradeshow/iot-sensortag/resources/base/SensorSettings.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tradeshow/iot-sensortag/resources/base/SensorSettings.qml b/tradeshow/iot-sensortag/resources/base/SensorSettings.qml
index bd13ef5..a2a8202 100644
--- a/tradeshow/iot-sensortag/resources/base/SensorSettings.qml
+++ b/tradeshow/iot-sensortag/resources/base/SensorSettings.qml
@@ -79,6 +79,11 @@ Rectangle {
anchors.horizontalCenter: parent.horizontalCenter
anchors.margins: 8
source: pathPrefix + "Toolbar/icon_topbar_sensor.png"
+
+ MouseArea {
+ anchors.fill: parent
+ onClicked: dataProviderPool.startScanning()
+ }
}
ListView {