From a1b4c4ad291ff531b6efe8fabe409dfaae3cc854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20Ryyn=C3=A4nen?= Date: Fri, 3 Feb 2017 12:55:13 +0200 Subject: 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 --- tradeshow/iot-sensortag/resources/small/MainSmall.qml | 3 ++- .../resources/small/images/Gyro/particle.png | Bin 0 -> 870 bytes .../resources/small/images/Gyro/ring_large.png | Bin 0 -> 387182 bytes .../resources/small/images/Gyro/ring_medium.png | Bin 0 -> 263861 bytes .../resources/small/images/Gyro/ring_outer.png | Bin 0 -> 253803 bytes .../resources/small/images/Gyro/ring_small.png | Bin 0 -> 225215 bytes 6 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 tradeshow/iot-sensortag/resources/small/images/Gyro/particle.png create mode 100644 tradeshow/iot-sensortag/resources/small/images/Gyro/ring_large.png create mode 100644 tradeshow/iot-sensortag/resources/small/images/Gyro/ring_medium.png create mode 100644 tradeshow/iot-sensortag/resources/small/images/Gyro/ring_outer.png create mode 100644 tradeshow/iot-sensortag/resources/small/images/Gyro/ring_small.png (limited to 'tradeshow/iot-sensortag/resources/small') 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 { diff --git a/tradeshow/iot-sensortag/resources/small/images/Gyro/particle.png b/tradeshow/iot-sensortag/resources/small/images/Gyro/particle.png new file mode 100644 index 0000000..d86fc96 Binary files /dev/null and b/tradeshow/iot-sensortag/resources/small/images/Gyro/particle.png differ diff --git a/tradeshow/iot-sensortag/resources/small/images/Gyro/ring_large.png b/tradeshow/iot-sensortag/resources/small/images/Gyro/ring_large.png new file mode 100644 index 0000000..fcd1cdc Binary files /dev/null and b/tradeshow/iot-sensortag/resources/small/images/Gyro/ring_large.png differ diff --git a/tradeshow/iot-sensortag/resources/small/images/Gyro/ring_medium.png b/tradeshow/iot-sensortag/resources/small/images/Gyro/ring_medium.png new file mode 100644 index 0000000..14924cc Binary files /dev/null and b/tradeshow/iot-sensortag/resources/small/images/Gyro/ring_medium.png differ diff --git a/tradeshow/iot-sensortag/resources/small/images/Gyro/ring_outer.png b/tradeshow/iot-sensortag/resources/small/images/Gyro/ring_outer.png new file mode 100644 index 0000000..4d4d803 Binary files /dev/null and b/tradeshow/iot-sensortag/resources/small/images/Gyro/ring_outer.png differ diff --git a/tradeshow/iot-sensortag/resources/small/images/Gyro/ring_small.png b/tradeshow/iot-sensortag/resources/small/images/Gyro/ring_small.png new file mode 100644 index 0000000..d281f93 Binary files /dev/null and b/tradeshow/iot-sensortag/resources/small/images/Gyro/ring_small.png differ -- cgit v1.2.3