Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed all weird qHash usage for gesture identification. | Denis Dzyubenko | 2009-05-11 | 7 | -42/+85 |
| | |||||
* | 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 | 4 | -7/+11 |
| | |||||
* | 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 | 4 | -45/+33 |
| | | | | function breaks binary compatibility. | ||||
* | Removed the use of QSharedPointer from gesture api - since QGesture | Denis Dzyubenko | 2009-05-11 | 5 | -15/+12 |
| | | | | 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 | 8 | -83/+118 |
| | |||||
* | 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 | 4 | -40/+110 |
| | |||||
* | Modifications after the api review by Brad. | Denis Dzyubenko | 2009-05-11 | 24 | -612/+490 |
| | | | | | | | | | | | | 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. | ||||
* | Moved the code that translated QGestureEvent to | Denis Dzyubenko | 2009-05-11 | 1 | -10/+13 |
| | | | | | QGraphicsSceneGestureEvent to a viewport, so that the user could subscribe to gestures in a viewport as well. | ||||
* | Added QGraphicsSceneGestureEvent that extends plain QGestureEvent by | Denis Dzyubenko | 2009-05-11 | 10 | -48/+233 |
| | | | | | 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 | 4 | -26/+42 |
| | | | | | | Details: Several fixes - parsing only spontaneous mouse events and send gesture events to QGraphicsSceneItems according to their z-order | ||||
* | Fixes: QGraphicsView respects the spontaneous event flag for graphicsscene ↵ | Denis Dzyubenko | 2009-05-11 | 2 | -4/+7 |
| | | | | | | | events. Details: Copying the QEvent::spontaneous() flag from the received event to QGraphicsSceneEvent. | ||||
* | 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 | 29 | -6/+2433 |
| | | | | | 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 | 13 | -60/+107 |
|\ | |||||
| * | fix build on windows | Maurice Kalinowski | 2009-05-11 | 1 | -1/+1 |
| | | | | | | | | | | | | - partly revert f0243e70e05a3368582fd0478d840096d6b60c3f as it broke the build due to widgets accessible plugins using QDockWidgetLayout Reviewed-by: Rhys Weatherley | ||||
| * | removed more exports on private classes (QMouseEventEx and QKeyEventEx) | Thierry Bastian | 2009-05-08 | 1 | -2/+2 |
| | | |||||
| * | removing additional unused export to classes only used in QtGui | Thierry Bastian | 2009-05-08 | 1 | -4/+4 |
| | | | | | | | | Reviewed-by: ogoffart | ||||
| * | Do not export inline private classes in qcssparser_p.h | Thierry Bastian | 2009-05-08 | 1 | -7/+7 |
| | | | | | | | | Reviewed-by: ogoffart | ||||
| * | QToolBarLayout and QDockWidgetLayout, which are private classes, are | Thierry Bastian | 2009-05-08 | 7 | -26/+34 |
| | | | | | | | | | | | | | | | | | | | | no more exported designer was using QToolBarLayout members. We fixed that by using styles. Reviewed-by: Friedemann Kleint Reviewed-by: ogoffart | ||||
| * | Stop a crash in QMenuBar on Designer after my changes. | Norwegian Rock Cat | 2009-05-08 | 1 | -0/+2 |
| | | | | | | | | | | | | In the past, we checked on the existence of the pointer, but now that this is controlled by the property, we need to also check the pointer in the action event. | ||||
| * | Fixed unwanted merging of undo commands from different edit blocks | mae | 2009-05-08 | 3 | -20/+47 |
| | | | | | | | | | | | | | | | | | | With this patch, commands no longer merge across block bounderies. In order to have merging still work for the normal insertion and deletion case, the unnecessary beginEditBlock()/endEditBlock() calls where cleaned up. Reviewed-by: Simon Hausmann | ||||
| * | Improved scrolling performance with invisible blocks | mae | 2009-05-08 | 1 | -2/+12 |
| | | | | | | | | Reviewed-by: Thorbjørn | ||||
* | | 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 | 54 | -812/+1174 |
|\ \ | |/ | | | | | windows-7-multitouch | ||||
| * | fix WinCE build | Maurice Kalinowski | 2009-05-08 | 1 | -0/+2 |
| | | | | | | | | Reviewed-by: thartman | ||||
| * | Merge branch '4.5' | Thiago Macieira | 2009-05-07 | 11 | -59/+124 |
| |\ | | | | | | | | | | | | | | | | Conflicts: src/gui/painting/qbackingstore.cpp src/gui/painting/qwindowsurface_raster.cpp | ||||
| | * | Fixed a problem that caused QPrintDialog to invalidate QPrinter. | Trond Kjernåsen | 2009-05-07 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When passing a printer that is set up to print to a PDF file into QPrintDialog, the print dialog could invalidate the printer and not update the validity of it in a proper manner. Task-number: 252873 Reviewed-by: Samuel |