java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QShortcutEvent
- All Implemented Interfaces:
QtObjectInterface
Event which is generated when the user presses a key combination
Java wrapper for Qt's 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
ModifierConstructorDescriptionQShortcutEvent
(QKeySequence key, int id) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
withambiguous = false
.QShortcutEvent
(QKeySequence key, int id, boolean ambiguous) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final QKeySequence
key()
protected final void
setAmbiguous
(boolean ambiguous) protected final void
setKey
(QKeySequence key) protected final void
setShortcutId
(int shortcutId) 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
-
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
withambiguous = false
. -
QShortcutEvent
-
QShortcutEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details