Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added a simple test for gesture event delivery to graphicsitems | Denis Dzyubenko | 2009-05-20 | 1 | -0/+1 |
| | |||||
* | Fixed warning. | Denis Dzyubenko | 2009-05-18 | 1 | -8/+9 |
| | |||||
* | More improvement to gesture propagation (still no graphicsview). | Denis Dzyubenko | 2009-05-18 | 1 | -51/+58 |
| | |||||
* | implemented gestures support in graphicsview for QGraphicsItems and | Denis Dzyubenko | 2009-05-18 | 1 | -19/+19 |
| | | | | | | QGraphicsProxyWidgets. This is still work-in-progress. | ||||
* | Small improvement in gesturemanager and a fix for potential crash | Denis Dzyubenko | 2009-05-18 | 1 | -2/+2 |
| | |||||
* | Replaced evil foreach with a for loop. | Denis Dzyubenko | 2009-05-18 | 1 | -4/+8 |
| | |||||
* | Improved gesture propagation. | Denis Dzyubenko | 2009-05-11 | 1 | -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 Dzyubenko | 2009-05-11 | 1 | -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 supposed | Denis Dzyubenko | 2009-05-11 | 1 | -16/+24 |
| | | | | to receive them. | ||||
* | Improved delaying mouse events delivery. | Denis Dzyubenko | 2009-05-11 | 1 | -3/+5 |
| | |||||
* | Generalized gesture filtering code to allow handling not only mouse | Denis Dzyubenko | 2009-05-11 | 1 | -3/+12 |
| | | | | events in gesture recognizers. | ||||
* | Fixed gesture event propagation and offset translation. | Denis Dzyubenko | 2009-05-11 | 1 | -22/+1 |
| | |||||
* | Replaced inefficient foreach with a for loop. | Denis Dzyubenko | 2009-05-11 | 1 | -4/+8 |
| | |||||
* | Forgot to initialize a variable. | Denis Dzyubenko | 2009-05-11 | 1 | -1/+1 |
| | |||||
* | Removed all weird qHash usage for gesture identification. | Denis Dzyubenko | 2009-05-11 | 1 | -7/+34 |
| | |||||
* | Added a QApplication::eventDeliveryDelayForGestures property that | Denis Dzyubenko | 2009-05-11 | 1 | -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 about | Denis Dzyubenko | 2009-05-11 | 1 | -22/+99 |
| | | | | to start. | ||||
* | Removed the AA_EnableGestures attribute. | Denis Dzyubenko | 2009-05-11 | 1 | -6/+0 |
| | |||||
* | Gesture manager takes ownership of the provided gesture recognizers. | Denis Dzyubenko | 2009-05-11 | 1 | -3/+4 |
| | |||||
* | Added coordinate translation for points inside gesture event when | Denis Dzyubenko | 2009-05-11 | 1 | -1/+6 |
| | | | | propagating event. | ||||
* | Gesture recognizer don;t create new QGesture object every time | Denis Dzyubenko | 2009-05-11 | 1 | -0/+3 |
| | | | | anymore, but just fill data on a single qgesture object. | ||||
* | Store the QGestureManager in QApplicationPrivate | Bradley T. Hughes | 2009-05-11 | 1 | -2/+2 |
| | | | | | ... since we don't want these to persist after QApplication has been destroyed | ||||
* | Modifications after the api review by Brad. | Denis Dzyubenko | 2009-05-11 | 1 | -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 by | Denis Dzyubenko | 2009-05-11 | 1 | -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 Dzyubenko | 2009-05-11 | 1 | -0/+10 |
| | |||||
* | If the event wasn't consumed by the gesture target widget, then | Denis Dzyubenko | 2009-05-11 | 1 | -3/+4 |
| | | | | gesture manager should consume it as well. | ||||
* | Fixes: reset the internal gesture state when gesture in state 'maybe' is ↵ | Denis Dzyubenko | 2009-05-11 | 1 | -1/+1 |
| | | | | finished. | ||||
* | Merge of the maemo-gestures branch onto qt/4.5.0 | Denis Dzyubenko | 2009-05-11 | 1 | -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. |