![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qquickpresshandler_p_p.h>
Public Member Functions | |
| void | mousePressEvent (QMouseEvent *event) |
| void | mouseMoveEvent (QMouseEvent *event) |
| void | mouseReleaseEvent (QMouseEvent *event) |
| void | timerEvent (QTimerEvent *event) |
| void | clearDelayedMouseEvent () |
| bool | isActive () |
Static Public Member Functions | |
| static bool | isSignalConnected (QQuickItem *item, const char *signalName, int &signalIndex) |
Public Attributes | |
| QQuickItem * | control = nullptr |
| QBasicTimer | timer |
| QPointF | pressPos |
| bool | longPress = false |
| int | pressAndHoldSignalIndex = -1 |
| int | pressedSignalIndex = -1 |
| int | releasedSignalIndex = -1 |
| std::unique_ptr< QMouseEvent > | delayedMousePressEvent |
Definition at line 31 of file qquickpresshandler_p_p.h.
| void QQuickPressHandler::clearDelayedMouseEvent | ( | ) |
Definition at line 88 of file qquickpresshandler.cpp.
Referenced by timerEvent().
| bool QQuickPressHandler::isActive | ( | ) |
Definition at line 93 of file qquickpresshandler.cpp.
|
static |
Definition at line 98 of file qquickpresshandler.cpp.
Referenced by mousePressEvent(), mouseReleaseEvent(), and timerEvent().
| void QQuickPressHandler::mouseMoveEvent | ( | QMouseEvent * | event | ) |
Definition at line 41 of file qquickpresshandler.cpp.
| QT_BEGIN_NAMESPACE void QQuickPressHandler::mousePressEvent | ( | QMouseEvent * | event | ) |
Definition at line 17 of file qquickpresshandler.cpp.
References control, isSignalConnected(), longPress, and pressedSignalIndex.
| void QQuickPressHandler::mouseReleaseEvent | ( | QMouseEvent * | event | ) |
Definition at line 47 of file qquickpresshandler.cpp.
References control, isSignalConnected(), and releasedSignalIndex.
| void QQuickPressHandler::timerEvent | ( | QTimerEvent * | event | ) |
Definition at line 65 of file qquickpresshandler.cpp.
References clearDelayedMouseEvent(), control, isSignalConnected(), longPress, and pressAndHoldSignalIndex.
| QQuickItem* QQuickPressHandler::control = nullptr |
Definition at line 43 of file qquickpresshandler_p_p.h.
Referenced by mousePressEvent(), mouseReleaseEvent(), and timerEvent().
| std::unique_ptr<QMouseEvent> QQuickPressHandler::delayedMousePressEvent |
Definition at line 50 of file qquickpresshandler_p_p.h.
| bool QQuickPressHandler::longPress = false |
Definition at line 46 of file qquickpresshandler_p_p.h.
Referenced by mousePressEvent(), and timerEvent().
| int QQuickPressHandler::pressAndHoldSignalIndex = -1 |
Definition at line 47 of file qquickpresshandler_p_p.h.
Referenced by timerEvent().
| int QQuickPressHandler::pressedSignalIndex = -1 |
Definition at line 48 of file qquickpresshandler_p_p.h.
Referenced by mousePressEvent().
| QPointF QQuickPressHandler::pressPos |
Definition at line 45 of file qquickpresshandler_p_p.h.
| int QQuickPressHandler::releasedSignalIndex = -1 |
Definition at line 49 of file qquickpresshandler_p_p.h.
Referenced by mouseReleaseEvent().
| QBasicTimer QQuickPressHandler::timer |
Definition at line 44 of file qquickpresshandler_p_p.h.