- 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
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionQShortcutEvent
(int key) Overloaded constructor forQShortcutEvent(int, io.qt.gui.QShortcut, boolean)
QShortcutEvent
(int key, int id) Overloaded constructor forQShortcutEvent(int, int, boolean)
withambiguous = false
.QShortcutEvent
(int key, int id, boolean ambiguous) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
.QShortcutEvent
(int key, QShortcut shortcut) Overloaded constructor forQShortcutEvent(int, io.qt.gui.QShortcut, boolean)
withambiguous = false
.QShortcutEvent
(int key, QShortcut shortcut, boolean ambiguous) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, io.qt.gui.QShortcut, boolean)
.Overloaded constructor forQShortcutEvent(io.qt.gui.QKeyCombination, io.qt.gui.QShortcut, boolean)
QShortcutEvent
(QKeyCombination key, int id) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeyCombination, int, boolean)
withambiguous = false
.QShortcutEvent
(QKeyCombination key, int id, boolean ambiguous) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
.QShortcutEvent
(QKeyCombination key, QShortcut shortcut) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeyCombination, io.qt.gui.QShortcut, boolean)
withambiguous = false
.QShortcutEvent
(QKeyCombination key, QShortcut shortcut, boolean ambiguous) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, io.qt.gui.QShortcut, boolean)
.Overloaded 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) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence.StandardKey, io.qt.gui.QShortcut, boolean)
QShortcutEvent
(QKeySequence.StandardKey key, int id) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence.StandardKey, int, boolean)
withambiguous = false
.QShortcutEvent
(QKeySequence.StandardKey key, int id, boolean ambiguous) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
.QShortcutEvent
(QKeySequence.StandardKey key, QShortcut shortcut) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence.StandardKey, io.qt.gui.QShortcut, boolean)
withambiguous = false
.QShortcutEvent
(QKeySequence.StandardKey key, QShortcut shortcut, boolean ambiguous) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, io.qt.gui.QShortcut, boolean)
.QShortcutEvent
(String key) Overloaded constructor forQShortcutEvent(java.lang.String, io.qt.gui.QShortcut, boolean)
QShortcutEvent
(String key, int id) Overloaded constructor forQShortcutEvent(java.lang.String, int, boolean)
withambiguous = false
.QShortcutEvent
(String key, int id, boolean ambiguous) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
.QShortcutEvent
(String key, QShortcut shortcut) Overloaded constructor forQShortcutEvent(java.lang.String, io.qt.gui.QShortcut, boolean)
withambiguous = false
.QShortcutEvent
(String key, QShortcut shortcut, boolean ambiguous) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, io.qt.gui.QShortcut, boolean)
. -
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
(int key) Overloaded function forsetKey(io.qt.gui.QKeySequence)
.protected final void
setKey
(QKeyCombination key) Overloaded function forsetKey(io.qt.gui.QKeySequence)
.protected final void
setKey
(QKeySequence key) SeeQShortcutEvent::
m_sequence protected final void
Overloaded function forsetKey(io.qt.gui.QKeySequence)
.protected final void
Overloaded function forsetKey(io.qt.gui.QKeySequence)
.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
See
QShortcutEvent::
QShortcutEvent(QKeySequence, const QShortcut*, bool) This function was introduced in Qt 6.5.
-
QShortcutEvent
See
QShortcutEvent::
QShortcutEvent(QKeySequence, int, bool) This function was introduced in Qt 6.5.
-
QShortcutEvent
See
QShortcutEvent::
QShortcutEvent(QShortcutEvent) This function was introduced in Qt 6.5.
-
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(java.lang.String, io.qt.gui.QShortcut, boolean)
withambiguous = false
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(java.lang.String, io.qt.gui.QShortcut, boolean)
with:
shortcut = null
ambiguous = false
-
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, io.qt.gui.QShortcut, boolean)
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(int, io.qt.gui.QShortcut, boolean)
withambiguous = false
. -
QShortcutEvent
public QShortcutEvent(int key) Overloaded constructor for
QShortcutEvent(int, io.qt.gui.QShortcut, boolean)
with:
shortcut = null
ambiguous = false
-
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, io.qt.gui.QShortcut, boolean)
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeyCombination, io.qt.gui.QShortcut, boolean)
withambiguous = false
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeyCombination, io.qt.gui.QShortcut, boolean)
with:
shortcut = null
ambiguous = false
-
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, io.qt.gui.QShortcut, boolean)
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence.StandardKey, io.qt.gui.QShortcut, boolean)
withambiguous = false
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence.StandardKey, io.qt.gui.QShortcut, boolean)
with:
shortcut = null
ambiguous = false
-
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, io.qt.gui.QShortcut, boolean)
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
withambiguous = false
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(java.lang.String, int, boolean)
withambiguous = false
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
. -
QShortcutEvent
public QShortcutEvent(int key, int id) Overloaded constructor for
QShortcutEvent(int, int, boolean)
withambiguous = false
. -
QShortcutEvent
public QShortcutEvent(int key, int id, boolean ambiguous) Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeyCombination, int, boolean)
withambiguous = false
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence.StandardKey, int, boolean)
withambiguous = false
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
.
-
-
Method Details
-
isAmbiguous
-
key
-
assign
See
QShortcutEvent::
operator=(QShortcutEvent) -
shortcutId
See
QShortcutEvent::
shortcutId()const -
clone
This function was introduced in Qt 6.0.
-
setAmbiguous
See
QShortcutEvent::
m_ambiguous -
setKey
See
QShortcutEvent::
m_sequence -
setShortcutId
See
QShortcutEvent::
m_shortcutId -
set
Deprecated.Useassign(io.qt.gui.QShortcutEvent)
instead. -
setKey
Overloaded function for
setKey(io.qt.gui.QKeySequence)
. -
setKey
Overloaded function for
setKey(io.qt.gui.QKeySequence)
. -
setKey
Overloaded function for
setKey(io.qt.gui.QKeySequence)
. -
setKey
Overloaded function for
setKey(io.qt.gui.QKeySequence)
.
-
assign(io.qt.gui.QShortcutEvent)
instead.