diff options
Diffstat (limited to 'tradeshow/iot-sensortag/resources/small/MainSmall.qml')
-rw-r--r-- | tradeshow/iot-sensortag/resources/small/MainSmall.qml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/tradeshow/iot-sensortag/resources/small/MainSmall.qml b/tradeshow/iot-sensortag/resources/small/MainSmall.qml index 4044b32..1f46093 100644 --- a/tradeshow/iot-sensortag/resources/small/MainSmall.qml +++ b/tradeshow/iot-sensortag/resources/small/MainSmall.qml @@ -70,6 +70,7 @@ Item { light.sensor = dataProviderPool.getProvider(SensorTagData.Light); magnetometer.sensor = dataProviderPool.getProvider(SensorTagData.Magnetometer); rotation.sensor = dataProviderPool.getProvider(SensorTagData.Rotation); + accelometer.sensor = dataProviderPool.getProvider(SensorTagData.Accelometer); } } @@ -136,21 +137,21 @@ Item { id: light width: rightPane.width - height: leftPane.height / 4 + height: rightPane.height / 4 } MagnetometerChart { id: magnetometer width: rightPane.width - height: leftPane.height * 0.3 + height: rightPane.height * 0.3 - 30 } GyroChart { id: rotation width: rightPane.width - height: leftPane.height * 0.3 + height: rightPane.height * 0.3 - 60 onClicked: { //mainContainer.source = "../base/GyroPage.qml"; gyroConnection.enabled = true; @@ -169,6 +170,13 @@ Item { } } } + + AccelChart { + id: accelometer + + width: rightPane.width + height: rightPane.height - light.height - magnetometer.height - rotation.height - 3 * rightPane.spacing + } } Loader { |