- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QSinglePointEvent
,QTouchEvent
A base class for pointer events
Java wrapper for Qt class QPointerEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ConstructorsModifierConstructorDescriptionQPointerEvent
(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
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()
-
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)
-
-
Method Details
-
addPassiveGrabber
-
allPointsAccepted
-
allPointsGrabbed
-
clearPassiveGrabbers
-
exclusiveGrabber
-
set
Deprecated.Useassign(io.qt.gui.QPointerEvent)
instead. -
assign
See
QPointerEvent::
operator=(QPointerEvent) -
passiveGrabbers
-
point
-
pointById
-
pointCount
-
pointerType
-
pointingDevice
-
points
-
removePassiveGrabber
-
setExclusiveGrabber
-
clone
- 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
-
assign(io.qt.gui.QPointerEvent)
instead.