summaryrefslogtreecommitdiffstats
path: root/examples/sensors
Commit message (Collapse)AuthorAgeFilesLines
* Fix QTBUG-26860 - install examples to qtsensors directoryLorn Potter2012-08-1611-22/+19
| | | | | Change-Id: Iab2407798616ed08ce7789020fe47b00e226d62d Reviewed-by: Alex <ablasche@gmail.com>
* Only build qml components/examples if qtdeclarative is presentCorentin Jabot2012-08-082-11/+14
| | | | | Change-Id: I31e1873e9ef243c86c07b0a39edc9d1d61820944 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Doc: Changed \qmlclass to \qmltype and added \instantiatesJerome Pasion2012-07-301-2/+4
| | | | | | | | | | -\qmlclass is now \qmltype -\instantiates is for QML types implemented in C++ Change-Id: I7f1af4eae6ad9d199859911b5ab51696a59a9b36 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Peter Yard <peter.yard@nokia.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* Get all the examples building and running on Desktop.Lincoln Ramsay2012-06-2035-73/+481
| | | | | | | | Build the required C++ stubs for each example and deploy all the files so that the examples are runnable. Change-Id: I03d23cb37e1c484110a58934a9b0aa550d6915a6 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Remove device-specific files.Lincoln Ramsay2012-06-2016-179/+0
| | | | | | | These aren't needed anymore. Change-Id: I723dfd8a85cd05c11135601908a90386cb840967 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Remove the 'special' naming of examples.Lincoln Ramsay2012-06-20131-0/+6953
| | | | | | | Just go back to the naming convention we had before. Change-Id: Iefecb7a5e0ab3aa4d22267b4f475a8e9c1c96058 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Unfork the examples.Wolfgang Beck2012-05-24135-6985/+0
| | | | | | | | | | | | Some examples were forked off and updated. Unfork by bringing these changes back (a later update will bring the other examples in line with this new style). The changes are primarily made up of file renaming. Also, JPG files have been converted to PNG. Some documentation updates have been done. Change-Id: Ib090abb5ebea2003d479d2336a23317f52b8c4d8 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* remove code that created warning messages.Lorn Potter2012-05-161-2/+0
| | | | | Change-Id: Iea0f2202bf88589c6c910e3f41b913a42485685d Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add doubletap gesture to shakeit.Lorn Potter2012-04-271-2/+34
| | | | | Change-Id: Ic30ec2d896b6db83e3420d38a70644ab34b5bdc9 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Direct rendering is known to be buggy.Lincoln Ramsay2012-04-271-1/+0
| | | | | Change-Id: I461b35e778ddf61008a32485b699e440132a0b22 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Fix the Grue sensor exampleLincoln Ramsay2012-04-272-12/+37
| | | | | | | | QtUiTest (and possibly other things) will conspire to ensure our loading hack does not work. Do it the foolproof way instead. Change-Id: I4bb094a43498c2a58da2ed7fc656280ab40d5f06 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Try to smooth out camera movements.Lincoln Ramsay2012-04-272-3/+6
| | | | | | | | I don't remember this being so apparently jerky before. This is... better though not quite there. Change-Id: Ifa54071e139b4dbb278ed96087f7e138dfac30e4 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Package the grue sensor example into a self-contained bundle.Lincoln Ramsay2012-04-165-0/+37
| | | | | | | | Cleaner for deployment (no need to write to inaccessible system locations) though it uses a bit of a hack to get QtSensors to find the backend plugin. Change-Id: Ibfa765d928a2d57429832c68594bcbe38f9d6a6e Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Add .qmltypes files for Creator.Lincoln Ramsay2012-03-282-2/+2
| | | | | | | | | | Only doing this for the actual QML APIs, not the examples ones. Can run make rebuild_qmltypes from a build directory to rebuild the .qmltypes files automatically. Change-Id: Ie1253646dde25861673c303b015a9ba9a4f0fbe3 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Update QML plugins to the new style.Lincoln Ramsay2012-03-166-5/+10
| | | | | Change-Id: Ie419b58c4789e539be5370dc0b7d2518009bbe91 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Use the new plugin mechanism for Sensors and SensorGesturesLincoln Ramsay2012-03-167-8/+12
| | | | | | | | | | | | | | Plugins no longer use QFactoryInterface or Q_EXPORT_PLUGIN. Instead, Q_PLUGIN_METADATA is used. Meta-data is provided through a .json file that is embedded into the plugin by moc. For now, this meta-data is not actually used because both sensors and gestures use a dynamic registration mechanism. Change-Id: Ic82657e2ba5768127e13f7411ca51f60772781d8 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Fix display of Grue app.Lincoln Ramsay2012-03-084-7/+23
| | | | | | | | | | Don't just assume a white background will be set. We're now using a black background with white text. Fade in a grue as your chance of being eaten increases. Change-Id: I47af31f2f0092136ce3da377e1c6ffc21af07496 Reviewed-by: Daron Andrew Edie <daron.edie@nokia.com>
* Rename declarative symbols.Lincoln Ramsay2012-03-089-20/+20
| | | | | | | Use the script rename-qtdeclarative-symbols.sh. Change-Id: Ib1a62731a6c95590978a488c4afbd804f14fb958 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Allow opening examples directly from Qt Creator.Lincoln Ramsay2012-02-2910-0/+20
| | | | | | | | The MT_SYSROOT environment variable is set in this case so we can use this to set the correct installation path. Change-Id: I923b1ea97468414a123c97a01b0405604827a99b Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Rescale cubhouse exampleWolfgang Beck2012-02-272-11/+12
| | | | | Change-Id: I366777d7788a55b5a6fcad194d5833a19a6cf4b3 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Update the examples.Lincoln Ramsay2012-02-2758-311/+137
| | | | | | | | | | | Use .pro files, no .qmlproject files. Remove unused settings.json and notions.json files. Install to EXAMPLES_PREFIX when it is defined. Dest paths match info.json identifiers. No execute bit on non-executable files. Change-Id: Ib09320bd976b8aec7512531ce11ed92f05912dde Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* optimize some gestures more. stop colliding.Lorn Potter2012-02-211-2/+19
| | | | | Change-Id: I77580905f460e87cc796df66f5cdf02156b7cca6 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Update Examples for SDK teamWolfgang Beck2012-02-1440-373/+143
| | | | | Change-Id: Ib81ebf326a1ee4330a268c8d57934e3d77ea68bb Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add slam gestureLorn Potter2012-02-131-15/+56
| | | | | Change-Id: I0aa474d2398f59c0b766ed7fd7458ecd50b1fd4e Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* improve the sensors docs a bitLorn Potter2012-02-123-2/+8
| | | | | Change-Id: I2774c8ecc5ae711b6444d0adff0697c6d278dcad Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* add more sensor gestures to shakeitLorn Potter2012-02-015-13/+145
| | | | | | Change-Id: I83ddbc84ce90c2e89f7a950f061065f0b0ce38f3 Sanity-Review: Lorn Potter <lorn.potter@nokia.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-3054-54/+54
| | | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: I1ecfbf66a49bb91dd995d92c871ca36148adc645 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-2354-54/+54
| | | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: Ie8628548cde5d3b251f319cbb6f33e6c08852d9e Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Components exchangeableWolfgang Beck2012-01-1822-371/+533
| | | | | | Change-Id: If028c67235567de4d7d99775dcd48e8c0a1ebf75 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Replace Radiobutton with -+ buttonsWolfgang Beck2012-01-186-170/+81
| | | | | | Change-Id: I127ad9b7f51762f5b1d959d0f0439d254a535e4a Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Make shakeit example ready for the SDK Doc TeamWolfgang Beck2012-01-135-9/+21
| | | | | | Change-Id: Ic12a60e546b2740ddd7bfb11ee5220ab792e6a0f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Remove documentation from sensor explorer import filesWolfgang Beck2012-01-133-36/+38
| | | | | | Change-Id: If8d7229b773fc879b4a8545b34826ff997d39dc7 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Fix doc errors for Examples of the SDK teamWolfgang Beck2012-01-135-3/+11
| | | | | | Change-Id: Id0acbc70ede7229903679d73d283b24eb8be91d3 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Examples for SDK TeamWolfgang Beck2012-01-1326-558/+870
| | | | | | | Change-Id: I93f92a85419f0519f887ccd12a39bf61d7db7aae Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* add new sensor gesture example and tutorialLorn Potter2012-01-1210-1/+195
| | | | | | Change-Id: I2a70b99ebcc87e6717a8fe7e5e905c7596798b5c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* more properly document GrueSensor QML elementLincoln Ramsay2012-01-121-13/+2
| | | | | | Change-Id: I61e2681f0573e2541c9101f684ddb1dbf3857745 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Peter Yard <peter.yard@nokia.com>
* Fix secounds misspellingWolfgang Beck2012-01-121-1/+1
| | | | | | Change-Id: Ic303d8e84044cc687589fe9105bb5689e29fe9de Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Convert sensor explorer example into a QML based applicationWolfgang Beck2012-01-1128-918/+1571
| | | | | | Change-Id: If8628363c4998dabf85cad4277df088be23e3ff4 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-0538-38/+38
| | | | | | Change-Id: I7fdedc329cf80f84f1f6e0c6c9da3f7d1ebcd70d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Fixed shadow builds on platforms other than Windows.Rohan McGovern2011-12-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | This example .pro file was doing DESTDIR = $$OUT_PWD ... apparently to escape from the debug/release subdirectory on Windows. This is redundant on Linux, and actually harmful, because when DESTDIR is set, the generated makefile includes commands conceptually similar to: rm -f $$DESTDIR/$$TARGET mv $$OUT_PWD/$$TARGET $$DESTDIR/$$TARGET Therefore, if DESTDIR equals OUT_PWD, the TARGET itself is deleted. Change-Id: I73278d9aec0d37200c8bc9c9755145f4968b2684 Reviewed-by: Toby Tomkins Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* QML Sensor 2 demo starts with proximity in running stateWolfgang Beck2011-12-231-1/+1
| | | | | | Change-Id: Id4d9faf81f2dacb2089e10ae43952a9f30ef6789 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Grue example doesn't work in simulatorWolfgang Beck2011-12-206-24/+28
| | | | | | Change-Id: I486e24befd3f31345ec7f8dffd9a183f9f2ec4cb Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add accel bubble example app and docs/tutorialLorn Potter2011-12-195-0/+164
| | | | | | Change-Id: I0f94e4c42797177f08704945f6b4628b84690d8d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Grue example doesn't stop counting when reaches 100Wolfgang Beck2011-12-151-1/+1
| | | | | | | Change-Id: I8dfc97897e4d42b657b55ab3e3d734556313c48b Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Add MAZE tutorialWolfgang Beck2011-12-091-0/+11
| | | | | | | Change-Id: I076d5071aa27ba10da6885b1d856c24ca6bb4f7d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Add tutorial for cubehouse exampleWolfgang Beck2011-12-091-0/+14
| | | | | | | Change-Id: I6058e9f5965d99e669ac845357916943d370f734 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Tutorial doc for tilt abl and proxi qml sensorsWolfgang Beck2011-12-051-0/+17
| | | | | | | Change-Id: Ie7aac8003aea91e7cef5a3db336e736500fd7949 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Write a tutorial doc for the sensor gesture exampleWolfgang Beck2011-12-053-8/+18
| | | | | | | Change-Id: If30a0561ed943fd32a2543be1388e61adfb5bf9c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* ALS sometimes showing unknownWolfgang Beck2011-11-301-6/+6
| | | | | | Change-Id: I7b372e8851d1c86d4086affe01d067ef3b4923e4 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Apply consistent naming to sensors appsWolfgang Beck2011-11-301-1/+1
| | | | | | Change-Id: I1967516051e64a56eb5476007fb50e1668a53656 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>