- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QSinglePointEvent
,QTouchEvent
A base class for pointer events
Java wrapper for Qt class QPointerEvent
This class was introduced in Qt 6.0.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionQPointerEvent
(QEvent.Type type, QPointingDevice dev) QPointerEvent
(QEvent.Type type, QPointingDevice dev, Qt.KeyboardModifiers modifiers) Overloaded constructor forQPointerEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.Qt.KeyboardModifiers, java.util.Collection)
withpoints = java.util.Collections.emptyList()
.QPointerEvent
(QEvent.Type type, QPointingDevice dev, Qt.KeyboardModifiers modifiers, Collection<? extends QEventPoint> points) SeeQPointerEvent::
QPointerEvent(QEvent::Type, const QPointingDevice*, Qt::KeyboardModifiers, QList<QEventPoint>) protected
QPointerEvent
(QPointerEvent arg__1) SeeQPointerEvent::
QPointerEvent(QPointerEvent) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
addPassiveGrabber
(QEventPoint point, QObject grabber) final boolean
final boolean
protected final void
assign
(QPointerEvent other) SeeQPointerEvent::
operator=(QPointerEvent) final void
clearPassiveGrabbers
(QEventPoint point) clone()
final QObject
exclusiveGrabber
(QEventPoint point) boolean
SeeQPointerEvent::
isBeginEvent()const boolean
SeeQPointerEvent::
isEndEvent()const boolean
SeeQPointerEvent::
isUpdateEvent()const passiveGrabbers
(QEventPoint point) final QEventPoint
point
(long i) final QEventPoint
pointById
(int id) final long
final QPointingDevice
final QList<QEventPoint>
points()
final boolean
removePassiveGrabber
(QEventPoint point, QObject grabber) protected final void
set
(QPointerEvent other) Deprecated.void
setAccepted
(boolean accepted) final void
setExclusiveGrabber
(QEventPoint point, QObject exclusiveGrabber) final void
setPoint
(long i, QEventPoint point) void
setTimestamp
(long timestamp) SeeQInputEvent::
setTimestamp(quint64) Methods inherited from class io.qt.gui.QInputEvent
assign, device, deviceType, modifiers, set, setDevice, setModifiers, setModifiers, timestamp
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QPointerEvent
public QPointerEvent(QEvent.Type type, QPointingDevice dev, Qt.KeyboardModifiers modifiers, Collection<? extends QEventPoint> points) See
QPointerEvent::
QPointerEvent(QEvent::Type, const QPointingDevice*, Qt::KeyboardModifiers, QList<QEventPoint>) -
QPointerEvent
See
QPointerEvent::
QPointerEvent(QPointerEvent) -
QPointerEvent
Overloaded constructor for
QPointerEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.Qt.KeyboardModifiers, java.util.Collection)
withpoints = java.util.Collections.emptyList()
. -
QPointerEvent
Overloaded constructor for
QPointerEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.Qt.KeyboardModifiers, java.util.Collection)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
points = java.util.Collections.emptyList()
-
-
Method Details
-
addPassiveGrabber
-
allPointsAccepted
-
allPointsGrabbed
-
clearPassiveGrabbers
-
exclusiveGrabber
-
assign
See
QPointerEvent::
operator=(QPointerEvent) -
passiveGrabbers
-
point
-
pointById
-
pointCount
-
pointerType
-
pointingDevice
-
points
-
removePassiveGrabber
-
setExclusiveGrabber
-
clone
This function was introduced in Qt 6.0.
- Overrides:
clone
in classQInputEvent
-
isBeginEvent
See
QPointerEvent::
isBeginEvent()const -
isEndEvent
See
QPointerEvent::
isEndEvent()const -
isUpdateEvent
See
QPointerEvent::
isUpdateEvent()const -
setAccepted
- Overrides:
setAccepted
in classQEvent
-
setTimestamp
See
QInputEvent::
setTimestamp(quint64) - Overrides:
setTimestamp
in classQInputEvent
-
setPoint
-
set
Deprecated.Useassign(io.qt.gui.QPointerEvent)
instead.
-
assign(io.qt.gui.QPointerEvent)
instead.