diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2012-11-30 19:30:12 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-01 10:31:20 +0100 |
commit | b32d7bc96d44d46781256e7ef9b4d1e09c18ed2e (patch) | |
tree | ae6c909ca7691ab094b93abdc423463d77d637f4 /src/widgets/kernel | |
parent | f1cc2aaea9440af57ce6c0df5179ef4f5e184675 (diff) |
Move gestures overview from qtdoc to qtbase; mention Qt Quick
On the one hand this doc reads like an overview, but didn't mention
Qt Quick; on the other, the gestures framework is questionable,
and in any case is solidly in the widgets module, not reusable for
Qt Quick. So, just added some comments at the end to make it clear
that Qt Quick takes a different approach. Also changed the relevant
links because the title has changed.
Change-Id: I66a0c0c106f496de26fb8947e90826ef39ccfddd
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src/widgets/kernel')
-rw-r--r-- | src/widgets/kernel/qgesture.cpp | 14 | ||||
-rw-r--r-- | src/widgets/kernel/qgesturerecognizer.cpp | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/widgets/kernel/qgesture.cpp b/src/widgets/kernel/qgesture.cpp index 1f12d1a60d..1d20cb7445 100644 --- a/src/widgets/kernel/qgesture.cpp +++ b/src/widgets/kernel/qgesture.cpp @@ -62,7 +62,7 @@ QT_BEGIN_NAMESPACE QGestureRecognizer::registerRecognizer(). For an overview of gesture handling in Qt and information on using gestures - in your applications, see the \l{Gestures Programming} document. + in your applications, see the \l{Gestures in Widgets and Graphics View} document. \section1 Gesture Properties @@ -226,7 +226,7 @@ QGesture::GestureCancelPolicy QGesture::gestureCancelPolicy() const \image pangesture.png For an overview of gesture handling in Qt and information on using gestures - in your applications, see the \l{Gestures Programming} document. + in your applications, see the \l{Gestures in Widgets and Graphics View} document. \sa QPinchGesture, QSwipeGesture */ @@ -352,7 +352,7 @@ void QPanGesture::setAcceleration(qreal value) of detail of the user interface. For an overview of gesture handling in Qt and information on using gestures - in your applications, see the \l{Gestures Programming} document. + in your applications, see the \l{Gestures in Widgets and Graphics View} document. \image pinchgesture.png @@ -621,7 +621,7 @@ void QPinchGesture::setRotationAngle(qreal value) \image swipegesture.png For an overview of gesture handling in Qt and information on using gestures - in your applications, see the \l{Gestures Programming} document. + in your applications, see the \l{Gestures in Widgets and Graphics View} document. \sa QPanGesture, QPinchGesture */ @@ -733,7 +733,7 @@ void QSwipeGesture::setSwipeAngle(qreal value) \inmodule QtWidgets For an overview of gesture handling in Qt and information on using gestures - in your applications, see the \l{Gestures Programming} document. + in your applications, see the \l{Gestures in Widgets and Graphics View} document. \sa QPanGesture, QPinchGesture */ @@ -777,7 +777,7 @@ void QTapGesture::setPosition(const QPointF &value) \inmodule QtWidgets For an overview of gesture handling in Qt and information on using gestures - in your applications, see the \l{Gestures Programming} document. + in your applications, see the \l{Gestures in Widgets and Graphics View} document. \sa QPanGesture, QPinchGesture */ @@ -870,7 +870,7 @@ int QTapAndHoldGesturePrivate::Timeout = 700; // in ms \section1 Further Reading For an overview of gesture handling in Qt and information on using gestures - in your applications, see the \l{Gestures Programming} document. + in your applications, see the \l{Gestures in Widgets and Graphics View} document. \sa QGesture, QGestureRecognizer, QWidget::grabGesture(), QGraphicsObject::grabGesture() diff --git a/src/widgets/kernel/qgesturerecognizer.cpp b/src/widgets/kernel/qgesturerecognizer.cpp index db3b76b070..766fc8fc06 100644 --- a/src/widgets/kernel/qgesturerecognizer.cpp +++ b/src/widgets/kernel/qgesturerecognizer.cpp @@ -64,7 +64,7 @@ QT_BEGIN_NAMESPACE framework. For an overview of gesture handling in Qt and information on using gestures - in your applications, see the \l{Gestures Programming} document. + in your applications, see the \l{Gestures in Widgets and Graphics View} document. \section1 Recognizing Gestures |