QKeyEventTransition#
Synopsis#
Properties#
Functions#
def
key
()def
modifierMask
()def
setKey
(key)def
setModifierMask
(modifiers)
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:
sourceState –
PySide6.QtStateMachine.QState
key – int
type –
Type
object –
PySide6.QtCore.QObject
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#
- property PᅟySide6.QtStateMachine.QKeyEventTransition.modifierMask: KeyboardModifiers#
- Access functions:
modifierMask
()setModifierMask
(modifiers)
- PySide6.QtStateMachine.QKeyEventTransition.key()#
- Return type:
int
Getter of property key
.
- PySide6.QtStateMachine.QKeyEventTransition.modifierMask()#
- Return type:
KeyboardModifiers
Getter of property modifierMask
.
- PySide6.QtStateMachine.QKeyEventTransition.setKey(key)#
- Parameters:
key – int
Setter of property key
.
- PySide6.QtStateMachine.QKeyEventTransition.setModifierMask(modifiers)#
- Parameters:
modifiers –
KeyboardModifiers
Setter of property modifierMask
.