Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improved gesture propagation. | Denis Dzyubenko | 2009-05-11 | 8 | -62/+167 |
| | | | | | | | | | | | 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 | 4 | -34/+61 |
| | | | | | | | | | | | | 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 | 2 | -16/+26 |
| | | | | 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 | 6 | -34/+38 |
| | | | | events in gesture recognizers. | ||||
* | Fixed gesture event propagation and offset translation. | Denis Dzyubenko | 2009-05-11 | 3 | -40/+23 |
| | |||||
* | 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 |
| | |||||
* | Allow to start a Pan gesture only with the left mouse button. | Denis Dzyubenko | 2009-05-11 | 1 | -2/+6 |
| | |||||
* | Removed all weird qHash usage for gesture identification. | Denis Dzyubenko | 2009-05-11 | 6 | -37/+81 |
| | |||||
* | Fixed replaying mouse events if gesture starts over | Denis Dzyubenko | 2009-05-11 | 1 | -1/+1 |
| | | | | non-gesture-enabled subwidget. | ||||
* | Added a QApplication::eventDeliveryDelayForGestures property that | Denis Dzyubenko | 2009-05-11 | 4 | -6/+50 |
| | | | | | 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 | 2 | -22/+102 |
| | | | | to start. | ||||
* | Removed the AA_EnableGestures attribute. | Denis Dzyubenko | 2009-05-11 | 2 | -7/+1 |
| | |||||
* | add qgesture_p.h to the project | Bradley T. Hughes | 2009-05-11 | 1 | -0/+1 |
| | |||||
* | renamed QGesture::gestureType() to just type() and fixed the doc. | Denis Dzyubenko | 2009-05-11 | 3 | -6/+10 |
| | |||||
* | Small rename of internal variable in gesture recognizer. | Denis Dzyubenko | 2009-05-11 | 1 | -6/+6 |
| | |||||
* | Added Qt::GestureUpdated state for the gesture. | Denis Dzyubenko | 2009-05-11 | 3 | -21/+27 |
| | | | | So in total there are three main states - Started, Updated, Finished. | ||||
* | Oops, fixed a memory corruption in Pan gesture due to invalid d-pointer type. | Denis Dzyubenko | 2009-05-11 | 2 | -2/+4 |
| | |||||
* | Gesture manager takes ownership of the provided gesture recognizers. | Denis Dzyubenko | 2009-05-11 | 6 | -16/+19 |
| | |||||
* | Added coordinate translation for points inside gesture event when | Denis Dzyubenko | 2009-05-11 | 2 | -1/+7 |
| | | | | propagating event. | ||||
* | Gesture recognizer don;t create new QGesture object every time | Denis Dzyubenko | 2009-05-11 | 6 | -40/+106 |
| | | | | anymore, but just fill data on a single qgesture object. | ||||
* | Store the QGestureManager in QApplicationPrivate | Bradley T. Hughes | 2009-05-11 | 4 | -13/+21 |
| | | | | | ... since we don't want these to persist after QApplication has been destroyed | ||||
* | Removed QWidget::gestureEvent() functions since adding a new virtual | Denis Dzyubenko | 2009-05-11 | 2 | -8/+1 |
| | | | | function breaks binary compatibility. | ||||
* | Removed the use of QSharedPointer from gesture api - since QGesture | Denis Dzyubenko | 2009-05-11 | 3 | -7/+5 |
| | | | | are QObject now everything is much simplier. | ||||
* | Renamed QPannableGesture to QPanningGesture. | Denis Dzyubenko | 2009-05-11 | 3 | -11/+11 |
| | |||||
* | More documentation fixes. | Denis Dzyubenko | 2009-05-11 | 5 | -49/+48 |
| | |||||
* | Extended the gesture documentation. | Denis Dzyubenko | 2009-05-11 | 13 | -201/+304 |
| | | | | Also made some small fixes that noticed while was writing a doc. | ||||
* | Added meta-object properties to QGesture object. | Denis Dzyubenko | 2009-05-11 | 1 | -0/+9 |
| | |||||
* | De-inlined functions in gesture events. | Denis Dzyubenko | 2009-05-11 | 2 | -12/+47 |
| | |||||
* | Modifications after the api review by Brad. | Denis Dzyubenko | 2009-05-11 | 18 | -569/+440 |
| | | | | | | | | | | | | 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 | 4 | -24/+19 |
| | | | | | providing some additional info (like a widget that received a gesture - for coordinates conversions). | ||||
* | Forgot to export QGestureRecognizer class. | Denis Dzyubenko | 2009-05-11 | 1 | -1/+1 |
| | |||||
* | Fixes: Add missing functions for a adding custom gesture recognizers. | Denis Dzyubenko | 2009-05-11 | 4 | -7/+33 |
| | |||||
* | Fixes: Compilation fixes | Denis Dzyubenko | 2009-05-11 | 1 | -0/+1 |
| | |||||
* | 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: improved gesture manager event filtering. | Denis Dzyubenko | 2009-05-11 | 1 | -20/+23 |
| | | | | | | Details: Several fixes - parsing only spontaneous mouse events and send gesture events to QGraphicsSceneItems according to their z-order | ||||
* | Fixes: reset the internal gesture state when gesture in state 'maybe' is ↵ | Denis Dzyubenko | 2009-05-11 | 1 | -1/+1 |
| | | | | finished. | ||||
* | Added some documentation. | Denis Dzyubenko | 2009-05-11 | 5 | -11/+128 |
| | | | | Fixed missing const specifiers. | ||||
* | Fixed lastDirection in the Pan gesture. | Denis Dzyubenko | 2009-05-11 | 2 | -17/+32 |
| | |||||
* | Merge of the maemo-gestures branch onto qt/4.5.0 | Denis Dzyubenko | 2009-05-11 | 21 | -4/+2319 |
| | | | | | This is a squashed merge of all of the changes in the maemo-gestures branch on-top of the qt/4.5.0 branch. | ||||
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt | Bradley T. Hughes | 2009-05-11 | 1 | -2/+2 |
|\ | |||||
| * | removed more exports on private classes (QMouseEventEx and QKeyEventEx) | Thierry Bastian | 2009-05-08 | 1 | -2/+2 |
| | | |||||
* | | by default, ignore touch events if the widget is disabled | Bradley T. Hughes | 2009-05-08 | 1 | -0/+3 |
| | | |||||
* | | set qt_tabletChokeMouse to true whenever ANY touch event was accepted | Bradley T. Hughes | 2009-05-08 | 1 | -3/+2 |
| | | | | | | | | this makes sure we always get touch events, and the don't drop out seemingly randomly. | ||||
* | | don't store event state in QWidgetPrivate | Bradley T. Hughes | 2009-05-08 | 2 | -17/+20 |
| | | | | | | | | | | the only thing we store in the QWidgetPrivate is the current touch point list, nothing more (the rest is local state in the event translation code) | ||||
* | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵ | Bradley T. Hughes | 2009-05-08 | 11 | -154/+220 |
|\ \ | |/ | | | | | windows-7-multitouch | ||||
| * | Merge branch '4.5' | Thiago Macieira | 2009-05-07 | 2 | -2/+22 |
| |\ | | | | | | | | | | | | | | | | Conflicts: src/gui/painting/qbackingstore.cpp src/gui/painting/qwindowsurface_raster.cpp | ||||
| | * | handle the back soft key on Windows mobile SmartPhones | Joerg Bornemann | 2009-05-07 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We must tell the system that we want to intercept the back key on Windows mobile. Each toplevel widget that needs correct back key behaviour needs to have a menu bar. Why? Ask Microsoft... Task-number: 248846 Reviewed-by: thartman | ||||
| | * | qdoc: Moved platform-specific qdoc comments to common .cpp file. | Martin Smith | 2009-05-07 | 4 | -119/+131 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When building docs for the mac, qdoc comments for functions defined in the .h file were not found in any of the .cpp files in the mac package because they were in the x11 or windows .cpp file. So I moved them to a .cpp file that is in all the packages. Task-number: 252496 252492 |