summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesture.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* doc: Fixed several qdoc error reports.Martin Smith2009-07-011-0/+16
| | | | | Also changed qdoc not to warn about undocumented parameters if the function is marked with the \reimp command.
* Fix license headers after multitouch+gestures merge.Jason McDonald2009-06-291-5/+5
| | | | | | | Commercial license headers belong in source packages only. The repo must have the pre-release license headers. Reviewed-by: Trust Me
* Fix old/missing license headers from multitouch+gestures merge.Jason McDonald2009-06-291-3/+3
| | | | Reviewed-by: Trust Me
* Added setters to QGesture object.Denis Dzyubenko2009-05-201-0/+25
|
* Added missing \since 4.6 doc tagDenis Dzyubenko2009-05-111-0/+2
|
* Improved gesture propagation.Denis Dzyubenko2009-05-111-1/+1
| | | | | | | | | | | Each gesture can now be accepted separately and not accepted gestures will be propagated to parent widget that are subscribed to them. Added an internal flag to specify that gesture is a "singleshot" - aka if the gesture is not continious and will not have a GestureStarted state, but only GestureFinished. Asynchronous gestures still need to fixed, as well as QGraphicsView.
* renamed QGesture::gestureType() to just type() and fixed the doc.Denis Dzyubenko2009-05-111-3/+7
|
* Oops, fixed a memory corruption in Pan gesture due to invalid d-pointer type.Denis Dzyubenko2009-05-111-1/+2
|
* Gesture recognizer don;t create new QGesture object every timeDenis Dzyubenko2009-05-111-16/+45
| | | | anymore, but just fill data on a single qgesture object.
* Renamed QPannableGesture to QPanningGesture.Denis Dzyubenko2009-05-111-6/+6
|
* More documentation fixes.Denis Dzyubenko2009-05-111-28/+37
|
* Extended the gesture documentation.Denis Dzyubenko2009-05-111-8/+116
| | | | Also made some small fixes that noticed while was writing a doc.