summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesturemanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added a simple test for gesture event delivery to graphicsitemsDenis Dzyubenko2009-05-201-0/+1
|
* Fixed warning.Denis Dzyubenko2009-05-181-8/+9
|
* More improvement to gesture propagation (still no graphicsview).Denis Dzyubenko2009-05-181-51/+58
|
* implemented gestures support in graphicsview for QGraphicsItems andDenis Dzyubenko2009-05-181-19/+19
| | | | | | QGraphicsProxyWidgets. This is still work-in-progress.
* Small improvement in gesturemanager and a fix for potential crashDenis Dzyubenko2009-05-181-2/+2
|
* Replaced evil foreach with a for loop.Denis Dzyubenko2009-05-181-4/+8
|
* Improved gesture propagation.Denis Dzyubenko2009-05-111-26/+94
| | | | | | | | | | | 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-30/+56
| | | | | | | | | | | | 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.
* Oops, we should replay mouse events to the same widget that was supposedDenis Dzyubenko2009-05-111-16/+24
| | | | to receive them.
* Improved delaying mouse events delivery.Denis Dzyubenko2009-05-111-3/+5
|
* Generalized gesture filtering code to allow handling not only mouseDenis Dzyubenko2009-05-111-3/+12
| | | | events in gesture recognizers.
* Fixed gesture event propagation and offset translation.Denis Dzyubenko2009-05-111-22/+1
|
* Replaced inefficient foreach with a for loop.Denis Dzyubenko2009-05-111-4/+8
|
* Forgot to initialize a variable.Denis Dzyubenko2009-05-111-1/+1
|
* Removed all weird qHash usage for gesture identification.Denis Dzyubenko2009-05-111-7/+34
|
* Added a QApplication::eventDeliveryDelayForGestures property thatDenis Dzyubenko2009-05-111-5/+15
| | | | | specifies a timout for mouse event delivery to allow the gesture framework to successfully recognizer a gesture.
* Implemented delaying and replaying mouse events when gesture is aboutDenis Dzyubenko2009-05-111-22/+99
| | | | to start.
* Removed the AA_EnableGestures attribute.Denis Dzyubenko2009-05-111-6/+0
|
* Gesture manager takes ownership of the provided gesture recognizers.Denis Dzyubenko2009-05-111-3/+4
|
* Added coordinate translation for points inside gesture event whenDenis Dzyubenko2009-05-111-1/+6
| | | | propagating event.
* Gesture recognizer don;t create new QGesture object every timeDenis Dzyubenko2009-05-111-0/+3
| | | | anymore, but just fill data on a single qgesture object.
* Store the QGestureManager in QApplicationPrivateBradley T. Hughes2009-05-111-2/+2
| | | | | ... since we don't want these to persist after QApplication has been destroyed
* Modifications after the api review by Brad.Denis Dzyubenko2009-05-111-34/+35
| | | | | | | | | | | | 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.
* Added QGraphicsSceneGestureEvent that extends plain QGestureEvent byDenis Dzyubenko2009-05-111-4/+4
| | | | | providing some additional info (like a widget that received a gesture - for coordinates conversions).
* Fixes: Add missing functions for a adding custom gesture recognizers.Denis Dzyubenko2009-05-111-0/+10
|
* If the event wasn't consumed by the gesture target widget, thenDenis Dzyubenko2009-05-111-3/+4
| | | | gesture manager should consume it as well.
* Fixes: reset the internal gesture state when gesture in state 'maybe' is ↵Denis Dzyubenko2009-05-111-1/+1
| | | | finished.
* Merge of the maemo-gestures branch onto qt/4.5.0Denis Dzyubenko2009-05-111-0/+405
This is a squashed merge of all of the changes in the maemo-gestures branch on-top of the qt/4.5.0 branch.