4#ifndef QQUICKPOINTERHANDLER_H
5#define QQUICKPOINTERHANDLER_H
18#include <QtCore/QObject>
19#include <QtCore/qloggingcategory.h>
20#include <QtCore/qtconfigmacros.h>
21#include <QtGui/qeventpoint.h>
22#include <QtGui/qpointingdevice.h>
23#include <QtQml/QQmlParserStatus>
24#include <QtQml/qqmlregistration.h>
25#include <QtQuick/qtquickglobal.h>
26#include <QtQuick/private/qtquickexports_p.h>
42 Q_PROPERTY(
bool active READ active NOTIFY activeChanged FINAL)
45 Q_PROPERTY(GrabPermissions grabPermissions READ grabPermissions WRITE setGrabPermissions NOTIFY grabPermissionChanged FINAL)
46 Q_PROPERTY(
qreal margin READ margin WRITE setMargin NOTIFY marginChanged FINAL)
47 Q_PROPERTY(
int dragThreshold READ dragThreshold WRITE setDragThreshold RESET resetDragThreshold NOTIFY dragThresholdChanged REVISION(2, 15) FINAL)
49 Q_PROPERTY(
Qt::CursorShape cursorShape READ cursorShape WRITE setCursorShape RESET resetCursorShape NOTIFY cursorShapeChanged REVISION(2, 15) FINAL)
62 TakeOverForbidden = 0x0,
63 CanTakeOverFromHandlersOfSameType = 0x01,
64 CanTakeOverFromHandlersOfDifferentType= 0x02,
65 CanTakeOverFromItems = 0x04,
66 CanTakeOverFromAnything = 0x0F,
67 ApprovesTakeOverByHandlersOfSameType = 0x10,
68 ApprovesTakeOverByHandlersOfDifferentType= 0x20,
69 ApprovesTakeOverByItems = 0x40,
70 ApprovesCancellation = 0x80,
71 ApprovesTakeOverByAnything = 0xF0
90 GrabPermissions grabPermissions()
const;
91 void setGrabPermissions(GrabPermissions grabPermissions);
94 void setMargin(
qreal pointDistanceThreshold);
96 int dragThreshold()
const;
97 void setDragThreshold(
int t);
98 void resetDragThreshold();
103 void resetCursorShape();
104 bool isCursorShapeExplicitlySet()
const;
114 void grabPermissionChanged();
124 void classBegin() override;
125 void componentComplete() override;
132 void setActive(
bool active);
143 bool parentContains(
const QEventPoint &point)
const;
144 bool parentContains(
const QPointF &scenePosition)
const;
The QEventPoint class provides information about a point in a QPointerEvent.
\inmodule QtCore\reentrant
A base class for pointer events.
The QPointingDevice class describes a device from which mouse, touch or tablet events originate.
GrabTransition
This enum represents a transition of exclusive or passive grab from one object (possibly nullptr) to ...
The QQmlParserStatus class provides updates on the QML parser state.
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Q_REVISION(2, 15) void dragThresholdChanged()
Q_REVISION(6, 3) void parentChanged()
virtual void onActiveChanged()
Combined button and popup list for selecting options.
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage void
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
#define Q_DECLARE_LOGGING_CATEGORY(name)
GLenum GLenum GLsizei const GLuint GLboolean enabled
#define QML_UNCREATABLE(REASON)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent