summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qstandardgestures_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a new qconfig feature GESTURESTasuku Suzuki2010-06-021-0/+4
| | | | | Merge-request: 535 Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Implemented Tap and TapAndHold gestures.Denis Dzyubenko2009-11-051-0/+20
| | | | | | Added QGesture objects and gesture recognizers based on touch events. Reviewed-by: Bradley T. Hughes
* Implemented QSwipeGesture recognizer using touch events.Denis Dzyubenko2009-11-051-0/+9
| | | | Reviewed-by: Bradley T. Hughes
* Gesture api review.Denis Dzyubenko2009-11-031-5/+4
| | | | | | Changes to the gesture api after the review. Reviewed-by: Jasmin Blanchette
* Implemented pinch gesture recognizer.Denis Dzyubenko2009-11-031-0/+11
| | | | Reviewed-by: trustme
* A new implementation of the Gesture API.Denis Dzyubenko2009-10-091-70/+7
| | | | | | | Implemented gestures using gesture events and separate QGesture/QGestureRecognizer classes. Reviewed-by: trustme
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Added a property to QPinchGesture to specify what exactly changed.Denis Dzyubenko2009-09-031-1/+3
| | | | | | | Added QPinchGesture::whatChanged() which specifies which property in the pinch gesture changed - the scale factor or rotation angle or both. Reviewed-by: Bradley T. Hughes
* Improved the gesture api.Denis Dzyubenko2009-09-031-5/+11
| | | | | | | | | | | | | | Made properties in QPanGesture and QPinchGesture more consistent - all of them have value, lastValue and totalValue. Documented that totalValue means the value from the beginning of the gesture, while the 'value' - from the beginning of the current sequence. This is especially useful on Windows when you zoom with two fingers and then release one finger and touch again to continue zooming. Also added a workaround for native Rotate gesture on Windows which contain a 'bad' value in the first WM_GESTURE message in every gesture sequence. Reviewed-by: Bradley T. Hughes
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Gestures: Implement swipe gestureRichard Moe Gustavsen2009-08-271-0/+14
| | | | Note: if this fails building on any platform, talk to Denis!
* Gestures: make all screen points floatRichard Moe Gustavsen2009-08-271-3/+3
| | | | | | This is more in accordance with touch points, and graphics view Rev-By: Discussed with Denis and Brad
* Cocoa: implement pan gestures to follow mouseRichard Moe Gustavsen2009-08-271-1/+1
|
* Cocoa: Implement single touch panRichard Moe Gustavsen2009-08-271-12/+7
|
* Improved a QGesture api a little bit.Denis Dzyubenko2009-08-211-0/+5
| | | | | | | 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/+25
| | | | | | | | | | | 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
* Removed the QTapAndHoldGestureDenis Dzyubenko2009-08-041-14/+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/+9
|
* Add support for pan gesture on mac (carbon and cocoa)Richard Moe Gustavsen2009-08-041-0/+6
|
* Refactored gesture apiDenis Dzyubenko2009-07-021-0/+91
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.