java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QShortcutEvent
- All Implemented Interfaces:
QtObjectInterface
public class QShortcutEvent extends QEvent
Event which is generated when the user presses a key combination
Java wrapper for Qt class QShortcutEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QShortcutEvent(QKeySequence key, int id)
Overloaded constructor forQShortcutEvent(io.qt.gui.QKeySequence, int, boolean)
withambiguous = false
.QShortcutEvent(QKeySequence key, int id, boolean ambiguous)
protected
QShortcutEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description boolean
isAmbiguous()
QKeySequence
key()
protected void
setAmbiguous(boolean ambiguous)
protected void
setKey(QKeySequence key)
protected void
setShortcutId(int shortcutId)
int
shortcutId()
String
toString()
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, type
-
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