summaryrefslogtreecommitdiffstats
path: root/tradeshow
Commit message (Collapse)AuthorAgeFilesLines
* iot-sensortag: Remove transparent image from object temperatureTitta Heikkala2017-02-241-36/+5
| | | | | | | The transparent image is not needed for object temperature cauge. Change-Id: I8880f0ef3c84a382a7bfc9cdaf867e901fbf6219 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Remove Glow effectTitta Heikkala2017-02-243-25/+7
| | | | | | | Glow effect removed from ChartView elements. Change-Id: I4a020c783c715c45c8d10663c8f2828d7f10bdd5 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Remove unused SensorTag.qmlKari Hautamäki2017-02-242-253/+0
| | | | | | | Remove the unused file Change-Id: I1822fb06885cbe26a2506860ad27dbfffb18c3b7 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Update Humidity imageTitta Heikkala2017-02-231-0/+0
| | | | | | | Image for Humidity Chart updated. Change-Id: I3343354bdc7c5f5d76e6869b874dd33f58846c54 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Clean up onSensorChanged signal handlersTitta Heikkala2017-02-226-77/+34
| | | | | | | | Removed onSensorChanged signal handlers from charts as they are not needed. Instead, react to changes of sensor properties. Change-Id: Ib848d3ddfeed550538d35793b24eeb137a57a171 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Upate GyroChart graph when reading from the Azure cloudKari Hautamäki2017-02-211-0/+6
| | | | | | | | | Send the aggregate signal rotationValuesChanged when a changed rotation value is read from the Azure cloud. SeriesStorage uses this signal to update the series data. Change-Id: I879f1e7c3b625541156fe909473397d7d40148bf Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Add missing files for MockDataProviderPoolKari Hautamäki2017-02-212-0/+169
| | | | | | | | The commit 22ca8687ef2c4ebbbc8d40fd41b45335b0058418 had missing files for MockDataProviderPool. Add the missing files here Change-Id: Ib49d120d107428079686e474fd9f06bdddbdcf8f Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Fix build for AndroidKari Hautamäki2017-02-211-0/+2
| | | | | | | | Add namespace directive QT_CHARTS_USE_NAMESPACE to seriesstorage.h Change-Id: I4b96cfced5aa70700d97af97ff1a739415102f18 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Add MockDataProviderPoolKari Hautamäki2017-02-212-9/+9
| | | | | | | | | | | Add MockDataProviderPool that derives directly from SensorTagDataProviderPool. This allows building for Android without a dependency to SensorTagDataProviderPool that can be used only when a device runs in host mode Change-Id: I3ff6fe36b80a4ee5dfe9815c811cc6bf016e3e6d Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* Fix warningMaurice Kalinowski2017-02-201-2/+3
| | | | | | | Also add initializer for yAxisG. Change-Id: If2518de5463ab509b8d58b20ead288374558cd5e Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Remove platform name from variableMaurice Kalinowski2017-02-201-2/+2
| | | | | | | | The demo can also run on other platforms than linux. Hence the old name is misleading. Change-Id: I8345c93be552c6e8fc614a517528a8e45b5d1381 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* Remove hardcoded pathsMaurice Kalinowski2017-02-201-10/+15
| | | | | | | | User has to specify location for cpprest and wastorage when invoking qmake Change-Id: Ib0b3b7b0e648022c73ca1f942ebbc423b6f3caf6 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Change to more details cloud namingMaurice Kalinowski2017-02-202-5/+5
| | | | | | | | | In case additional protocols get added, cloud can be a confusing and to generic name. Change-Id: I3ff4ac0178e017c42684514a1923e718bb1fe5b7 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Remove unnecessary importTitta Heikkala2017-02-171-1/+0
| | | | | | | Remove Particles import as it's no longer needed. Change-Id: If55f643b31f43db6df9be166d24bad72a4304c2b Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Change Magnetometer chart typeTitta Heikkala2017-02-176-58/+37
| | | | | | | | Magnetometer chart changed from polar chart view to chart view. Also changed the series to LineSeries. Change-Id: Ibdf2dc1c86e63fd20caa8d3c1a09377ea6de8f4b Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
* iot-sensortag: BluetoothDevice: Use m_ notation for membersOliver Wolff2017-02-162-102/+102
| | | | | | Change-Id: I63252362c7e9a5026b5c59802919ea840cb5356c Reviewed-by: Titta Heikkala <titta.heikkala@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: BluetoothDevice: Remove unused membersOliver Wolff2017-02-162-26/+4
| | | | | | Change-Id: I6b3467541950df284f37d3b823c9fdfb535593ce Reviewed-by: Titta Heikkala <titta.heikkala@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Remove unused CharacteristicInfoOliver Wolff2017-02-164-242/+2
| | | | | | Change-Id: I473c28d7c6d19e633623a30d6ca8d4edd07423b2 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* Move series updates to C++Maurice Kalinowski2017-02-168-58/+321
| | | | | | | | | | | Instead of jumping to and from the QML engine for each sensor update, rather stay inside C++ and let QML only do the visual updates. This only updates the items which use Charts, as updates to a series is expensive. Change-Id: Idc7a98d2865e7095264f226c0ac5bbb5a977d18a Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Update the timeTitta Heikkala2017-02-161-0/+7
| | | | | | | Add a timer to update the time. Change-Id: I1ec817c15f4609c6c362481d2c5276b2dc167cca Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Fix UI based on findings on Android deviceTitta Heikkala2017-02-164-19/+15
| | | | | | | | Minor changes done to UI based on findings on Nexus 7. Change-Id: I3e7496578a03ab059e0ba0b99f7f97ac2c91a8e5 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* Mark accessors as constMaurice Kalinowski2017-02-154-90/+91
| | | | | | Change-Id: I32afa9f74e428ee7c19369aad173c72f193f526f Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* Remove dead codeMaurice Kalinowski2017-02-151-1/+0
| | | | | | Change-Id: If1af7fd6b88bccaccfe0a990e46e5ada96574736 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* cleanup enabling range-forMaurice Kalinowski2017-02-154-23/+24
| | | | | | | | | foreach is considered harmful since 5.7 and will be deprecated with 5.9. Add QT_NO_FOREACH to forbid accidental addition later on. Change-Id: I652975c3454fdb7987cf8ea609d490476e9e7624 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* Fix mock backendMaurice Kalinowski2017-02-152-1/+4
| | | | | | | | | Signals were not emitted and wrong function call to mimick end of scanning. Change-Id: Ic418b3d636615e464b8e406f0e31f37a70354870 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: "Fix" isDeviceReadyOliver Wolff2017-02-152-12/+16
| | | | | | | | | The name suggests a const function so we either have to come up with a new name that describes the current functionality or move the state change out of the function. Decided for the latter. Change-Id: Ifab2689b8a3ec054222f40708e1eb2d1576a6a08 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Fix infrared temperature service uuidOliver Wolff2017-02-151-1/+1
| | | | | Change-Id: I9f5842272311e77dea066a6f73d09366c8ab529b Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Fix compile errorTitta Heikkala2017-02-152-2/+2
| | | | | | | isDeviceReady() function can't be const because it changes the state. Change-Id: I05fe26aad80b7aaede42bf26c7aba6b9c9c299f3 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* iot-sensortag: Add sensor tag setup for Embedded WorldKari Hautamäki2017-02-1510-49/+344
| | | | | | | | - Added two sensor tags with unique capabilities by faking that each provide only a subset of available sensor data Change-Id: I9b7ad9f7b41ea7c5abaad0bc3fbe063219b19a9e Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Use dedicated slots for characteristic changesOliver Wolff2017-02-142-31/+37
| | | | | | | | By using a dedicated slot for each kind of sensor we can avoid one indirection and get rid of the characteristic handle members. Change-Id: I5da16fd4fab55c4085aa1ed141b69a3c442b8fb3 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Remove m_characteristicsOliver Wolff2017-02-142-45/+0
| | | | | | | | m_characteristics and related functions and signals are not used anywhere so they can be removed. Change-Id: I0e5e0808be4b308687a806ea43492c251d9122f8 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Rework service discoveryOliver Wolff2017-02-142-66/+60
| | | | | | | | | Instead of iterating over the list of the controller's services after discovery is finished, handle the found services one by one when the according serviceDiscovered signal is emitted. Change-Id: I84d879059222189fb106e085bd9f2e4d3cb44bb5 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Remove unused m_servicesOliver Wolff2017-02-142-134/+68
| | | | | | | | Neither m_services nor signals functions that use this member are used anywhere in the code so they can safely be removed. Change-Id: I3c5ff95499e5012b9c6e7d608a6feceb9d45fe7c Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Avoid loops during sensor initializationOliver Wolff2017-02-141-77/+114
| | | | | | | | | Instead of iterating over service characteristics and their descriptors we should access the needed characteristics and descriptors directly. Change-Id: I5e14c5d24175ed73ed9396379a6f97360189cc8a Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Do not hardcode characteristic handlesOliver Wolff2017-02-142-15/+17
| | | | | | | | | | Depending on the tag's firmware version the characteristics' handle values might be different. Following TI's advice we should do a proper lookup instead of hardcoding them. Change-Id: I95934e554563e99118fc8ffe87de44e87d409ecf Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Add possibility to scan sensorsTitta Heikkala2017-02-143-0/+11
| | | | | | | Added possibility to start scanning of sensors to SensorSettings. Change-Id: I1ebb5da22a4e98d6c2220bb6d51f17641c7821ec Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
* iot-sensortag: Use OpenGL with all chartsTitta Heikkala2017-02-142-0/+6
| | | | | | | Gyro and MAgnetometer charts are updated to use OpenGL for series. Change-Id: Ib4f7e3c7e4bdf5015484f3849cc99ad9c1490f5f Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
* iot-sensortag: Fix RotationPage 'no rotation' bugKari Hautamäki2017-02-102-13/+13
| | | | | | | | | - Conditional binding to sensor values only when sensor is available - Set and recalibrate sensor for RotationPage when the sensor becomes available Change-Id: I3729faa482abdd17bf0d0a850a3eef528cd5a6b6 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Hide menus by clicking outsideKari Hautamäki2017-02-101-5/+34
| | | | | | | | Add a fullscreen MouseArea that is used to close a menu when clicked outside of the menu Change-Id: I1479519f6f14be56c12445b92b0c05d519dc7f01 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Add option to enable deploying resources to the file systemKari Hautamäki2017-02-092-9/+40
| | | | | | | | | | | Add a config flag to the project file that controls how resources are deployed with the binary. By default they are included in the binary but it is also possible to deploy them to the file system. This option is needed as Qt5.7.1 and and Qt5.8 fail to load QML files from resource files on some platforms (e.g. RPi3). Change-Id: I7e1e938ac829d01ac6117e04bbaef053daf15154 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Make central gyro visible always and calibratableTitta Heikkala2017-02-092-19/+11
| | | | | | | | Central gyro page is visible always. It is also possible to recalibrate the gyro sensor by clicking the GyroChart. Change-Id: I9805411e03d49571b9e392bcd77a9469aef153a0 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Update graphics for LightChart and RotationPageTitta Heikkala2017-02-0913-98/+18
| | | | | | | | Light gauge image updated. Gyro ring images updated for RotationPage. Particles removed for now. Change-Id: I3db8fc37685ba5d70c13685daa7b0ee61263046c Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Zero level altitude in mock data providerKari Hautamäki2017-02-093-10/+26
| | | | | | | | - Zero level for altitude is set in mock data provider - Fix alignment problem in AltitudeChart Change-Id: I67f1ef9296201a0990cd17d79f33971441e15b32 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Add all states to sensor settingsTitta Heikkala2017-02-081-2/+6
| | | | | | | Added 'Scanning' and 'Error' states to sensor settings. Change-Id: Ib207170c00994873bbfcbf86cb6aaa541bf93101 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Fix alignment of graph in TemperatureChartKari Hautamäki2017-02-081-2/+1
| | | | | | | | - Chart data is correctly aligned vertically - remove unused (and bound in wrong way) avgValue Change-Id: I6adf7cfdbc3b13e54b982f6c50e2ae426ffadea6 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Visual style updated for most of the chartsKari Hautamäki2017-02-0833-220/+271
| | | | | | | | | | - Updated appearance and graphics of ambient and object temperature, air pressure, humidity and light charts. - Removed AirPressure chart - Added Altitude chart - Added altitude information to SensorTagData and derived classes Change-Id: Ief8eb9dd4f87f967b037eed3e9a4dd12c3c6efc9 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Added initial version of CloudSettings dialogTitta Heikkala2017-02-086-5/+135
| | | | | | | A new dialog added for cloud settings. Change-Id: I4064a9b1658237911e373aa32567d34f6bb2583d Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* emit providerForCloudChanged after being setMaurice Kalinowski2017-02-071-0/+1
| | | | | | Change-Id: I9f23ff2cce3e8f269d5ca14f647affcc03df3f68 Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io> Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Update Gyro, Magnetometer and Ambient Temperature chartsTitta Heikkala2017-02-065-87/+91
| | | | | | | | Updated appearance and graphics of gyro, magnetometer and ambient temperature charts. Change-Id: I72c6c7b3d10692b838828a63551876dbe6918152 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Change TemperatureChartTitta Heikkala2017-02-066-107/+57
| | | | | | | Changed the appearance of TemperatureChart per ui spec. Change-Id: I17960c24d72f34a8bcf3b461ab19b7a57bfb3c6f Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>