summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/resources/base/TopToolbar.qml
diff options
context:
space:
mode:
authorTitta Heikkala <titta.heikkala@qt.io>2017-02-03 10:15:06 +0200
committerOtto Ryynänen <otto.ryynanen@qt.io>2017-02-03 08:34:06 +0000
commit0a85dc729c5602c0914172bbf4b2b4e3171fcd85 (patch)
treedbe9a7ed0efcddbc81d198073ca097c08052fa2f /tradeshow/iot-sensortag/resources/base/TopToolbar.qml
parentcb336e688db1242384c5ed95eeca247e85e799bf (diff)
iot-sensortag: Add dialog for sensor settings
Added new dialog for sensor settings. Change-Id: I1cb32984541dc20bb12e81fa645db4b24378554f Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag/resources/base/TopToolbar.qml')
-rw-r--r--tradeshow/iot-sensortag/resources/base/TopToolbar.qml17
1 files changed, 1 insertions, 16 deletions
diff --git a/tradeshow/iot-sensortag/resources/base/TopToolbar.qml b/tradeshow/iot-sensortag/resources/base/TopToolbar.qml
index 36117b3..ce982c6 100644
--- a/tradeshow/iot-sensortag/resources/base/TopToolbar.qml
+++ b/tradeshow/iot-sensortag/resources/base/TopToolbar.qml
@@ -57,27 +57,12 @@ Item {
height: 100
width: implicitWidth
- Rectangle {
+ SensorSettings {
id: sensorList
- property alias listModelCount: list.count
-
- width: 200
- height: 200
x: sensorItem.x
y: parent.height
- color: "darkgray"
visible: false
-
- ListView {
- id: list
- anchors.fill: parent
- model: dataProviderPool.dataProviders
- delegate: Text {
- text: providerId
- color: modelData.state === SensorTagData.Connected ? "blue" : "lightsteelblue"
- }
- }
}
Item {