summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/resources/small/MainSmall.qml
diff options
context:
space:
mode:
authorOtto Ryynänen <otto.ryynanen@qt.io>2017-02-03 12:55:13 +0200
committerTitta Heikkala <titta.heikkala@qt.io>2017-02-03 12:21:58 +0000
commita1b4c4ad291ff531b6efe8fabe409dfaae3cc854 (patch)
tree9a3b0c0c0f17924276134432808221ebd0bbe46d /tradeshow/iot-sensortag/resources/small/MainSmall.qml
parent0a85dc729c5602c0914172bbf4b2b4e3171fcd85 (diff)
RotationPage added
Added a page that has three rotating disks. Current pictures are placeholders for final graphics. SensorTag can be recalibrated. Change-Id: I0666ab06e665d8c40861e170f36b09013b722973 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag/resources/small/MainSmall.qml')
-rw-r--r--tradeshow/iot-sensortag/resources/small/MainSmall.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tradeshow/iot-sensortag/resources/small/MainSmall.qml b/tradeshow/iot-sensortag/resources/small/MainSmall.qml
index 7cdc7fe..6d87009 100644
--- a/tradeshow/iot-sensortag/resources/small/MainSmall.qml
+++ b/tradeshow/iot-sensortag/resources/small/MainSmall.qml
@@ -145,8 +145,9 @@ Item {
width: rightPane.width
height: rightPane.height * 0.3 - 60
onClicked: {
- //mainContainer.source = "../base/GyroPage.qml";
+ mainContainer.source = "../base/RotationPage.qml";
gyroConnection.enabled = true;
+ sensor.recalibrate();
}
Connections {