From 6bc72d76b60de1e02e5356d48ee662568cc624c6 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Thu, 3 Jan 2019 13:13:22 +0100 Subject: Doc: Fix link issues Change-Id: I0e08820a6d25996fe27118f05214ff63d695d24e Reviewed-by: Venugopal Shivashankar --- src/quick/handlers/qquicktaphandler.cpp | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'src/quick/handlers/qquicktaphandler.cpp') diff --git a/src/quick/handlers/qquicktaphandler.cpp b/src/quick/handlers/qquicktaphandler.cpp index 9386676b7a..41ac294df3 100644 --- a/src/quick/handlers/qquicktaphandler.cpp +++ b/src/quick/handlers/qquicktaphandler.cpp @@ -229,7 +229,7 @@ void QQuickTapHandler::timerEvent(QTimerEvent *event) will not take the exclusive grab, but merely a passive grab. \value TapHandler.WithinBounds - If the event point leaves the bounds of the \l parent Item, the tap + If the event point leaves the bounds of the \c parent Item, the tap gesture is canceled. The TapHandler will take the exclusive grab on press, but will release the grab as soon as the boundary constraint is no longer satisfied. @@ -237,7 +237,7 @@ void QQuickTapHandler::timerEvent(QTimerEvent *event) \value TapHandler.ReleaseWithinBounds At the time of release (the mouse button is released or the finger is lifted), if the event point is outside the bounds of the - \l parent Item, a tap gesture is not recognized. This corresponds to + \c parent Item, a tap gesture is not recognized. This corresponds to typical behavior for button widgets: you can cancel a click by dragging outside the button, and you can also change your mind by dragging back inside the button before release. Note that it's @@ -382,7 +382,7 @@ void QQuickTapHandler::updateTimeHeld() /*! \qmlsignal QtQuick::TapHandler::tapped - This signal is emitted each time the \l parent Item is tapped. + This signal is emitted each time the \c parent Item is tapped. That is, if you press and release a touchpoint or button within a time period less than \l longPressThreshold, while any movement does not exceed @@ -394,7 +394,7 @@ void QQuickTapHandler::updateTimeHeld() \qmlsignal QtQuick::TapHandler::singleTapped \since 5.11 - This signal is emitted when the \l parent Item is tapped once. + This signal is emitted when the \c parent Item is tapped once. After an amount of time greater than QStyleHints::mouseDoubleClickInterval, it can be tapped again; but if the time until the next tap is less, \l tapCount will increase. @@ -404,7 +404,7 @@ void QQuickTapHandler::updateTimeHeld() \qmlsignal QtQuick::TapHandler::doubleTapped \since 5.11 - This signal is emitted when the \l parent Item is tapped twice within a + This signal is emitted when the \c parent Item is tapped twice within a short span of time (QStyleHints::mouseDoubleClickInterval) and distance (QPlatformTheme::MouseDoubleClickDistance or QPlatformTheme::TouchDoubleTapDistance). This signal always occurs after @@ -414,11 +414,18 @@ void QQuickTapHandler::updateTimeHeld() /*! \qmlsignal QtQuick::TapHandler::longPressed - This signal is emitted when the \l parent Item is pressed and held for a + This signal is emitted when the \c parent Item is pressed and held for a time period greater than \l longPressThreshold. That is, if you press and hold a touchpoint or button, while any movement does not exceed the drag threshold, then the \c longPressed signal will be emitted at the time that \l timeHeld exceeds \l longPressThreshold. */ +/*! + \qmlsignal QtQuick::TapHandler::tapCountChanged + + This signal is emitted when the \c parent Item is tapped once or more (within + a specified time and distance span) and when the present \c tapCount differs + from the previous \c tapCount. +*/ QT_END_NAMESPACE -- cgit v1.2.3