summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesturemanager_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a new qconfig feature GESTURESTasuku Suzuki2010-06-021-0/+4
| | | | | Merge-request: 535 Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
* Removed the "maybe" timer from gesturemanager.Denis Dzyubenko2010-05-181-2/+1
| | | | | | | | | | | According to users of the api "maybe" timer (that is supposed to cancel gestures that have stayed in the "MaybeGesture" state for too long) is not useful and might even harm some gestures, so removing it completely and leaving it up to the author of a gesture recognizer to make sure the state machine is implemented properly. Task-number: QTBUG-9926 Reviewed-by: Thomas Zander
* Fixes a crash when unregistering a recognizer.Denis Dzyubenko2010-05-051-1/+1
| | | | | | | | | | | Another fix for the same problem - we also need to be careful - when ungrabbing a gesture for the recognizer that has already been destroyed and cleaning up the QGesture object for it we need to make sure we know it is removed from the obsolete gestures list so that we won't delete it again in the QGestureManager detructor. Task-number: QTBUG-9801 Reviewed-by: Thomas Zander
* Fixes a crash when destroying and creating QApplication.Denis Dzyubenko2010-01-071-3/+1
| | | | | | | | Moved the gestureManager pointer to a QApplicationPrivate to make sure if QApplication object is destroyed, QGestureManager pointer is set to zero. Task-number: QTBUG-7029 Reviewed-by: Thiago
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Optimisations to gesture event filtering.Denis Dzyubenko2009-12-151-2/+2
| | | | | | | Now we don't filter some events through the gesture manager and use QMap instead of QHash, which seem to be a bit faster in our cases. Reviewed-by: Olivier Goffart
* Merge commit '51c9b68' into 4.6Morten Johan Sørvig2009-11-041-1/+4
|\ | | | | | | | | | | Conflicts: dist/changes-4.6.0 src/gui/kernel/qevent.h
| * Gesture api review.Denis Dzyubenko2009-11-031-1/+2
| | | | | | | | | | | | Changes to the gesture api after the review. Reviewed-by: Jasmin Blanchette
| * Make GestureCancelPolicy work for graphicsviewThomas Zander2009-10-301-0/+2
| | | | | | | | Reviewed-By: Denis
* | Merge commit 'origin/4.6' into featureJørgen Lind2009-11-021-11/+20
|\ \ | |/
| * Replaced QMap with QHash where possible in the gesture manager implementation.Denis Dzyubenko2009-10-281-4/+4
| | | | | | | | | | | | There is no reason to use QMap when the key is a pointer. Reviewed-by: Thomas Zander
| * Fixed the gesture event filtering through multiple gesture recognizers.Denis Dzyubenko2009-10-281-2/+3
| | | | | | | | | | | | | | | | | | When there are several gesture recognizers registered for the same gesture type, we need to know which recognizer we need to get a state object for since those QGesture objects are tied to the recognizer that created them. Reviewed-by: Thomas Zander
| * Rename private member variables to begin with m_Thomas Zander2009-10-281-9/+8
| | | | | | | | Reviewed-By: TrustMe
| * Introduce QGesture::GestureCancelPolicy, a way to auto-cancel gesturesThomas Zander2009-10-281-0/+2
| | | | | | | | | | | | | | | | | | 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
| * Add QWidget::ungrabGestureThomas Zander2009-10-261-0/+2
| | | | | | | | Reviewed-by: Denis Dzyubenko
| * Implement QApplication::unregisterGestureRecognizerThomas Zander2009-10-261-2/+7
| | | | | | | | Reviewed-by: Denis Dzyubenko
* | Fix GRAPHICSVIEWJørgen Lind2009-10-291-0/+2
|/ | | | Reviewed-by: tom
* Improving gesture event delivery for widgets.Denis Dzyubenko2009-10-221-4/+8
| | | | Reviewed-by: trustme
* Improved gesture event filtering inside QGraphicsView for QGraphicObjectsDenis Dzyubenko2009-10-221-2/+8
| | | | Reviewed-by: trustme
* A new implementation of the Gesture API.Denis Dzyubenko2009-10-091-0/+125
Implemented gestures using gesture events and separate QGesture/QGestureRecognizer classes. Reviewed-by: trustme