| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Uses base class variable in any case. In addition setTageType is not
virtual.
Change-Id: Iaa7b5bb65f07966b193f7ce2c142284325cd9bb9
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
|
|
|
|
|
|
|
|
| |
The size of the font for provided data in Sensor Settings fixed
so that it's readable also with Nexus 7.
Change-Id: I0dd0935be36442e39c83c83c8879ba932aa6a1cb
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
|
|
| |
Otherwise isDeviceReady() returns random results, causing the
initialization of the whole connection to stop.
Change-Id: I777c5eeaf342a30821f45afb076a826cda9896b9
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Unnecessary 1s delay to start service scan removed.
If all service details have been discovered there's no need to
start the 5s service details timer.
Change-Id: I6c8c89455fb3cfdbc1a28198234e95a4ed0b7e8b
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
|
|
| |
In the demo setup, assign all sensor types to the set of
available sensor types.
Change-Id: If07674ccc40f7668e96e41df62d3b2745e6c9cb4
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A disconnected sensor tag can be tried to be reconnected by clicking
on the chart area or starting rescan from the Sensor settings menu.
During a (re)connection process a progress indicator is shown to
the user.
The user has a possibility to disconnect (and reconnect) a
currently connect SensorDataProvider
A new state, 'NotFound' is added in SensorTagDataProvider to
distinguish between states when a Sensor Tag has not been discovered
at all, and when it has already been discovered but is has been
disconnected.
Change-Id: I54eea72d8c92a67a5ccbb3bc192ac8f33ada1c39
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
|
| |
In LightChart, replace NumberAnimation with OpacityAnimator
Change-Id: I52c15a5fee3cc7d4fedde51b7011ba7c3a269a32
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
|
| |
Images for RotationPage gyro updated.
Change-Id: I4678bd51d0334e4d57980309fe0d9e3e67e718ad
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
|
| |
In RotationPage, replace RotationAnimation with RotationAnimator
Change-Id: I7344a836319213a3a62f766ec4731af3c800fb5b
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
|
|
|
|
|
|
|
| |
The transparent image is not needed for object temperature cauge.
Change-Id: I8880f0ef3c84a382a7bfc9cdaf867e901fbf6219
Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
|
|
|
|
|
|
|
| |
Glow effect removed from ChartView elements.
Change-Id: I4a020c783c715c45c8d10663c8f2828d7f10bdd5
Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
|
|
|
|
|
|
|
| |
Remove the unused file
Change-Id: I1822fb06885cbe26a2506860ad27dbfffb18c3b7
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
|
|
|
|
|
|
|
| |
Image for Humidity Chart updated.
Change-Id: I3343354bdc7c5f5d76e6869b874dd33f58846c54
Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
The commit 22ca8687ef2c4ebbbc8d40fd41b45335b0058418 had missing
files for MockDataProviderPool. Add the missing files here
Change-Id: Ib49d120d107428079686e474fd9f06bdddbdcf8f
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Also add initializer for yAxisG.
Change-Id: If2518de5463ab509b8d58b20ead288374558cd5e
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
User has to specify location for cpprest and wastorage when invoking
qmake
Change-Id: Ib0b3b7b0e648022c73ca1f942ebbc423b6f3caf6
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Remove Particles import as it's no longer needed.
Change-Id: If55f643b31f43db6df9be166d24bad72a4304c2b
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Change-Id: I63252362c7e9a5026b5c59802919ea840cb5356c
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
| |
Change-Id: I6b3467541950df284f37d3b823c9fdfb535593ce
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
| |
Change-Id: I473c28d7c6d19e633623a30d6ca8d4edd07423b2
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Add a timer to update the time.
Change-Id: I1ec817c15f4609c6c362481d2c5276b2dc167cca
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Change-Id: I32afa9f74e428ee7c19369aad173c72f193f526f
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
|
|
|
|
|
|
| |
Change-Id: If1af7fd6b88bccaccfe0a990e46e5ada96574736
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I9f5842272311e77dea066a6f73d09366c8ab529b
Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
|
|
|
|
|
|
|
| |
isDeviceReady() function can't be const because it changes the state.
Change-Id: I05fe26aad80b7aaede42bf26c7aba6b9c9c299f3
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Added possibility to start scanning of sensors to SensorSettings.
Change-Id: I1ebb5da22a4e98d6c2220bb6d51f17641c7821ec
Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
|
|
|
|
|
|
|
| |
Gyro and MAgnetometer charts are updated to use OpenGL for series.
Change-Id: Ib4f7e3c7e4bdf5015484f3849cc99ad9c1490f5f
Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|