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 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) SeeQInputEvent::
QInputEvent(QEvent::Type, const QInputDevice*, Qt::KeyboardModifiers) protected
QInputEvent
(QInputEvent arg__1) SeeQInputEvent::
QInputEvent(QInputEvent) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QInputEvent other) SeeQInputEvent::
operator=(QInputEvent) clone()
final QInputDevice
device()
final QInputDevice.DeviceType
protected final void
set
(QInputEvent other) Deprecated.protected final void
setDevice
(QInputDevice device) SeeQInputEvent::
m_dev final void
setModifiers
(Qt.KeyboardModifier ... modifiers) Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.final void
setModifiers
(Qt.KeyboardModifiers modifiers) SeeQInputEvent::
setModifiers(Qt::KeyboardModifiers) void
setTimestamp
(long timestamp) SeeQInputEvent::
setTimestamp(quint64) final long
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, 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
See
QInputEvent::
QInputEvent(QEvent::Type, const QInputDevice*, Qt::KeyboardModifiers) -
QInputEvent
See
QInputEvent::
QInputEvent(QInputEvent)
-
-
Method Details
-
device
-
deviceType
-
modifiers
-
set
Deprecated.Useassign(io.qt.gui.QInputEvent)
instead. -
assign
See
QInputEvent::
operator=(QInputEvent) -
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setModifiers
See
QInputEvent::
setModifiers(Qt::KeyboardModifiers) -
timestamp
-
clone
-
setTimestamp
See
QInputEvent::
setTimestamp(quint64) -
setDevice
See
QInputEvent::
m_dev
-
assign(io.qt.gui.QInputEvent)
instead.