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 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
ModifierConstructorDescriptionOverloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, io.qt.gui.QShortcut, boolean)
QShortcutEvent
(QKeySequence key, int id) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
withambiguous = false
.QShortcutEvent
(QKeySequence key, int id, boolean ambiguous) QShortcutEvent
(QKeySequence key, QShortcut shortcut) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, io.qt.gui.QShortcut, boolean)
withambiguous = false
.QShortcutEvent
(QKeySequence key, QShortcut shortcut, boolean ambiguous) protected
QShortcutEvent
(QShortcutEvent arg__1) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QShortcutEvent other) SeeQShortcutEvent::
operator=(QShortcutEvent) clone()
final boolean
final QKeySequence
key()
protected final void
set
(QShortcutEvent other) Deprecated.protected final void
setAmbiguous
(boolean ambiguous) SeeQShortcutEvent::
m_ambiguous protected final void
setKey
(QKeySequence key) SeeQShortcutEvent::
m_sequence protected final void
setShortcutId
(int shortcutId) SeeQShortcutEvent::
m_shortcutId final int
SeeQShortcutEvent::
shortcutId()const Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QShortcutEvent
-
QShortcutEvent
-
QShortcutEvent
-
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, io.qt.gui.QShortcut, boolean)
withambiguous = false
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, io.qt.gui.QShortcut, boolean)
with:
shortcut = null
ambiguous = false
-
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
withambiguous = false
.
-
-
Method Details
-
isAmbiguous
-
key
-
assign
See
QShortcutEvent::
operator=(QShortcutEvent) -
shortcutId
See
QShortcutEvent::
shortcutId()const -
clone
-
setAmbiguous
See
QShortcutEvent::
m_ambiguous -
setKey
See
QShortcutEvent::
m_sequence -
setShortcutId
See
QShortcutEvent::
m_shortcutId -
set
Deprecated.Useassign(io.qt.gui.QShortcutEvent)
instead.
-
assign(io.qt.gui.QShortcutEvent)
instead.