class QKeyEventTransition#

Inheritance diagram of PySide6.QtStateMachine.QKeyEventTransition

Synopsis#

Properties#

Methods#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property keyᅟ: int#
Access functions:
property modifierMaskᅟ: Combination of Qt.KeyboardModifier#
Access functions:
__init__(object, type, key[, sourceState=None])#
Parameters:
__init__([sourceState=None])
Parameters:

sourceStateQState

key()#
Return type:

int

Getter of property keyᅟ .

modifierMask()#
Return type:

Combination of KeyboardModifier

Getter of property modifierMaskᅟ .

setKey(key)#
Parameters:

key – int

Setter of property keyᅟ .

setModifierMask(modifiers)#
Parameters:

modifiers – Combination of KeyboardModifier

Setter of property modifierMaskᅟ .