5#include <private/qquickwindow_p.h>
92 for (
const QObject *grabber :
event->passiveGrabbers(
point)) {
93 if (grabber && grabber->parent() ==
parent() &&
94 grabber->metaObject()->className() ==
metaObject()->className())
106 switch (
point.state()) {
122 point.setAccepted(
false);
255#include "moc_qquickpointhandler_p.cpp"
The QEventPoint class provides information about a point in a QPointerEvent.
A base class for pointer events.
static bool isTouchEvent(const QPointerEvent *ev)
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
bool wantsEventPoint(const QPointerEvent *event, const QEventPoint &point) override
Returns true if the given point (as part of event) could be relevant at all to this handler,...
void translationChanged()
void handleEventPoint(QPointerEvent *event, QEventPoint &point) override
QQuickPointHandler(QQuickItem *parent=nullptr)
\qmltype PointHandler \instantiates QQuickPointHandler \inherits SinglePointHandler \inqmlmodule QtQu...
Qt::MouseButtons acceptedButtons
virtual bool wantsEventPoint(const QPointerEvent *event, const QEventPoint &point)
Returns true if the given point (as part of event) could be relevant at all to this handler,...
void setPassiveGrab(QPointerEvent *event, const QEventPoint &point, bool grab=true)
Acquire or give up a passive grab of the given point, according to the grab state.
void setActive(bool active)
virtual void handleEventPoint(QPointerEvent *event, QEventPoint &point)
void setIgnoreAdditionalPoints(bool v=true)
A base class for pointer events containing a single point, such as mouse events.
The QVector2D class represents a vector or vertex in 2D space.
Combined button and popup list for selecting options.
static qreal position(const QQuickItem *item, QQuickAnchors::Anchor anchorLine)
obj metaObject() -> className()
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent