SignalEventclass represents a Qt signal event. 更多 …
4.6 版新增。
def
arguments
()
def
sender
()
def
signalIndex
()
A signal event is generated by a
QStateMachinein response to a Qt signal. TheQSignalTransitionclass provides a transition associated with a signal event.SignalEventis part of 状态机框架 .
sender()function returns the object that generated the signal. ThesignalIndex()function returns the index of the signal. Thearguments()function returns the arguments of the signal.另请参阅
PySide2.QtCore.QStateMachine.
SignalEvent
(
sender
,
signalIndex
,
arguments
)
¶
PySide2.QtCore.QStateMachine.SignalEvent(SignalEvent)
- param arguments
- param sender
- param SignalEvent
SignalEvent- param signalIndex
int
构造新
SignalEvent
对象采用给定
sender
,
signalIndex
and
arguments
.
PySide2.QtCore.QStateMachine.SignalEvent.
arguments
(
)
¶
Returns the arguments of the signal.
PySide2.QtCore.QStateMachine.SignalEvent.
sender
(
)
¶
Returns the object that emitted the signal.
另请参阅
PySide2.QtCore.QStateMachine.SignalEvent.
signalIndex
(
)
¶
int
Returns the index of the signal.
另请参阅