summaryrefslogtreecommitdiffstats
path: root/src/sensors/doc
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/stable' into devIikka Eklund2014-04-011-0/+3
|\ | | | | | | Change-Id: I6b203a32b2f52255ae4e63cfb279e762458c0128
| * Make it obvious what platforms are supported by QtSensors.Alex Blasche2014-03-251-0/+3
| | | | | | | | | | | | | | | | Also, this brings the front page layout somewhat further in line with qtlocation & qtconnectivity API docs. Change-Id: I5e54ae388892dcb2a806c4775828abcdc81eb79d Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* | Create a new sensor type for distance.Andrew Inwood2014-03-281-0/+11
|/ | | | | | | | | | | | | | | | | | | Create a new sensor type for distance. This sensor type supports new hardware sensors that can measure physical distance from the device, in centimeters. The API is designed to mimic the Android API for proximity (TYPE_PROXIMITY), so that if a given proximity sensor only supports a binary measurement (near vs far), then instead of reporting distance in cm, the QDistanceSensor will return the max range value to represent far, and a lesser value to represent close. Using this definition should simplify implementation. The main reason for not implementing this as a new property of QProximitySensor is that clients of QProximitySensor have made the assumption that they will receive the readingReady signal if and only if the reading has changed from near to far or vice versa. Adding a distance property will break that assumption, as distance has a higher degree of precision. Change-Id: Ia804948c78ff7391fc8b78df975cddcf861326dc Reviewed-by: Fabian Bumberger <fbumberger@rim.com> Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Fix some typos in comments and documentationSergio Ahumada2014-03-041-1/+1
| | | | | Change-Id: I8541601c0bfe2b7c80e88b4617e8215b266fb0bd Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Initial sensors backend for WinRT/Windows Phonev5.3.0-alpha1Andrew Knight2014-02-161-0/+36
| | | | | | | | | | This provides the sensor plugin with support for accelerometer, gyroscope, rotation sensor, orientation sensor, compass, and ambient light sensor. Change-Id: Ic91a6cef98e4011858552c5cd6407b494579fe17 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Fix code snippet in Qt Sensors QML Types documentation.v5.2.1Mitch Curtis2013-12-131-2/+2
| | | | | Change-Id: I5639fb872b8e41cc5c5b5968cf1ddf7e247961e2 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Doc: Updated url variable in qdocconf files.Jerome Pasion2013-11-061-1/+1
| | | | | | | | | | | | | In 5.2, the HTML output is in a flatter structure and when they are hosted in qt-project.org/doc, the documentation will be found at http://qt-project.org/doc/qt-$QT_VER The url variable is used by projects outside of Qt 5 which need to link to Qt 5 documentation, such as Qt Creator. Task-number: QTBUG-34584 Change-Id: Id4428de7ea0a7a4f7dd7a28d76927195c61755ce Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
* Doc: review of QtSensorsNico Vertriest2013-11-0411-121/+133
| | | | | | | | | | Minor corrections in compatmap.qdoc Task-number: QTBUG-32173 Change-Id: Ic4f881449e65c2d6889f0e217d251214997a8a56 Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Doc: Removed QML version from \inqmlmodule and put it in \qmlmodulev5.2.0-beta1Jerome Pasion2013-09-271-1/+1
| | | | | | | | | | | | | -QDoc uses \qmlmodule to determine version -QDoc ignores versions in \inqmlmodule but it is better to remove the version to avoid confusion Task-number: QTBUG-32172 Change-Id: Iccab6b3fe201e8f01ddf130cd985bc0482425bf5 Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
* Android: Add missing sensorsPaul Olav Tvete2013-09-191-3/+3
| | | | | | | | | This adds Android backends for QAmbientTemperatureSensor, QPressureSensor and QProximitySensor. Task-number: QTBUG-30531 Change-Id: I8d97f62d007c886fcc8dd701e23f6a35a3cbd748 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Define the sensor coordinate system unambiguouslyPaul Olav Tvete2013-09-031-1/+3
| | | | | | | | | | | | | | All illustrations in the documentation show devices with phone form factors, i.e. portrait orientation. Some tablets have a native landscape orientation. It is not clear from the documentation if the sensor coordinate system should be relative to the portrait orientation or the native orientation. This change defines the native orientation as the canonical orientation. Task-number: QTBUG-32144 Change-Id: I870cb3c9b5aec04f2ed8394a4407b53b888e82c3 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Doc: Setting \qtvariable in module page.Jerome Pasion2013-08-021-1/+1
| | | | | | | \qtvariable indicates the QT variable needed in .pro files. Change-Id: Ib3f6def889dddd7c92d0dc943424124af4aa8b09 Reviewed-by: Martin Smith <martin.smith@digia.com>
* Doc: Setting navigation bar variables.Jerome Pasion2013-06-271-0/+4
| | | | | Change-Id: I3072c467f9e1d08d5e2869ebdb272d185e612f97 Reviewed-by: Martin Smith <martin.smith@digia.com>
* Doc: Removed duplicated list in Qt Sensors Examples page.v5.1.0-rc1Jerome Pasion2013-06-061-4/+0
| | | | | | | | \generatelist is not needed for group pages because QDoc will generate the list already. Change-Id: If04b07af292e4c05e4b6f933612027773837a6c3 Reviewed-by: Martin Smith <martin.smith@digia.com>
* Doc: Removed landing page from the "technology-apis" group.Jerome Pasion2013-05-241-2/+0
| | | | | | | | The group in qtdoc is removed because the new overviews on the landing page replaced the group. Change-Id: I2e266d8d41ff933c033711880d088fed8f0a8abd Reviewed-by: Geir Vattekar <geir.vattekar@digia.com>
* Document that the QSensor constructor should not be used directlyThomas McGuire2013-05-081-0/+16
| | | | | Change-Id: I1907497b2bb3b1be65e98223e0337eef358743b6 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Doc: Define examples install path in .qdocconfTopi Reinio2013-05-031-0/+2
| | | | | | | | | QDoc needs to know the directory under which the examples are installed in QT_INSTALL_EXAMPLES. Without it, example manifest files may contain invalid paths. Change-Id: Iac69054982d7f93d8282a935f278ba32eae6c72e Reviewed-by: Martin Smith <martin.smith@digia.com>
* iOS: implement proximity sensorRichard Moe Gustavsen2013-04-161-1/+1
| | | | | Change-Id: Ia4c2dbe4f81ceda1600f9f642effbc3377cfa94d Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* iOS: implement compassRichard Moe Gustavsen2013-04-161-1/+1
| | | | | Change-Id: I639a472cd2dfca177282cb4961d589f11f924e36 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* iOS: implement magnetometerRichard Moe Gustavsen2013-04-141-1/+1
| | | | | Change-Id: I611e1ccafb0362b78737785e9cc7f4f48278063a Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* iOS: implement gyroscope for iOSRichard Moe Gustavsen2013-04-101-1/+1
| | | | | | Change-Id: I4a46908a4b4e166c489dce4a034ef68698288419 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* iOS: implement accelerometer for iOSLorn Potter2013-03-121-0/+18
| | | | | | | This change implements an accelerometer for iOS. Change-Id: Id6de98427312bc0be42935fd9704117665d1e4a2 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* fix up compatibility mapLorn Potter2013-03-111-3/+12
| | | | | | | and mention that sensor gestures are platform independent. Change-Id: Iee0cf4185d095e1e97cc7b222f35271bb72a75ab Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Document the generic tilt sensor in genericbackend.qdocThomas McGuire2013-03-111-0/+3
| | | | | Change-Id: I7b5e947ddc097744be2a90a118331a5af24f38ee Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* add sensorfw based sensor pluginLorn Potter2013-03-053-1/+55
| | | | | | | ported from qtmobility. Change-Id: Ia4ee6e2b7ecbc441c5f6605f1bbabfec22ddcd09 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Sensor implementation for AndroidPaul Olav Tvete2013-03-051-0/+24
| | | | | | | | | | | | | | | Based on the Necessitas project by Bogdan Vatra. Contributors to the Qt5 project: BogDan Vatra <bogdan@kde.org> Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Paul Olav Tvete <paul.tvete@digia.com> The full history of the Qt5 port can be found in refs/old-heads/android, SHA-1 caa4103a80ef90db5eb9836f6b6028b7ce36c73a Change-Id: I57e772ee5079c0ea74f685b65ae2864d73e7c750 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Update the porting documentationThomas McGuire2013-03-011-10/+15
| | | | | | | | | | - Remove some references to the legacy imports - Mention the biggest change, separate QML types - Add some examples on what changed in the QML API Change-Id: Icdbf8271935499ec449a35919d947ad762d2cf03 Reviewed-by: Bernd Weimer <bweimer@rim.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Update qdocconfThomas McGuire2013-02-261-16/+21
| | | | | | | | | | - Use version tags rather than hardcoded versions - Add a QML Types section to the TOC - Fix link to the overview page - Keep the rest more in line with other modules (used qtcore to compare) Change-Id: Ia86aad1fc50b8471847b2fb808bacf2cbcf1471c Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-02-251-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: src/plugins/sensors/generic/generictiltsensor.cpp src/sensors/qtapsensor.h sync.profile Change-Id: I017a5fa8dffb69b41727495175c0fca9b76962e1
| * remove nokia and replace with qt-project in pluginsLorn Potter2013-02-071-1/+1
| | | | | | | | | | Change-Id: I63fa985991653e4b8465a7fb88acab647d8546e8 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* | Add a QAmbientTemperatureSensor class.Thomas McGuire2013-02-081-1/+7
| | | | | | | | | | | | | | Port the Blackberry backend to use it. Change-Id: I6d4395f5ab9e0ce3fb6f76c47282929103929557 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* | Add a QAltimeter class.Thomas McGuire2013-02-081-0/+6
| | | | | | | | | | | | | | Port the Blackberry backend to use it. Change-Id: I3d3bc1d6fa8b42d3d0d64bcd3245050b67a37dc7 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* | Add QHolsterSensorThomas McGuire2013-01-231-0/+6
| | | | | | | | | | | | | | | | | | | | This adds a new QHolsterSensor plus the assorted reading and filter classes, as well as a QML API. Also implement the Blackberry backend for it. Change-Id: I42e76c21ee74a39a65629e7ab6d9a18f23eae4d4 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* | Add QPressureSensorThomas McGuire2013-01-231-0/+6
|/ | | | | | | | | | This adds a new QPressureSensor plus the assorted reading and filter classes, as well as a QML API. The Blackberry backend is ported to use the new reading class. Change-Id: Ifc86a2ae955a9337a67fd9a86ceabab908917cb3 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* remove Nokia isms from plugin interfaceLorn Potter2012-11-281-1/+1
| | | | | | | As well as from documentation and usage of Sensors.conf location Change-Id: I52d657d6799e44a94b3f37bae86445c73e176103 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* add QSensorGestureRecognizers here as well. They are equally important.Lorn Potter2012-11-271-0/+8
| | | | | Change-Id: I5b488a6317af8cef1f31cf03249d115cd424b515 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Remove the QtSensors:: prefix from documentation.Thomas McGuire2012-11-031-1/+1
| | | | | | | | This appears to be implicit. Now the property documentation is built correctly. Change-Id: I3998582fdeabf751a612c379df69f5eb41b9419d Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Build the QML documentationThomas McGuire2012-11-021-2/+2
| | | | | Change-Id: I7f35e623f2441871f230688fa3494850f4bdad6d Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Fix typo: Contacts -> SensorsThomas McGuire2012-11-021-1/+1
| | | | | Change-Id: Ie0b8756f3b538b4263298bec9f293f62bf20568c Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Remove obsolete legacy documentationThomas McGuire2012-11-022-77/+0
| | | | | Change-Id: I2be34f3af34ff7accc4ba9c0d8157633e25ef785 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* make compile with -no-guiTasuku Suzuki2012-10-152-2/+2
| | | | | Change-Id: Ia5c93a26ce2d56d0844aea1c0c5ddd1be2ae3c5a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Doc: Modularized the Qt Sensor DocsGeir Vattekar2012-10-1257-0/+1902
Change-Id: Ie8636ec443f43b1f238342e0f6f7d321e13dce09 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>