11#ifndef KOPOINTEREVENT_H
12#define KOPOINTEREVENT_H
14#include <QSharedPointer>
23#include "kritaflake_export.h"
104 Qt::KeyboardModifiers modifiers()
const;
107 bool isAccepted()
const;
110 bool spontaneous()
const;
113 Qt::MouseButton
button()
const;
116 Qt::MouseButtons
buttons()
const;
119 QPoint globalPos()
const;
129 qreal pressure()
const;
132 qreal rotation()
const;
141 qreal tangentialPressure()
const;
190 bool isTabletEvent()
const;
195 bool isTouchEvent()
const;
200 static bool tabletInputReceived();
203#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
204 static void copyQtPointerEvent(
const QMouseEvent *event, QScopedPointer<QEvent> &dst);
205 static void copyQtPointerEvent(
const QTabletEvent *event, QScopedPointer<QEvent> &dst);
206 static void copyQtPointerEvent(
const QTouchEvent *event, QScopedPointer<QEvent> &dst);
216 const QScopedPointer<Private>
d;
221 template <
typename Event>
const QScopedPointer< Private > d
QPointF point
The point in document coordinates.
QString button(const QWheelEvent &ev)
QString buttons(const T &ev)
QSharedPointer< QEvent > baseQtEvent