summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesture.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headersAkseli Salovaara2015-03-311-13/+13
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I7e3e96183e073877b46bc8071b2ccae19e69426b Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Updated year in copyright headerKai Koehne2014-03-261-1/+1
| | | | | | | | | | | | | | | | | | find . -path '*/3rdparty/*' -prune -o -type f -print | xargs -L1 sed -i -E 's/Copyright(.*) 2013 Digia/Copyright\1 2014 Digia/g' Manually patched files: demos/spectrum/3rdparty/fftreal/fftreal_wrapper.h demos/spectrum/3rdparty/fftreal/fftreal_wrapper.cpp src/3rdparty/s60/eiksoftkeyimage.h tools/qdoc3/test/qt-project.qdocconf tests/auto/qsharedpointer/nontracked.h tests/auto/qsharedpointer/nontracked.cpp Change-Id: I3f9074923b4d6bd4666258ab04f01476cc6e901c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Sergio Ahumada <sahumada@blackberry.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-131-1/+1
| | | | | | Change-Id: I52bf8ef0447b701b4ebf7d7d240013a72adb9425 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-291-24/+24
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I280c0a575987d1770e354b4948f1d4d767d711ea Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Update contact information in license headers.Sergio Ahumada2012-08-011-2/+2
| | | | | | | | | | | | | - Replace Nokia contact email address with Qt Project website. - Remove "All rights reserved" line from license headers. As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: Ie7ba62011752fcb149b99b26317c54f2a0cfa931 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Update year in Nokia copyright messages.Jason McDonald2012-01-111-1/+1
| | | | | | | | | Simple search and replace. This commit doesn't touch 3rd-party files, nor translations (where the change is not so simple and will be handled in a separate commit). Change-Id: I4e48513b8078a44a8cd272326685b25338890148 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-131-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Update copyright year to 2011.Jason McDonald2011-01-111-1/+1
| | | | Reviewed-by: Trust Me
* expose GestureType for using in QMLZeno Albisser2010-09-141-0/+1
| | | | Reviewed-by: Denis Dzyubenko
* Added velocity property to the QPanGesture.Zeno Albisser2010-09-131-0/+2
| | | | Reviewed-by: Denis Dzyubenko
* Changed the speed property on QSwipeGesture to velocityZeno Albisser2010-09-131-0/+1
| | | | Reviewed-by: Denis Dzyubenko
* Register a few gesture-related types in the meta-type system.Denis Dzyubenko2010-07-231-0/+3
| | | | | Reviewed-by: Zeno Albisser Reviewed-by: Volker Hilsheimer
* Change default TapAndHold timeout and make configurableThomas Zander2010-07-081-0/+3
| | | | | | | | The new default timeout is 700ms and is what Nokia Research found through usability studies. Nevertheless lets provide public API to set this through a platform plugin or similar. Reviewed-By: Denis
* 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-071-1/+1
| | | | Reviewed-by: Trust Me
* Implemented Tap and TapAndHold gestures.Denis Dzyubenko2009-11-051-0/+34
| | | | | | Added QGesture objects and gesture recognizers based on touch events. Reviewed-by: Bradley T. Hughes
* Gesture api review.Denis Dzyubenko2009-11-031-9/+12
| | | | | | Changes to the gesture api after the review. Reviewed-by: Jasmin Blanchette
* Make GestureCancelPolicy work for graphicsviewThomas Zander2009-10-301-0/+1
| | | | Reviewed-By: Denis
* Introduce QGesture::GestureCancelPolicy, a way to auto-cancel gesturesThomas Zander2009-10-281-0/+10
| | | | | | | | | On accepting one gesture Qt can automatically cancel other gestures that belong to other targets. The policy is normally set to not cancel any other gestures and can be set to cancel all active gestures in the context. For example for all child widgets. Reviewed-By: Denis Dzyubenko
* Change API; the pan gesture now has points for distance, not size.Thomas Zander2009-10-221-9/+9
|
* Improved gesture event filtering inside QGraphicsView for QGraphicObjectsDenis Dzyubenko2009-10-221-4/+0
| | | | Reviewed-by: trustme
* fix compilation with namespaceshjk2009-10-151-2/+6
|
* Mac: implement gestures conforming to the new APIRichard Moe Gustavsen2009-10-131-4/+2
|
* Removed the QGesture contructor that we don't really need.Denis Dzyubenko2009-10-121-3/+2
| | | | | | | | | The constructor that accepts a gesture type is not needed because the gesture type id will be generated by Qt and assigned to the QGesture object when a custom gesture recognizer is registered within the framework. Reviewed-by: trustme
* A new implementation of the Gesture API.Denis Dzyubenko2009-10-091-20/+133
| | | | | | | 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
* Fixed the spelling of canceled in the QGesture api brought up by David Boddie.Denis Dzyubenko2009-09-071-1/+1
| | | | Reviewed-by: trustme
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Improved a QGesture api a little bit.Denis Dzyubenko2009-08-211-2/+6
| | | | | | | 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
* Made the QGesture::reset function protected.Denis Dzyubenko2009-08-101-2/+1
| | | | | | | By default the QGesture::reset function is protected, and it can be made public in the derived class if necessary. Reviewed-by: trustme
* Changed setting state in a QGestureDenis Dzyubenko2009-08-061-1/+1
| | | | | | | | | | | | Instead of having a protected setter for the state and forcing the application developer to emit signals manually (which leads to misunderstanding - i.e. if the started() signal should be emitted only once, or of the triggered() signal should be emitted before the finished() signal, etc). So I've added an protected updateState(state) function that sets the internal state and emits appropriate signals depending on the old and new states. Reviewed-by: Volker Hilsheimer Reviewed-by: Richard Moe Gustavsen
* Removed the startPos/lastPos/pos from the gesture classes.Denis Dzyubenko2009-08-041-12/+2
| | | | | | | | 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
* Fixed includes in the gestures public headers.Denis Dzyubenko2009-07-201-6/+6
| | | | Reviewed-by: trustme
* signals -> Q_SIGNALSVolker Hilsheimer2009-07-031-1/+1
|
* Refactored gesture apiDenis Dzyubenko2009-07-021-63/+19
| | | | | | | | | | | | | | | | 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.
* Fix license headers after multitouch+gestures merge.Jason McDonald2009-06-291-5/+5
| | | | | | | Commercial license headers belong in source packages only. The repo must have the pre-release license headers. Reviewed-by: Trust Me
* Fix old/missing license headers from multitouch+gestures merge.Jason McDonald2009-06-291-3/+3
| | | | Reviewed-by: Trust Me
* Added setters to QGesture object.Denis Dzyubenko2009-05-201-7/+14
|
* No need to mark QGesture ctor explicitDenis Dzyubenko2009-05-181-2/+2
|
* implemented gestures support in graphicsview for QGraphicsItems andDenis Dzyubenko2009-05-181-0/+2
| | | | | | QGraphicsProxyWidgets. This is still work-in-progress.
* Improved gesture propagation.Denis Dzyubenko2009-05-111-0/+8
| | | | | | | | | | | 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.
* Fixed gesture event propagation and offset translation.Denis Dzyubenko2009-05-111-0/+1
|
* renamed QGesture::gestureType() to just type() and fixed the doc.Denis Dzyubenko2009-05-111-2/+2
|
* Oops, fixed a memory corruption in Pan gesture due to invalid d-pointer type.Denis Dzyubenko2009-05-111-1/+2
|
* Added coordinate translation for points inside gesture event whenDenis Dzyubenko2009-05-111-0/+1
| | | | propagating event.
* Gesture recognizer don;t create new QGesture object every timeDenis Dzyubenko2009-05-111-4/+15
| | | | anymore, but just fill data on a single qgesture object.
* Removed the use of QSharedPointer from gesture api - since QGestureDenis Dzyubenko2009-05-111-1/+0
| | | | are QObject now everything is much simplier.
* Renamed QPannableGesture to QPanningGesture.Denis Dzyubenko2009-05-111-3/+3
|
* More documentation fixes.Denis Dzyubenko2009-05-111-6/+3
|