summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesture.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Implemented Tap and TapAndHold gestures.Denis Dzyubenko2009-11-051-0/+34
| | | | | | Added QGesture objects and gesture recognizers based on touch events. Reviewed-by: Bradley T. Hughes
* Gesture api review.Denis Dzyubenko2009-11-031-9/+12
| | | | | | Changes to the gesture api after the review. Reviewed-by: Jasmin Blanchette
* Make GestureCancelPolicy work for graphicsviewThomas Zander2009-10-301-0/+1
| | | | Reviewed-By: Denis
* Introduce QGesture::GestureCancelPolicy, a way to auto-cancel gesturesThomas Zander2009-10-281-0/+10
| | | | | | | | | 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-9/+9
|
* Improved gesture event filtering inside QGraphicsView for QGraphicObjectsDenis Dzyubenko2009-10-221-4/+0
| | | | Reviewed-by: trustme
* fix compilation with namespaceshjk2009-10-151-2/+6
|
* Mac: implement gestures conforming to the new APIRichard Moe Gustavsen2009-10-131-4/+2
|
* Removed the QGesture contructor that we don't really need.Denis Dzyubenko2009-10-121-3/+2
| | | | | | | | | 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-20/+133
| | | | | | | 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
* Fixed the spelling of canceled in the QGesture api brought up by David Boddie.Denis Dzyubenko2009-09-071-1/+1
| | | | Reviewed-by: trustme
* 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-2/+6
| | | | | | | 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
* Made the QGesture::reset function protected.Denis Dzyubenko2009-08-101-2/+1
| | | | | | | By default the QGesture::reset function is protected, and it can be made public in the derived class if necessary. Reviewed-by: trustme
* Changed setting state in a QGestureDenis Dzyubenko2009-08-061-1/+1
| | | | | | | | | | | | 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
* Removed the startPos/lastPos/pos from the gesture classes.Denis Dzyubenko2009-08-041-12/+2
| | | | | | | | 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
* Fixed includes in the gestures public headers.Denis Dzyubenko2009-07-201-6/+6
| | | | Reviewed-by: trustme
* signals -> Q_SIGNALSVolker Hilsheimer2009-07-031-1/+1
|
* Refactored gesture apiDenis Dzyubenko2009-07-021-63/+19
| | | | | | | | | | | | | | | | 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
* Added setters to QGesture object.Denis Dzyubenko2009-05-201-7/+14
|
* No need to mark QGesture ctor explicitDenis Dzyubenko2009-05-181-2/+2
|
* implemented gestures support in graphicsview for QGraphicsItems andDenis Dzyubenko2009-05-181-0/+2
| | | | | | QGraphicsProxyWidgets. This is still work-in-progress.
* Improved gesture propagation.Denis Dzyubenko2009-05-111-0/+8
| | | | | | | | | | | 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.
* Fixed gesture event propagation and offset translation.Denis Dzyubenko2009-05-111-0/+1
|
* renamed QGesture::gestureType() to just type() and fixed the doc.Denis Dzyubenko2009-05-111-2/+2
|
* Oops, fixed a memory corruption in Pan gesture due to invalid d-pointer type.Denis Dzyubenko2009-05-111-1/+2
|
* Added coordinate translation for points inside gesture event whenDenis Dzyubenko2009-05-111-0/+1
| | | | propagating event.
* Gesture recognizer don;t create new QGesture object every timeDenis Dzyubenko2009-05-111-4/+15
| | | | anymore, but just fill data on a single qgesture object.
* Removed the use of QSharedPointer from gesture api - since QGestureDenis Dzyubenko2009-05-111-1/+0
| | | | are QObject now everything is much simplier.
* Renamed QPannableGesture to QPanningGesture.Denis Dzyubenko2009-05-111-3/+3
|
* More documentation fixes.Denis Dzyubenko2009-05-111-6/+3
|
* Extended the gesture documentation.Denis Dzyubenko2009-05-111-23/+6
| | | | Also made some small fixes that noticed while was writing a doc.
* Added meta-object properties to QGesture object.Denis Dzyubenko2009-05-111-0/+9
|
* Modifications after the api review by Brad.Denis Dzyubenko2009-05-111-9/+16
| | | | | | | | | | | | 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/+128
This is a squashed merge of all of the changes in the maemo-gestures branch on-top of the qt/4.5.0 branch.