summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesture_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2011.Jason McDonald2011-01-111-1/+1
| | | | | Reviewed-by: Trust Me (cherry picked from commit ac5c099cc3c5b8c7eec7a49fdeb8a21037230350)
* Make compile.Aaron McCarthy2010-09-141-1/+1
|
* fix scaleFactor/totalScaleFactor in QPinchGestureRecognizerZeno Albisser2010-09-131-1/+1
| | | | | | | The scaleFactor/totalScaleFactor should now represent a proper value to allow an object tracking a touchpoint during a Pinch Gesture. Reviewed-by: Frederik Gladhorn
* Added velocity property to the QPanGesture.Zeno Albisser2010-09-131-1/+8
| | | | Reviewed-by: Denis Dzyubenko
* Changed the speed property on QSwipeGesture to velocityZeno Albisser2010-09-131-2/+5
| | | | Reviewed-by: Denis Dzyubenko
* Change default TapAndHold timeout and make configurableThomas Zander2010-07-081-0/+1
| | | | | | | | 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
* Add a new qconfig feature GESTURESTasuku Suzuki2010-06-021-0/+4
| | | | | Merge-request: 535 Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
* Rename QTimestamp to QElapsedTimerThiago Macieira2010-03-171-2/+2
|
* Port QtGui uses of QTime as a stopwatch to QTimestampThiago Macieira2010-03-171-2/+2
|
* Cache scene coordinates of a hotspot in a QGesture.Denis Dzyubenko2010-02-241-1/+1
| | | | Reviewed-by: trustme
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Implemented Tap and TapAndHold gestures.Denis Dzyubenko2009-11-051-0/+26
| | | | | | Added QGesture objects and gesture recognizers based on touch events. Reviewed-by: Bradley T. Hughes
* Implemented QSwipeGesture recognizer using touch events.Denis Dzyubenko2009-11-051-1/+7
| | | | Reviewed-by: Bradley T. Hughes
* Compile fix after the last gesture api changeDenis Dzyubenko2009-11-031-1/+1
| | | | Reviewed-by: trustme
* Gesture api review.Denis Dzyubenko2009-11-031-4/+6
| | | | | | Changes to the gesture api after the review. Reviewed-by: Jasmin Blanchette
* Implemented pinch gesture recognizer.Denis Dzyubenko2009-11-031-0/+3
| | | | Reviewed-by: trustme
* Removed obsolete private field from the QGesture and fixed the doc.Denis Dzyubenko2009-10-281-4/+1
| | | | Reviewed-by: Thomas Zander
* Introduce QGesture::GestureCancelPolicy, a way to auto-cancel gesturesThomas Zander2009-10-281-3/+7
| | | | | | | | | 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
* Change API; the pan gesture now has points for distance, not size.Thomas Zander2009-10-221-3/+3
|
* Improvements for gesture event deliveryDenis Dzyubenko2009-10-221-2/+1
| | | | | | | | | When delivering GestureOverride events by default both the event and individual gestures will be ignored. We also store the acceptance state of individual gesture in the event and not in the gesture object, along with its target. Reviewed-by: Thomas Zander
* A new implementation of the Gesture API.Denis Dzyubenko2009-10-091-11/+65
| | | | | | | Implemented gestures using gesture events and separate QGesture/QGestureRecognizer classes. Reviewed-by: trustme
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Improved the gesture api.Denis Dzyubenko2009-09-031-1/+4
| | | | | | | | | | | Added a new widget attribute Qt::WA_DontUseStandardGestures that disables all implicit gestures (i.e. gestures that are automatically enabled by Qt itself). This change also changes the way gestures are handled on QAbstractScrollArea-based widgets on Windows - the gestures are supposed to be created on the viewport widget. Reviewed-by: Bradley T. Hughes
* 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-1/+4
| | | | | | | 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
* Removed the startPos/lastPos/pos from the gesture classes.Denis Dzyubenko2009-08-041-11/+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
* Refactored gesture apiDenis Dzyubenko2009-07-021-26/+9
| | | | | | | | | | | | | | | | 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.
* 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
* implemented gestures support in graphicsview for QGraphicsItems andDenis Dzyubenko2009-05-181-1/+3
| | | | | | QGraphicsProxyWidgets. This is still work-in-progress.
* Improved gesture propagation.Denis Dzyubenko2009-05-111-1/+2
| | | | | | | | | | | 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.
* Improved gesture target widget detection.Denis Dzyubenko2009-05-111-0/+2
| | | | | | | | | | | | Gesture is now associated with a target widget and whenever several gesture events occur at the same time if they are supposed to be handled by different widgets, each widget will receive only gestures related to itself. For example this makes possible to use gesture framework with multitouch when user interacts with two widgets at the same time. GraphicsView implements is not implemented yet.
* Gesture recognizer don;t create new QGesture object every timeDenis Dzyubenko2009-05-111-0/+7
| | | | anymore, but just fill data on a single qgesture object.
* Renamed QPannableGesture to QPanningGesture.Denis Dzyubenko2009-05-111-2/+2
|
* Extended the gesture documentation.Denis Dzyubenko2009-05-111-4/+0
| | | | Also made some small fixes that noticed while was writing a doc.
* Modifications after the api review by Brad.Denis Dzyubenko2009-05-111-1/+6
| | | | | | | | | | | | Gesture types are now separated to internal ones, which are listed as enums (though they might be converted to strings internally), and third party gestures which are referenced by strings. From now on QGesture objects derive from QObject, which means third party gesture recognizer developers can use QObjects property system to store custom data inside QGesture without need to subclass it. Some functions were renamed to show their purpose more clear.
* Merge of the maemo-gestures branch onto qt/4.5.0Denis Dzyubenko2009-05-111-0/+100
This is a squashed merge of all of the changes in the maemo-gestures branch on-top of the qt/4.5.0 branch.