java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QInputEvent
- All Implemented Interfaces:
QtObjectInterface
- 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
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) 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) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
setModifiers
(Qt.KeyboardModifier... amodifiers) Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.final void
setModifiers
(Qt.KeyboardModifiers amodifiers) final void
setTimestamp
(int atimestamp) final int
toString()
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, 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.core.Qt.KeyboardModifiers)
. -
QInputEvent
Overloaded constructor for
QInputEvent(io.qt.core.QEvent.Type, io.qt.core.Qt.KeyboardModifiers)
withmodifiers = new io.qt.core.Qt.KeyboardModifiers(0)
. -
QInputEvent
-
QInputEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
modifiers
-
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setModifiers
-
setTimestamp
-
timestamp
-
toString
-