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
public class QInputEvent extends QEvent
The base class for events that describe user input
Java wrapper for Qt class QInputEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QInputEvent(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
QInputEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description Qt.KeyboardModifiers
modifiers()
void
setModifiers(Qt.KeyboardModifier... amodifiers)
Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.void
setModifiers(Qt.KeyboardModifiers amodifiers)
void
setTimestamp(int atimestamp)
int
timestamp()
String
toString()
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, type
-
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
-