54 #include <QtGui/private/qtguiglobal_p.h>
55 #include <QtCore/qurl.h>
56 #include <QtGui/qevent.h>
57 #include <QtGui/qwindow.h>
The QEventPoint class provides information about a point in a QPointerEvent.
void setSource(Qt::MouseEventSource s)
static QMutableSinglePointEvent & from(QSinglePointEvent &e)
QMutableSinglePointEvent(Type type=QEvent::None, const QPointingDevice *device=nullptr, const QEventPoint &point=QEventPoint(), Qt::MouseButton button=Qt::NoButton, Qt::MouseButtons buttons=Qt::NoButton, Qt::KeyboardModifiers modifiers=Qt::NoModifier, Qt::MouseEventSource source=Qt::MouseEventSynthesizedByQt)
QMutableSinglePointEvent(const QSinglePointEvent &other)
~QMutableSinglePointEvent() override
static QMutableSinglePointEvent * from(QSinglePointEvent *e)
void setDoubleClick(bool d=true)
~QMutableTouchEvent() override
QMutableTouchEvent(QEvent::Type eventType=QEvent::TouchBegin, const QPointingDevice *device=nullptr, Qt::KeyboardModifiers modifiers=Qt::NoModifier, const QList< QEventPoint > &touchPoints=QList< QEventPoint >())
void setTarget(QObject *target)
static QMutableTouchEvent & from(QTouchEvent &e)
static QMutableTouchEvent * from(QTouchEvent *e)
The QObject class is the base class of all Qt objects.
The QPointingDevice class describes a device from which mouse, touch or tablet events originate.
A base class for pointer events containing a single point, such as mouse events.
The QTouchEvent class contains parameters that describe a touch event.
@ MouseEventSynthesizedByQt
GLsizei GLsizei GLchar * source