QShortcutEvent露
- PyQt5.QtGui.QShortcutEvent
Inherits from QEvent.
Description露
The QShortcutEvent class provides an event which is generated when the user presses a key combination.
Normally you do not need to use this class directly; QShortcut provides a higher-level interface to handle shortcut keys.
See also
Methods露
- __init__(QShortcutEvent)
TODO
- __init__(Union[QKeySequence, StandardKey, str, int], int, ambiguous: bool = False)
Constructs a shortcut event for the given key press, associated with the QShortcut ID id.
ambiguous specifies whether there is more than one QShortcut for the same key sequence.
- isAmbiguous() → bool
TODO
- key() → QKeySequence
TODO
- shortcutId() → int
TODO