summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
Commit message (Collapse)AuthorAgeFilesLines
* Improved gesture propagation.Denis Dzyubenko2009-05-118-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 Dzyubenko2009-05-114-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 supposedDenis Dzyubenko2009-05-112-16/+26
| | | | 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-116-34/+38
| | | | events in gesture recognizers.
* Fixed gesture event propagation and offset translation.Denis Dzyubenko2009-05-113-40/+23
|
* Replaced inefficient foreach with a for loop.Denis Dzyubenko2009-05-111-4/+8
|
* Forgot to initialize a variable.Denis Dzyubenko2009-05-111-1/+1
|
* Allow to start a Pan gesture only with the left mouse button.Denis Dzyubenko2009-05-111-2/+6
|
* Removed all weird qHash usage for gesture identification.Denis Dzyubenko2009-05-116-37/+81
|
* Fixed replaying mouse events if gesture starts overDenis Dzyubenko2009-05-111-1/+1
| | | | non-gesture-enabled subwidget.
* Added a QApplication::eventDeliveryDelayForGestures property thatDenis Dzyubenko2009-05-114-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 aboutDenis Dzyubenko2009-05-112-22/+102
| | | | to start.
* Removed the AA_EnableGestures attribute.Denis Dzyubenko2009-05-112-7/+1
|
* add qgesture_p.h to the projectBradley T. Hughes2009-05-111-0/+1
|
* renamed QGesture::gestureType() to just type() and fixed the doc.Denis Dzyubenko2009-05-113-6/+10
|
* Small rename of internal variable in gesture recognizer.Denis Dzyubenko2009-05-111-6/+6
|
* Added Qt::GestureUpdated state for the gesture.Denis Dzyubenko2009-05-113-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 Dzyubenko2009-05-112-2/+4
|
* Gesture manager takes ownership of the provided gesture recognizers.Denis Dzyubenko2009-05-116-16/+19
|
* Added coordinate translation for points inside gesture event whenDenis Dzyubenko2009-05-112-1/+7
| | | | propagating event.
* Gesture recognizer don;t create new QGesture object every timeDenis Dzyubenko2009-05-116-40/+106
| | | | anymore, but just fill data on a single qgesture object.
* Store the QGestureManager in QApplicationPrivateBradley T. Hughes2009-05-114-13/+21
| | | | | ... since we don't want these to persist after QApplication has been destroyed
* Removed QWidget::gestureEvent() functions since adding a new virtualDenis Dzyubenko2009-05-112-8/+1
| | | | function breaks binary compatibility.
* Removed the use of QSharedPointer from gesture api - since QGestureDenis Dzyubenko2009-05-113-7/+5
| | | | are QObject now everything is much simplier.
* Renamed QPannableGesture to QPanningGesture.Denis Dzyubenko2009-05-113-11/+11
|
* More documentation fixes.Denis Dzyubenko2009-05-115-49/+48
|
* Extended the gesture documentation.Denis Dzyubenko2009-05-1113-201/+304
| | | | Also made some small fixes that noticed while was writing a doc.
* Added meta-object properties to QGesture object.Denis Dzyubenko2009-05-111-0/+9
|
* De-inlined functions in gesture events.Denis Dzyubenko2009-05-112-12/+47
|
* Modifications after the api review by Brad.Denis Dzyubenko2009-05-1118-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 byDenis Dzyubenko2009-05-114-24/+19
| | | | | providing some additional info (like a widget that received a gesture - for coordinates conversions).
* Forgot to export QGestureRecognizer class.Denis Dzyubenko2009-05-111-1/+1
|
* Fixes: Add missing functions for a adding custom gesture recognizers.Denis Dzyubenko2009-05-114-7/+33
|
* Fixes: Compilation fixesDenis Dzyubenko2009-05-111-0/+1
|
* 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: improved gesture manager event filtering.Denis Dzyubenko2009-05-111-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 Dzyubenko2009-05-111-1/+1
| | | | finished.
* Added some documentation.Denis Dzyubenko2009-05-115-11/+128
| | | | Fixed missing const specifiers.
* Fixed lastDirection in the Pan gesture.Denis Dzyubenko2009-05-112-17/+32
|
* Merge of the maemo-gestures branch onto qt/4.5.0Denis Dzyubenko2009-05-1121-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/qtBradley T. Hughes2009-05-111-2/+2
|\
| * removed more exports on private classes (QMouseEventEx and QKeyEventEx)Thierry Bastian2009-05-081-2/+2
| |
* | by default, ignore touch events if the widget is disabledBradley T. Hughes2009-05-081-0/+3
| |
* | set qt_tabletChokeMouse to true whenever ANY touch event was acceptedBradley T. Hughes2009-05-081-3/+2
| | | | | | | | this makes sure we always get touch events, and the don't drop out seemingly randomly.
* | don't store event state in QWidgetPrivateBradley T. Hughes2009-05-082-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. Hughes2009-05-0811-154/+220
|\ \ | |/ | | | | windows-7-multitouch
| * Merge branch '4.5'Thiago Macieira2009-05-072-2/+22
| |\ | | | | | | | | | | | | | | | Conflicts: src/gui/painting/qbackingstore.cpp src/gui/painting/qwindowsurface_raster.cpp
| | * handle the back soft key on Windows mobile SmartPhonesJoerg Bornemann2009-05-071-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 Smith2009-05-074-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