summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesture.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename Q_DECLARE_SCOPED_PRIVATE back to Q_DECLARE_PRIVATEHarald Fernengel2009-08-061-1/+1
| | | | | | Rationale: We're using template magic now to get the private pointer in qglobal.h, so no need to have two macros. Also keeps backward compatibility with outside (KDE) code.
* Merge commit 'qt/master-stable'Jason Barron2009-08-061-12/+2
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.exe doc/src/classes/qnamespace.qdoc examples/examples.pro src/corelib/kernel/qcoreevent.cpp src/corelib/kernel/qobject.cpp src/gui/kernel/qapplication.cpp src/gui/kernel/qstandardgestures.h src/gui/kernel/qwidget.cpp
| * 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
* | Merge commit 'origin/master'Jason Barron2009-08-041-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/global/qglobal.h src/corelib/kernel/qmetatype.cpp src/corelib/kernel/qobject.cpp src/corelib/thread/qthread_unix.cpp src/gui/graphicsview/qgraphicssceneevent.h src/gui/itemviews/qheaderview.h src/gui/kernel/qapplication_qws.cpp src/gui/kernel/qgesture.h src/gui/kernel/qgesturerecognizer.h src/gui/painting/qpaintengine_raster.cpp src/network/access/qhttpnetworkreply.cpp src/network/access/qnetworkcookie.h src/network/socket/qnativesocketengine_unix.cpp
| * Squashed commit of the topic/exceptions branch.Harald Fernengel2009-08-031-2/+2
| | | | | | | | | | Contains some smaller fixes and renaming of macros. Looks big, but isn't scary at all ;)
* | 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
|
* Extended the gesture documentation.Denis Dzyubenko2009-05-111-23/+6
| | | | 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
|
* Modifications after the api review by Brad.Denis Dzyubenko2009-05-111-9/+16
| | | | | | | | | | | | 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/+128
This is a squashed merge of all of the changes in the maemo-gestures branch on-top of the qt/4.5.0 branch.