java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QShortcutEvent
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Event which is generated when the user presses a key combination
Java wrapper for Qt class QShortcutEvent
-
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
ConstructorDescriptionQShortcutEvent
(QKeySequence key, int id) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
withambiguous = false
.QShortcutEvent
(QKeySequence key, int id, boolean ambiguous) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final boolean
final QKeySequence
key()
protected final void
setAmbiguous
(boolean ambiguous) SeeQShortcutEvent::
ambig protected final void
setKey
(QKeySequence key) SeeQShortcutEvent::
sequence protected final void
setShortcutId
(int shortcutId) SeeQShortcutEvent::
sid 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
-
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
withambiguous = false
. -
QShortcutEvent
-
-
Method Details