java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QContextMenuEvent
,QHoverEvent
,QKeyEvent
,QMouseEvent
,QNativeGestureEvent
,QTabletEvent
,QTouchEvent
,QWheelEvent
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
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ConstructorDescriptionQInputEvent
(QEvent.Type type) Overloaded constructor forQInputEvent(io.qt.core.QEvent.Type, io.qt.core.Qt.KeyboardModifiers)
withmodifiers = new io.qt.core.Qt.KeyboardModifiers(0)
.QInputEvent
(QEvent.Type type, Qt.KeyboardModifier ... modifiers) Overloaded constructor forQInputEvent(io.qt.core.QEvent.Type, io.qt.core.Qt.KeyboardModifiers)
.QInputEvent
(QEvent.Type type, Qt.KeyboardModifiers modifiers) SeeQInputEvent::
QInputEvent(QEvent::Type, Qt::KeyboardModifiers) QInputEvent
(QInputEvent other) SeeQInputEvent::
QInputEvent(QInputEvent) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final void
setModifiers
(Qt.KeyboardModifier ... amodifiers) Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.final void
setModifiers
(Qt.KeyboardModifiers amodifiers) SeeQInputEvent::
setModifiers(Qt::KeyboardModifiers) final void
setTimestamp
(int atimestamp) SeeQInputEvent::
setTimestamp(ulong) final int
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QInputEvent
See
QInputEvent::
QInputEvent(QEvent::Type, Qt::KeyboardModifiers) - Parameters:
type
-modifiers
-
-
QInputEvent
See
QInputEvent::
QInputEvent(QInputEvent) - Parameters:
other
-
-
QInputEvent
Overloaded constructor for
QInputEvent(io.qt.core.QEvent.Type, io.qt.core.Qt.KeyboardModifiers)
withmodifiers = new io.qt.core.Qt.KeyboardModifiers(0)
. -
QInputEvent
Overloaded constructor for
QInputEvent(io.qt.core.QEvent.Type, io.qt.core.Qt.KeyboardModifiers)
.
-
-
Method Details
-
modifiers
- Returns:
-
setModifiers
See
QInputEvent::
setModifiers(Qt::KeyboardModifiers) - Parameters:
amodifiers
-
-
setTimestamp
See
QInputEvent::
setTimestamp(ulong) - Parameters:
atimestamp
-
-
timestamp
- Returns:
-
clone
Creates and returns a copy of this object.
See
QInputEvent::
QInputEvent(QInputEvent) -
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
.
-