java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
io.qt.gui.QPointerEvent
- 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
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<QEventPoint> points) protected
QPointerEvent
(QPointerEvent arg__1) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
addPassiveGrabber
(QEventPoint point, QObject grabber) final boolean
final boolean
final void
clearPassiveGrabbers
(QEventPoint point) clone()
final QObject
exclusiveGrabber
(QEventPoint point) boolean
boolean
boolean
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) void
setAccepted
(boolean accepted) final void
setExclusiveGrabber
(QEventPoint point, QObject exclusiveGrabber) final void
setPoint
(long i, QEventPoint point) void
setTimestamp
(long timestamp) toString()
Methods inherited from class io.qt.gui.QInputEvent
device, deviceType, modifiers, set, setDevice, setModifiers, setModifiers, timestamp
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, spontaneous, 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<QEventPoint> points) -
QPointerEvent
-
QPointerEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addPassiveGrabber
-
allPointsAccepted
-
allPointsGrabbed
-
clearPassiveGrabbers
-
exclusiveGrabber
-
set
-
passiveGrabbers
-
point
-
pointById
-
pointCount
-
pointerType
-
pointingDevice
-
points
-
removePassiveGrabber
-
setExclusiveGrabber
-
clone
- Overrides:
clone
in classQInputEvent
-
isBeginEvent
-
isEndEvent
-
isUpdateEvent
-
setAccepted
- Overrides:
setAccepted
in classQEvent
-
setTimestamp
- Overrides:
setTimestamp
in classQInputEvent
-
setPoint
-
toString
- Overrides:
toString
in classQInputEvent
-