注意
该类在 Qt4.6 引入
PySide.QtGui.QKeyEventTransition class provides a transition for key events.
PySide.QtGui.QKeyEventTransition is part of 状态机框架 .
另请参阅
QState.addTransition()
| 参数: |
|
|---|
Constructs a new key event transition with the given sourceState .
| 返回类型: | PySide.QtCore.int |
|---|
This property holds the key that this key event transition is associated with.
| 返回类型: | PySide.QtCore.Qt.KeyboardModifiers |
|---|
This property holds the keyboard modifier mask that this key event transition checks for.
| 参数: | key – PySide.QtCore.int |
|---|
This property holds the key that this key event transition is associated with.
| 参数: | modifiers – PySide.QtCore.Qt.KeyboardModifiers |
|---|
This property holds the keyboard modifier mask that this key event transition checks for.