summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/resources/base/BaseChart.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tradeshow/iot-sensortag/resources/base/BaseChart.qml')
-rw-r--r--tradeshow/iot-sensortag/resources/base/BaseChart.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/tradeshow/iot-sensortag/resources/base/BaseChart.qml b/tradeshow/iot-sensortag/resources/base/BaseChart.qml
index d144916..bc850fc 100644
--- a/tradeshow/iot-sensortag/resources/base/BaseChart.qml
+++ b/tradeshow/iot-sensortag/resources/base/BaseChart.qml
@@ -54,7 +54,7 @@ import SensorTag.DataProvider 1.0
Item {
id: baseChart
- property var sensor: null
+ property var sensor: singleSensorSource
property string title
property alias contentItem: loader.item
property alias content: loader.sourceComponent
@@ -74,7 +74,7 @@ Item {
Image {
id: titleIcon
-
+ visible: Style.uiStyle == "small"
anchors.top: parent.top
source: pathPrefix + "General/icon_sensor.png"
}
@@ -148,6 +148,7 @@ Item {
axis.z: 0
angle: rightSide ? 180 : 0
}
+ visible: Style.uiStyle == "small"
}
MouseArea {