![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtCore/qdebug.h>#include <QtGui/private/qevent_p.h>#include <QtGui/private/qeventpoint_p.h>#include <QtGui/private/qguiapplication_p.h>#include <QtGui/qpa/qplatformtheme.h>#include <QtQml/private/qabstractanimationjob_p.h>#include <QtQuick/private/qquickdeliveryagent_p_p.h>#include <QtQuick/private/qquickhoverhandler_p.h>#include <QtQuick/private/qquickpointerhandler_p_p.h>#include <QtQuick/private/qquickitem_p.h>#include <QtQuick/private/qquickprofiler_p.h>#include <QtQuick/private/qquickrendercontrol_p.h>#include <QtQuick/private/qquickwindow_p.h>#include <QtCore/qpointer.h>#include <QtCore/qvarlengtharray.h>#include <algorithm>#include <memory>#include "moc_qquickdeliveryagent_p.cpp"Go to the source code of this file.
Functions | |
| QT_BEGIN_NAMESPACE Q_GUI_EXPORT bool | qt_sendShortcutOverrideEvent (QObject *o, ulong timestamp, int k, Qt::KeyboardModifiers mods, const QString &text=QString(), bool autorep=false, ushort countcount=1) |
| static bool | allowSyntheticRightClick () |
| static QQuickDeliveryAgentPrivate::HoverItems::iterator | findHoverStateByItem (QQuickDeliveryAgentPrivate::HoverItems &hoverItems, QQuickItem *item) |
| static QQuickDeliveryAgentPrivate::HoverItems::const_iterator | findHoverStateByItem (const QQuickDeliveryAgentPrivate::HoverItems &hoverItems, const QQuickItem *item) |
| static void | markHovered (QQuickDeliveryAgentPrivate::HoverItemState &state, uint hoverId, bool fromTouch) |
| static bool | windowHasFocus (QQuickWindow *win) |
| static QQuickItem * | findFurthestFocusScopeAncestor (QQuickItem *item) |
| static bool | isEndOfFingerTouchSequence (const QTouchEvent *eventevent) |
| QDebug | operator<< (QDebug debug, const QQuickDeliveryAgent *da) |
|
static |
Definition at line 49 of file qquickdeliveryagent.cpp.
|
static |
Definition at line 399 of file qquickdeliveryagent.cpp.
|
static |
Definition at line 69 of file qquickdeliveryagent.cpp.
|
static |
Definition at line 61 of file qquickdeliveryagent.cpp.
|
static |
Returns true if event ends a finger touch sequence: that is, of one or more touchpoints, every point has been released, and we are sure that they came from fingers, not synthesized.
Finger touch has no hover state of its own (until we support hover-detecting touchscreens). Stylus-proximity hover must not be cleared here.
This mirrors the rule in QQuickHoverHandler::handleEventPoint().
Definition at line 1878 of file qquickdeliveryagent.cpp.
|
static |
Marks state as hovered, by a device that is a fingertip if fromTouch is true.
fromTouch is refreshed only if the entry is not hovered right now: an entry whose hoverId is 0 is a leftover from a hover that has already ended (it stays in hoverItems until deliverHoverEvent() prunes it), so hovering it again belongs to whichever device is establishing hover now. As long as the entry is hovered it keeps the flag it got when hover began, so that a finger tapping an item that a cursor already hovers cannot turn the cursor's hover into touch hover - which clearTouchHover() would then take away when the contact ends.
Definition at line 88 of file qquickdeliveryagent.cpp.
| QDebug operator<< | ( | QDebug | debug, |
| const QQuickDeliveryAgent * | da ) |
Definition at line 3312 of file qquickdeliveryagent.cpp.
|
extern |
Definition at line 1171 of file qwindowsysteminterface.cpp.
|
inlinestatic |
Definition at line 391 of file qquickdeliveryagent.cpp.