summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Some example files moved, update the docs.Lincoln Ramsay2012-03-051-6/+6
| | | | | Change-Id: Ic494f0ac55b04829977cde95cb3bf3185d1352cc Reviewed-by: Peter Yard <peter.yard@nokia.com>
* fix crash by initializing orientationReading variableLorn Potter2012-03-055-14/+24
| | | | | Change-Id: I50fe25627bb761bfb5cb27c882946c13cdbcf56a Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Change bugreports.qt.nokia.com -> bugreports.qt-project.orgSergio Ahumada2012-03-021-1/+1
| | | | | Change-Id: Iba572fa483fff03877336600112414971296f933 Reviewed-by: Jyri Tahtela <jyri.tahtela@nokia.com>
* Remove the usage of deprecated qdoc macros.Casper van Donderen2012-03-0116-187/+187
| | | | | | | | | | QDoc now has support for Doxygen style commands for italics, bold and list items. This change applies that change in QDoc to the actual documentation. Task-number: QTBUG-24578 Change-Id: I9e809abef666b8498bc481aae9f324b954eff387 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* share sensors among the recognizers in QtSensors recognizer.Lorn Potter2012-03-0124-296/+642
| | | | | Change-Id: Ie08046de2e293b8b6271851ce8b740832a6de315 Reviewed-by: Lorn Potter <lorn.potter@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>
* small tweaks for simulatorLorn Potter2012-02-284-18/+74
| | | | | Change-Id: If2114b6917328e1342c5a2496daf9588393a8018 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Docs: allow standalone builds of documentation.Peter Yard2012-02-2745-0/+4180
| | | | | Change-Id: Iafd4dd55fbbf726e8991365b154e36642cc2688a Reviewed-by: Alex <alex.blasche@nokia.com>
* add more information about gesture recognizer development.Lorn Potter2012-02-271-1/+39
| | | | | Change-Id: Idf24c9227b69bfe05e83ec03f762c1fc055219b9 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@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>
* updated gesture testsDaron Andrew Edie2012-02-241-21/+44
| | | | | Change-Id: I9390ac600dcc2bb7a0b583a1350bcb538574b868 Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Revert "Disable unit tests that rely on plugin loading."Lincoln Ramsay2012-02-231-4/+4
| | | | | | | | | | The underlying problem has been identified and fixed. It turns out QFactoryLoader had a logic error. This reverts commit fbc2e2ca805b97bdbef4a3b6b6a276215ba668df. Change-Id: I419f0cd72b65d55b81a2f8896d5b77328bc9e5cb Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add links to sensor gesture descriptions and fix up other links.Lorn Potter2012-02-215-11/+18
| | | | | Change-Id: I7edef31ceeef79ce117cc214143a53385d0634ce Reviewed-by: Alex <alex.blasche@nokia.com>
* optimize some gestures more. stop colliding.Lorn Potter2012-02-219-159/+150
| | | | | Change-Id: I77580905f460e87cc796df66f5cdf02156b7cca6 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Fix lots of small qdoc issues in Sensor docsalex2012-02-2013-73/+96
| | | | | Change-Id: I26dd869ffac45155d834ac2046edc93dae926aef Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* sqrt => qSqrt, atan2 => qAtan2Lorn Potter2012-02-204-13/+13
| | | | | Change-Id: I2da59daada99184a166967fb0fe45fc5bae7eba1 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Change QtSensors title to 'Qt Sensors' so it can link from landing page.Peter Yard2012-02-201-1/+1
| | | | | Change-Id: I8fb04d5a800ddff756dbad089a2b1571a69b77da Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Update REGISTER_STATIC_PLUGIN_V2 (compile)Lincoln Ramsay2012-02-174-31/+90
| | | | | | | | | | | | | | | | | | Ideally, this macro would only consist of a Q_EXPORT_PLUGIN / Q_IMPORT_PLUGIN combination but there is no 'static' version of Q_EXPORT_PLUGIN available unless we're a static build of Qt. Thus, this macro duplicates the logic from the correct Q_EXPORT_PLUGIN macro here. Use the new code so that we can compile apps that use REGISTER_STATIC_PLUGIN_V2 (like the unit test). Using an ifdef so we don't break people who haven't updated qtbase yet. Refactor the headers so we only have 1 copy of this macro. Change-Id: Id8c69833029bdd54b66d24dea878b0603b0cb6e9 Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Disable unit tests that rely on plugin loading.Lincoln Ramsay2012-02-171-4/+4
| | | | | | | | | Plugin loading seems to be broken. We need to get a compile fix through but it won't go while the unit tests are failing. Just turn them off for now and they can go on when plugin loading has been fixed. Change-Id: I9cde13540ca82515d119b11316afe66b62b7f968 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Locate sensor explorer QML appLincoln Ramsay2012-02-151-17/+7
| | | | | | | | | It moved but the example page was looking in the wrong location. Since there is now one directory that holds the entire example, we can collapse 3 pages into 1. Change-Id: Id02844e88042436129c1e644d364a0c32fc71824 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* use qAbs instead.Lorn Potter2012-02-155-15/+15
| | | | | Change-Id: Ibcc49c56d558563737d2d94a87425e65d0689c1e Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Build fixYuchen Deng2012-02-151-3/+3
| | | | | | | | | | | error C2668: 'abs' : ambiguous call to overloaded function could be '__int64 abs(__int64)' or 'long abs(long)' or 'int abs(int)' while trying to match the argument list '(qreal)' Change-Id: Ie279096145d3d1cd5cd689555d70508f068f5f47 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* finalize slam gesture, and fix up some others.Lorn Potter2012-02-156-46/+26
| | | | | Change-Id: I307492e32ea04d29d8f29cc91f40298d00ae7201 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Update Examples for SDK teamWolfgang Beck2012-02-1440-94/+149
| | | | | Change-Id: Ib81ebf326a1ee4330a268c8d57934e3d77ea68bb Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add slam gestureLorn Potter2012-02-135-15/+361
| | | | | Change-Id: I0aa474d2398f59c0b766ed7fd7458ecd50b1fd4e Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* improve the sensors docs a bitLorn Potter2012-02-1211-25/+120
| | | | | Change-Id: I2774c8ecc5ae711b6444d0adff0697c6d278dcad Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* remove errant debug output redirection.Lorn Potter2012-02-101-45/+1
| | | | | Change-Id: I1b3a78395a689ea07e3b93293cac7a72d1f019af Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* removed some tests due to test app availablity problemsDaron Andrew Edie2012-02-081-108/+2
| | | | | Change-Id: I1426afa510cf3339668934e81fa7e4475f22ebc8 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* It's not safe to delete QFactoryLoaderLincoln Ramsay2012-02-081-1/+1
| | | | | | | | | | If we delete QFactoryLoader and there's a QSensor[Backend] still being held, we will explode. So either we do a refcount-type check and fatal or we just don't delete QFactoryLoader. Since the process is about to end anyway, don't delete QFactoryLoader. Change-Id: Ie21b28075f4f720bb842e32296b68ec615ed1d6a Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* fix hover and cover since prox driver output changed.Lorn Potter2012-02-086-31/+53
| | | | | Change-Id: Ic620a9012472c81f7f1bb15e450638745809effa Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* make emulator gesture plugin working in emulatorLorn Potter2012-02-074-6/+4
| | | | | Change-Id: I7cbc00ad75cac88a815eb43c937a10ec01d7023f Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* rename this as 'shake' collides and sensorgesturemanager ignores.Lorn Potter2012-02-021-1/+1
| | | | | | | | fixes sensorgesture simulator plugin. Change-Id: I5a880dad57ebe5e5f190913ea9c4a8745c09bd08 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@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>
* try harder to make sure gesture dont fire too easilyLorn Potter2012-02-0114-239/+371
| | | | | | | | | some gestures will fire when trying other gestures. Make sure they don't collide and provide false positives as much. Change-Id: I4abd7d9ee876b77a211ae1b46bcc56f4fdc64ec0 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-30251-253/+253
| | | | | | | | | | | 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>
* added QML System Test - Slow down IR Proxy polling when closeDaron Andrew Edie2012-01-291-3/+28
| | | | | | Change-Id: I9e2c2cfe6a597f72286c307be55aadbe8ef99c71 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
* Ensure the generic sensors pass on alwaysOnLincoln Ramsay2012-01-233-0/+3
| | | | | | | | Otherwise the sensors won't stay on when the screen turns off Change-Id: I9c8089495fa4247b4d7d2a9eefb269898757b911 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-23251-251/+251
| | | | | | | | 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>
* comment out auto and added default sensor rate testsDaron Andrew Edie2012-01-191-12/+94
| | | | | | Change-Id: Id2b2713902ece7264e9b17de341d8e4da85d9eb5 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Remove friend class tst_Sesnsors2QMLAPIWolfgang Beck2012-01-193-26/+32
| | | | | | Change-Id: I24772c90fc20cd02d6b442b5e80bddc226a736ee Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* support for IR proximity sensor in the simulatorLincoln Ramsay2012-01-198-0/+174
| | | | | | | | Also requires a change to the simulator. Change-Id: I5086d3e49773975fc258f3f4481e643dbff33b15 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@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>
* Don't fire every second... only when data changes.Lincoln Ramsay2012-01-186-12/+6
| | | | | | Change-Id: I7a76a32eb2f23cbec5f097143aead4694a5cef7c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Replace Radiobutton with -+ buttonsWolfgang Beck2012-01-187-170/+81
| | | | | | Change-Id: I127ad9b7f51762f5b1d959d0f0439d254a535e4a Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* move simulator connection to a threadZsolt Simon2012-01-182-17/+81
| | | | | | Change-Id: Ice70c7f35315f50e82270961a38d6b130651f76d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add some sensor gesture images to docs.Lorn Potter2012-01-1711-8/+18
| | | | | | Change-Id: Icc130ed8f5fe66f5388521f44f2159062475b19b Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Document the alwaysOnChanged signalLincoln Ramsay2012-01-161-0/+5
| | | | | | Change-Id: I2e545905a759e9fd9aa4751e0a9b21302d3e8178 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* speed up sensor gesture auto testLorn Potter2012-01-161-2/+2
| | | | | | Change-Id: Ie29714abcfa3f11d0507df6757022060100762a1 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* fix document errorLorn Potter2012-01-161-1/+1
| | | | | | Change-Id: I4976086cb558f1b9f592e4b11b28d6ae89ebb3cb Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>