(424417e7468ea5363bb1bcd105d2032bba2d9dc3)
#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.
|
| 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 count=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 *event) |
| QDebug | operator<< (QDebug debug, const QQuickDeliveryAgent *da) |
◆ allowSyntheticRightClick()
| bool allowSyntheticRightClick |
( |
| ) |
|
|
static |
◆ findFurthestFocusScopeAncestor()
◆ findHoverStateByItem() [1/2]
◆ findHoverStateByItem() [2/2]
◆ isEndOfFingerTouchSequence()
| bool isEndOfFingerTouchSequence |
( |
const QTouchEvent * | event | ) |
|
|
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 1869 of file qquickdeliveryagent.cpp.
◆ markHovered()
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.
◆ operator<<()
◆ qt_sendShortcutOverrideEvent()
◆ windowHasFocus()