- 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
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ConstructorDescriptionQShortcutEvent
(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
(QKeySequence key, int id) Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
withambiguous = false
.QShortcutEvent
(QKeySequence key, int id, boolean ambiguous) QShortcutEvent
(QShortcutEvent other) 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
(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)
. -
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
(int key) Overloaded function forsetKey(io.qt.gui.QKeySequence)
.protected final void
setKey
(QKeySequence key) SeeQShortcutEvent::
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::
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
-
QShortcutEvent
-
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.QKeySequence.StandardKey, int, boolean)
withambiguous = false
. -
QShortcutEvent
Overloaded constructor for
QShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
.
-
-
Method Details
-
isAmbiguous
-
key
-
shortcutId
-
setAmbiguous
See
QShortcutEvent::
ambig -
setKey
See
QShortcutEvent::
sequence -
setShortcutId
See
QShortcutEvent::
sid -
clone
Creates and returns a copy of this object.
-
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)
.
-