注意
该类在 Qt4.6 引入
SignalEvent class represents a Qt signal event.
A signal event is generated by a PySide.QtCore.QStateMachine in response to a Qt signal. The PySide.QtCore.QSignalTransition class provides a transition associated with a signal event. QStateMachine.SignalEvent is part of 状态机框架 .
PySide.QtCore.QStateMachine::SignalEvent.sender() function returns the object that generated the signal. The PySide.QtCore.QStateMachine::SignalEvent.signalIndex() function returns the index of the signal. The PySide.QtCore.QStateMachine::SignalEvent.arguments() function returns the arguments of the signal.
| 参数: |
|
|---|
| 返回类型: |
|---|
Returns the arguments of the signal.
| 返回类型: | PySide.QtCore.QObject |
|---|
Returns the object that emitted the signal.
另请参阅
| 返回类型: | PySide.QtCore.int |
|---|
Returns the index of the signal.