summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesture.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* Doc: Fix qdoc warningsVolker Hilsheimer2009-08-101-1/+1
|
* Changed setting state in a QGestureDenis Dzyubenko2009-08-061-8/+40
| | | | | | | | | | | | 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
* QTapAndHoldGesture is gone, remove referenceVolker Hilsheimer2009-08-051-1/+1
|
* Removed the startPos/lastPos/pos from the gesture classes.Denis Dzyubenko2009-08-041-45/+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
* Gestures: fixed install event filter bugRichard Moe Gustavsen2009-07-301-2/+2
| | | | | | made sure that we set the filter on the correct widget RevBy: denis
* doc: Corrected several qdoc warnings.Martin Smith2009-07-031-0/+7
|
* Refactored gesture apiDenis Dzyubenko2009-07-021-175/+133
| | | | | | | | | | | | | | | | 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.
* doc: Fixed several qdoc error reports.Martin Smith2009-07-011-0/+16
| | | | | Also changed qdoc not to warn about undocumented parameters if the function is marked with the \reimp command.
* 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-0/+25
|
* Added missing \since 4.6 doc tagDenis Dzyubenko2009-05-111-0/+2
|
* Improved gesture propagation.Denis Dzyubenko2009-05-111-1/+1
| | | | | | | | | | | 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.
* renamed QGesture::gestureType() to just type() and fixed the doc.Denis Dzyubenko2009-05-111-3/+7
|
* Oops, fixed a memory corruption in Pan gesture due to invalid d-pointer type.Denis Dzyubenko2009-05-111-1/+2
|
* Gesture recognizer don;t create new QGesture object every timeDenis Dzyubenko2009-05-111-16/+45
| | | | anymore, but just fill data on a single qgesture object.
* Renamed QPannableGesture to QPanningGesture.Denis Dzyubenko2009-05-111-6/+6
|
* More documentation fixes.Denis Dzyubenko2009-05-111-28/+37
|
* Extended the gesture documentation.Denis Dzyubenko2009-05-111-8/+116
| | | | Also made some small fixes that noticed while was writing a doc.
* Modifications after the api review by Brad.Denis Dzyubenko2009-05-111-26/+30
| | | | | | | | | | | | 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.
* Merge of the maemo-gestures branch onto qt/4.5.0Denis Dzyubenko2009-05-111-0/+133
This is a squashed merge of all of the changes in the maemo-gestures branch on-top of the qt/4.5.0 branch.