summaryrefslogtreecommitdiffstats
path: root/src/gui
Commit message (Collapse)AuthorAgeFilesLines
* Removed all weird qHash usage for gesture identification.Denis Dzyubenko2009-05-117-42/+85
|
* 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-114-7/+11
|
* 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-114-45/+33
| | | | function breaks binary compatibility.
* Removed the use of QSharedPointer from gesture api - since QGestureDenis Dzyubenko2009-05-115-15/+12
| | | | are QObject now everything is much simplier.
* Renamed QPannableGesture to QPanningGesture.Denis Dzyubenko2009-05-113-11/+11
|
* More documentation fixes.Denis Dzyubenko2009-05-118-83/+118
|
* 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-114-40/+110
|
* Modifications after the api review by Brad.Denis Dzyubenko2009-05-1124-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 toDenis Dzyubenko2009-05-111-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 byDenis Dzyubenko2009-05-1110-48/+233
| | | | | 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-114-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 Dzyubenko2009-05-112-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 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-1129-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/qtBradley T. Hughes2009-05-1113-60/+107
|\
| * fix build on windowsMaurice Kalinowski2009-05-111-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 Bastian2009-05-081-2/+2
| |
| * removing additional unused export to classes only used in QtGuiThierry Bastian2009-05-081-4/+4
| | | | | | | | Reviewed-by: ogoffart
| * Do not export inline private classes in qcssparser_p.hThierry Bastian2009-05-081-7/+7
| | | | | | | | Reviewed-by: ogoffart
| * QToolBarLayout and QDockWidgetLayout, which are private classes, areThierry Bastian2009-05-087-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 Cat2009-05-081-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 blocksmae2009-05-083-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 blocksmae2009-05-081-2/+12
| | | | | | | | Reviewed-by: Thorbjørn
* | 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-0854-812/+1174
|\ \ | |/ | | | | windows-7-multitouch
| * fix WinCE buildMaurice Kalinowski2009-05-081-0/+2
| | | | | | | | Reviewed-by: thartman
| * Merge branch '4.5'Thiago Macieira2009-05-0711-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åsen2009-05-071-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