summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qstandardgestures.h
Commit message (Collapse)AuthorAgeFilesLines
* Improved a QGesture api a little bit.Denis Dzyubenko2009-08-211-2/+2
| | | | | | | Changed the constructor of the QGesture to separate the gesture target (the object/widget that the gesture filters events for), and the parent object. Reviewed-by: Richard Moe Gustavsen
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* Implemented QPinchGesture.Denis Dzyubenko2009-08-101-0/+39
| | | | | | | | | | | Added a new standard gesture, which is implemented using a native zoom and rotate gestures on Windows and with a direct touch event handling on other platforms. Improved pan support - we subscribe to native pan gesture only when it's really needed, and we pass proper flags for single finger horizontal/vertical panning. Reviewed-by: Richard Moe Gustavsen
* Made the QGesture::reset function protected.Denis Dzyubenko2009-08-101-1/+3
| | | | | | | By default the QGesture::reset function is protected, and it can be made public in the derived class if necessary. Reviewed-by: trustme
* Removed the startPos/lastPos/pos from the gesture classes.Denis Dzyubenko2009-08-041-3/+0
| | | | | | | | It doesn't make much sense to have that low-level info neither in the base QGesture class, nor in the QPanGesture, as the latter one has offset properties instead. Reviewed-by: trustme
* Removed the QTapAndHoldGestureDenis Dzyubenko2009-08-041-16/+0
| | | | | | | | Moved the gesture implementation to the imageviewer example as it cannot be fully implemented in a crossplatform way - for example on Windows tap and hold is a system gesture that is transparent to the application. Reviewed-by: trustme
* Moved the native window gesture handling code to the right place.Denis Dzyubenko2009-08-041-2/+5
|
* Fixed includes in the gestures public headers.Denis Dzyubenko2009-07-201-4/+3
| | | | Reviewed-by: trustme
* Refactored gesture apiDenis Dzyubenko2009-07-021-0/+102
Rewritten the api almost from scratch, making it simplier and more flexible at the same time. The current implementation will not have complex gseturemanager class inside Qt, but the QGesture base class, which represents both a gesture recognizer and a gesture itself with a set of properties. A set of common gestures that can use used in third-party applications (and in Qt itself internally) is supposed to be found in qstandardgestures.h, and a base class for user-defined gestures is in qgesture.h Gesture implementation for Pan on Windows7 has also been added as a reference implementation for platform gestures.