java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QContextMenuEvent
,QKeyEvent
,QPointerEvent
The base class for events that describe user input
Java wrapper for Qt's class QInputEvent
-
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
ModifierConstructorDescriptionQInputEvent
(QEvent.Type type, QInputDevice m_dev) Overloaded constructor forQInputEvent(io.qt.core.QEvent.Type, io.qt.gui.QInputDevice, io.qt.core.Qt.KeyboardModifiers)
withmodifiers = new io.qt.core.Qt.KeyboardModifiers(0)
.QInputEvent
(QEvent.Type type, QInputDevice m_dev, Qt.KeyboardModifier ... modifiers) Overloaded constructor forQInputEvent(io.qt.core.QEvent.Type, io.qt.gui.QInputDevice, io.qt.core.Qt.KeyboardModifiers)
.QInputEvent
(QEvent.Type type, QInputDevice m_dev, Qt.KeyboardModifiers modifiers) protected
QInputEvent
(QInputEvent arg__1) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QInputEvent other) clone()
final QInputDevice
device()
final QInputDevice.DeviceType
protected final void
set
(QInputEvent other) Deprecated.protected final void
setDevice
(QInputDevice device) final void
setModifiers
(Qt.KeyboardModifier ... modifiers) Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.final void
setModifiers
(Qt.KeyboardModifiers modifiers) void
setTimestamp
(long timestamp) final long
toString()
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QInputEvent
Overloaded constructor for
QInputEvent(io.qt.core.QEvent.Type, io.qt.gui.QInputDevice, io.qt.core.Qt.KeyboardModifiers)
. -
QInputEvent
Overloaded constructor for
QInputEvent(io.qt.core.QEvent.Type, io.qt.gui.QInputDevice, io.qt.core.Qt.KeyboardModifiers)
withmodifiers = new io.qt.core.Qt.KeyboardModifiers(0)
. -
QInputEvent
-
QInputEvent
-
QInputEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
device
-
deviceType
-
modifiers
-
set
Deprecated.Useassign(io.qt.gui.QInputEvent)
instead. -
assign
-
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setModifiers
-
timestamp
-
clone
-
setTimestamp
-
setDevice
-
toString
-
assign(io.qt.gui.QInputEvent)
instead.