The PySide.QtGui.QShortcutEvent class provides an event which is generated when the user presses a key combination.
Normally you don’t need to use this class directly; PySide.QtGui.QShortcut provides a higher-level interface to handle shortcut keys.
See also
Parameters: |
|
---|
Constructs a shortcut event for the given key press, associated with the PySide.QtGui.QShortcut ID id .
ambiguous specifies whether there is more than one PySide.QtGui.QShortcut for the same key sequence.
Return type: | PySide.QtCore.bool |
---|
Returns true if the key sequence that triggered the event is ambiguous.
See also
Return type: | PySide.QtGui.QKeySequence |
---|
Returns the key sequence that triggered the event.
Return type: | PySide.QtCore.int |
---|
Returns the ID of the PySide.QtGui.QShortcut object for which this event was generated.
See also