KeySequence
Qt Base Class: QKeySequence
Signature: QKeySequence(self) -> None
QKeySequence(self, k1: int, k2: int = 0, k3: int = 0, k4: int = 0) -> None
QKeySequence(self, k1: Union[PySide6.QtCore.QKeyCombination, PySide6.QtCore.Qt.KeyboardModifier, PySide6.QtCore.Qt.Key], k2: Union[PySide6.QtCore.QKeyCombination, PySide6.QtCore.Qt.KeyboardModifier, PySide6.QtCore.Qt.Key] = Instance(QKeyCombination.fromCombined(0)), k3: Union[PySide6.QtCore.QKeyCombination, PySide6.QtCore.Qt.KeyboardModifier, PySide6.QtCore.Qt.Key] = Instance(QKeyCombination.fromCombined(0)), k4: Union[PySide6.QtCore.QKeyCombination, PySide6.QtCore.Qt.KeyboardModifier, PySide6.QtCore.Qt.Key] = Instance(QKeyCombination.fromCombined(0))) -> None
QKeySequence(self, key: PySide6.QtGui.QKeySequence.StandardKey) -> None
QKeySequence(self, key: str, format: PySide6.QtGui.QKeySequence.SequenceFormat = Instance(PySide6.QtGui.QKeySequence.SequenceFormat.NativeText)) -> None
QKeySequence(self, ks: Union[PySide6.QtGui.QKeySequence, PySide6.QtCore.QKeyCombination, PySide6.QtGui.QKeySequence.StandardKey, str, int]) -> None
Base classes
Name | Children | Inherits |
---|---|---|
QKeySequence PySide6.QtGui QKeySequence(self) -> None |
⋔ Inheritance diagram
graph TD
1473245539696["gui.KeySequence"]
1473289193952["QtGui.QKeySequence"]
1473291690208["Shiboken.Object"]
140713234304496["builtins.object"]
1473289193952 --> 1473245539696
1473291690208 --> 1473289193952
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: QKeySequence
Encapsulates a key sequence as used by shortcuts.