PythonQt.QtGui.QShortcutEvent · declarations 001
Back to PythonQt.QtGui.QShortcutEvent
isAmbiguous
isAmbiguous() -> bool
X.isAmbiguous() -> bool
Supplemental documentation: Qt 5 reference:
bool QShortcutEvent::isAmbiguous() const
Returns true if the key sequence that triggered the event is ambiguous.
See also QShortcut::activatedAmbiguously().
Upstream PySide2 reference signatures (binding differences may apply):
isAmbiguous(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qshortcutevent.html#isAmbiguous
key
key() -> Any
X.key() -> PythonQt.QtGui.QKeySequence
Supplemental documentation: Qt 5 reference:
const QKeySequence \&QShortcutEvent::key() const
Returns the key sequence that triggered the event.
Upstream PySide2 reference signatures (binding differences may apply):
key(self) -> PySide2.QtGui.QKeySequence
Source: https://doc.qt.io/archives/qt-5.15/qshortcutevent.html#key
shortcutId
shortcutId() -> int
X.shortcutId() -> int
Supplemental documentation: Qt 5 reference:
int QShortcutEvent::shortcutId() const
Returns the ID of the QShortcut object for which this event was generated.
See also QShortcut::id().
Upstream PySide2 reference signatures (binding differences may apply):
shortcutId(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qshortcutevent.html#shortcutId