- class QKeyEventTransition¶
-
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
key()
def
modifierMask()
def
setKey()
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¶
- property modifierMaskᅟ: Combination of Qt.KeyboardModifier¶
- Access functions:
- __init__(object, type, key[, sourceState=None])
- 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ᅟ
.