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
,QKeyEvent
,QPointerEvent
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, 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
QInputEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QInputEvent
clone()
QInputDevice
device()
QInputDevice.DeviceType
deviceType()
Qt.KeyboardModifiers
modifiers()
protected void
set(QInputEvent other)
protected void
setDevice(QInputDevice device)
void
setModifiers(Qt.KeyboardModifier... modifiers)
Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.void
setModifiers(Qt.KeyboardModifiers modifiers)
void
setTimestamp(long timestamp)
long
timestamp()
String
toString()
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, type
-
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
-
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setModifiers
-
timestamp
-
clone
-
setTimestamp
-
setDevice
-
toString
-