summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesture.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update licenseheader text in source filesJyri Tahtela2011-05-131-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Doc: fixing bugs and typos based on feedbackMorten Engvoldsen2011-01-251-1/+1
|
* Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | Reviewed-by: Trust Me
* Doc: Marked some new properties as internal for now.David Boddie2010-10-071-0/+27
|
* Changed the speed property on QSwipeGesture to velocityZeno Albisser2010-09-131-0/+2
| | | | Reviewed-by: Denis Dzyubenko
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7David Boddie2010-08-041-3/+3
|\ | | | | | | | | Conflicts: doc/src/examples/qml-examples.qdoc
| * Modified file/directory names and text to remove disallowed terminology.Kevin Wright2010-07-271-3/+3
| |
* | Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7David Boddie2010-07-161-0/+29
|\ \ | |/
| * Change default TapAndHold timeout and make configurableThomas Zander2010-07-081-0/+29
| | | | | | | | | | | | | | | | The new default timeout is 700ms and is what Nokia Research found through usability studies. Nevertheless lets provide public API to set this through a platform plugin or similar. Reviewed-By: Denis
* | Doc: Made the Gestures Programming document more visible.David Boddie2010-06-301-5/+23
|/ | | | Reviewed-by: Trust Me
* Add a new qconfig feature GESTURESTasuku Suzuki2010-06-021-0/+4
| | | | | Merge-request: 535 Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
* doc: Fixed many broken links.Martin Smith2010-05-191-1/+1
|
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Merge remote branch 'qt-official/4.6' into 4.6Morten Johan Sørvig2009-11-061-9/+0
|\
| * Doc: Fixed qdoc warnings.David Boddie2009-11-051-9/+0
| | | | | | | | Reviewed-by: Trust Me
* | Implemented Tap and TapAndHold gestures.Denis Dzyubenko2009-11-051-0/+66
|/ | | | | | Added QGesture objects and gesture recognizers based on touch events. Reviewed-by: Bradley T. Hughes
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-doc-team into 4.6David Boddie2009-11-041-6/+15
|\ | | | | | | | | | | Conflicts: src/gui/kernel/qevent.cpp src/gui/kernel/qgesture.cpp
| * Doc: Fixed qdoc warnings.David Boddie2009-11-041-10/+10
| | | | | | | | Reviewed-by: Trust Me
* | Gesture api review.Denis Dzyubenko2009-11-031-36/+53
| | | | | | | | | | | | Changes to the gesture api after the review. Reviewed-by: Jasmin Blanchette
* | Documentation fixes related to gestures doc.Denis Dzyubenko2009-11-031-1/+1
|/ | | | Reviewed-by: David Boddie
* Tiny doc change by David Boddie.Denis Dzyubenko2009-10-281-3/+3
| | | | Reviewed-by: David Boddie
* Removed obsolete private field from the QGesture and fixed the doc.Denis Dzyubenko2009-10-281-6/+5
| | | | Reviewed-by: Thomas Zander
* Introduce QGesture::GestureCancelPolicy, a way to auto-cancel gesturesThomas Zander2009-10-281-0/+33
| | | | | | | | | On accepting one gesture Qt can automatically cancel other gestures that belong to other targets. The policy is normally set to not cancel any other gestures and can be set to cancel all active gestures in the context. For example for all child widgets. Reviewed-By: Denis Dzyubenko
* Doc: Fixed qdoc warnings.David Boddie2009-10-261-6/+0
| | | | Reviewed-by: Trust Me
* Change API; the pan gesture now has points for distance, not size.Thomas Zander2009-10-221-6/+6
|
* Add QGestureEvent::mapToScene for better graphicsView integrationThomas Zander2009-10-221-0/+4
|
* Improved gesture event filtering inside QGraphicsView for QGraphicObjectsDenis Dzyubenko2009-10-221-10/+0
| | | | Reviewed-by: trustme
* Doc: Documentation for gesture features. Still a moving target.David Boddie2009-10-161-3/+239
| | | | Reviewed-by: Trust Me
* Doc: Gesture API documentation review and improvements.David Boddie2009-10-161-3/+23
| | | | Reviewed-by: Trust Me
* Mac: implement gestures conforming to the new APIRichard Moe Gustavsen2009-10-131-12/+14
|
* Doc: Gesture API documentation review.David Boddie2009-10-121-20/+16
| | | | Reviewed-by: Trust Me
* Added documentation for the Gesture API.Denis Dzyubenko2009-10-121-9/+56
| | | | Reviewed-by: trustme
* Compile fix after the latest change to gesture api.Denis Dzyubenko2009-10-121-8/+1
| | | | | | Forgot to remove the declaration from a source file because of a bad merge. Reviewed-by: Bradley T. Hughes
* Removed the QGesture contructor that we don't really need.Denis Dzyubenko2009-10-121-6/+7
| | | | | | | | | The constructor that accepts a gesture type is not needed because the gesture type id will be generated by Qt and assigned to the QGesture object when a custom gesture recognizer is registered within the framework. Reviewed-by: trustme
* A new implementation of the Gesture API.Denis Dzyubenko2009-10-091-206/+222
| | | | | | | Implemented gestures using gesture events and separate QGesture/QGestureRecognizer classes. Reviewed-by: trustme
* Doc: mark API of Gesture framework as preliminary.Volker Hilsheimer2009-10-021-0/+1
| | | | New API will most likely not be in the Beta release.
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Fixed the spelling of canceled in the QGesture api brought up by David Boddie.Denis Dzyubenko2009-09-071-5/+5
| | | | Reviewed-by: trustme
* Fixed the QGesture::updateState function.Denis Dzyubenko2009-09-031-2/+5
| | | | | | | | When a state changes from NoGesture to any valid gesture state and we emit the started() signal, we need to make sure that the state of the gesture is set to the appropriate Qt::GestureStarted state. Reviewed-by: trustme
* doc: Fixed several qdoc errors.Martin Smith2009-09-021-11/+12
| | | | That's the last of them... for now.
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Improved a QGesture api a little bit.Denis Dzyubenko2009-08-211-6/+31
| | | | | | | Changed the constructor of the QGesture to separate the gesture target (the object/widget that the gesture filters events for), and the parent object. Reviewed-by: Richard Moe Gustavsen
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* Doc: Fix qdoc warningsVolker Hilsheimer2009-08-101-1/+1
|
* Changed setting state in a QGestureDenis Dzyubenko2009-08-061-8/+40
| | | | | | | | | | | | Instead of having a protected setter for the state and forcing the application developer to emit signals manually (which leads to misunderstanding - i.e. if the started() signal should be emitted only once, or of the triggered() signal should be emitted before the finished() signal, etc). So I've added an protected updateState(state) function that sets the internal state and emits appropriate signals depending on the old and new states. Reviewed-by: Volker Hilsheimer Reviewed-by: Richard Moe Gustavsen
* QTapAndHoldGesture is gone, remove referenceVolker Hilsheimer2009-08-051-1/+1
|
* Removed the startPos/lastPos/pos from the gesture classes.Denis Dzyubenko2009-08-041-45/+0
| | | | | | | | It doesn't make much sense to have that low-level info neither in the base QGesture class, nor in the QPanGesture, as the latter one has offset properties instead. Reviewed-by: trustme
* Gestures: fixed install event filter bugRichard Moe Gustavsen2009-07-301-2/+2
| | | | | | made sure that we set the filter on the correct widget RevBy: denis
* doc: Corrected several qdoc warnings.Martin Smith2009-07-031-0/+7
|
* Refactored gesture apiDenis Dzyubenko2009-07-021-175/+133
| | | | | | | | | | | | | | | | Rewritten the api almost from scratch, making it simplier and more flexible at the same time. The current implementation will not have complex gseturemanager class inside Qt, but the QGesture base class, which represents both a gesture recognizer and a gesture itself with a set of properties. A set of common gestures that can use used in third-party applications (and in Qt itself internally) is supposed to be found in qstandardgestures.h, and a base class for user-defined gestures is in qgesture.h Gesture implementation for Pan on Windows7 has also been added as a reference implementation for platform gestures.