java.lang.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
QShortcutEvent
(QShortcutEvent arg__1) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QShortcutEvent other) clone()
final boolean
final QKeySequence
key()
protected final void
set
(QShortcutEvent other) Deprecated.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, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, 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
-
QShortcutEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
isAmbiguous
-
key
-
set
Deprecated.Useassign(io.qt.gui.QShortcutEvent)
instead. -
assign
-
shortcutId
-
clone
-
setAmbiguous
-
setKey
-
setShortcutId
-
toString
-
assign(io.qt.gui.QShortcutEvent)
instead.