summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/mockdataprovider.h
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/mockdataprovider.h
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/mockdataprovider.h')
-rw-r--r--tradeshow/iot-sensortag/mockdataprovider.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/tradeshow/iot-sensortag/mockdataprovider.h b/tradeshow/iot-sensortag/mockdataprovider.h
index 18b238a..5b70b16 100644
--- a/tradeshow/iot-sensortag/mockdataprovider.h
+++ b/tradeshow/iot-sensortag/mockdataprovider.h
@@ -69,12 +69,14 @@ public:
void setTagType(int tagType);
public slots:
- void oneSecondTimerExpired();
- void twentyMsTimerExpired();
+ void slowTimerExpired();
+ void rapidTimerExpired();
+protected:
+ void reset() {}
private:
- QTimer *oneSecondTimer;
- QTimer *twentyMillisecondTimer;
+ QTimer *slowUpdateTimer;
+ QTimer *rapidUpdateTimer;
float xAxisG;
float yAxisG;
float zAxisG;