QKeyEventTransition#

Inheritance diagram of PySide6.QtStateMachine.QKeyEventTransition

Synopsis#

Properties#

Functions#

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#

class PySide6.QtStateMachine.QKeyEventTransition(object, type, key[, sourceState=None])#

PySide6.QtStateMachine.QKeyEventTransition([sourceState=None])

Parameters:

Note

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

property PᅟySide6.QtStateMachine.QKeyEventTransition.key: int#
Access functions:
property PᅟySide6.QtStateMachine.QKeyEventTransition.modifierMask: Combination of Qt.KeyboardModifier#
Access functions:
PySide6.QtStateMachine.QKeyEventTransition.key()#
Return type:

int

Getter of property key .

PySide6.QtStateMachine.QKeyEventTransition.modifierMask()#
Return type:

Combination of Qt.KeyboardModifier

Getter of property modifierMask .

PySide6.QtStateMachine.QKeyEventTransition.setKey(key)#
Parameters:

key – int

Setter of property key .

PySide6.QtStateMachine.QKeyEventTransition.setModifierMask(modifiers)#
Parameters:

modifiers – Combination of Qt.KeyboardModifier

Setter of property modifierMask .