summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-06-15 14:00:46 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-07-02 15:16:07 (GMT)
commit60e965fd35037f4a27816d2aeccafdff0d6ae9d6 (patch)
tree8a968022a03057cc29aa3f7cc246ee708d869b8a /doc
parent099a32d121cbc80a1a234c3146f4be9b5237e7e8 (diff)
downloadQt-60e965fd35037f4a27816d2aeccafdff0d6ae9d6.zip
Qt-60e965fd35037f4a27816d2aeccafdff0d6ae9d6.tar.gz
Qt-60e965fd35037f4a27816d2aeccafdff0d6ae9d6.tar.bz2
Refactored gesture api
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/qnamespace.qdoc38
1 files changed, 1 insertions, 37 deletions
diff --git a/doc/src/qnamespace.qdoc b/doc/src/qnamespace.qdoc
index e77cc7e..b691ac7 100644
--- a/doc/src/qnamespace.qdoc
+++ b/doc/src/qnamespace.qdoc
@@ -2700,20 +2700,6 @@
\internal
*/
-/*! \enum Qt::GestureType
- \since 4.6
-
- This enum lists standard gestures.
-
- \value UnknownGesture An unknown gesture. This enum value shouldn't be used.
- \value TapGesture A single tap gesture.
- \value DoubleTapGesture A double tap gesture.
- \value TrippleTapGesture A tripple tap gesture.
- \value TapAndHoldGesture A tap-and-hold (long tap) gesture.
- \value PanGesture A pan gesture.
- \value PinchGesture A pinch gesture.
-*/
-
/*!
\enum Qt::GestureState
\since 4.6
@@ -2722,30 +2708,8 @@
\omitvalue NoGesture
\value GestureStarted A continuous gesture has started.
- \value GestureUpdated A gesture continiues.
+ \value GestureUpdated A gesture continues.
\value GestureFinished A gesture has finished.
\sa QGesture
*/
-
-/*!
- \enum Qt::DirectionType
- \since 4.6
-
- This enum type describes directions. This could be used by the
- gesture recognizers.
-
- \value NoDirection Non-specific direction.
- \value LeftDownDirection
- \value DownLeftDirection
- \value DownDirection
- \value RightDownDirection
- \value DownRightDirection
- \value LeftDirection
- \value RightDirection
- \value LeftUpDirection
- \value UpLeftDirection
- \value UpDirection
- \value RightUpDirection
- \value UpRightDirection
-*/