SignalEvent¶
The
SignalEventclass represents a Qt signal event. More…

New in version 4.6.
Synopsis¶
Functions¶
def
arguments()def
sender()def
signalIndex()
Detailed Description¶
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 The State Machine Framework .The
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.See also
- class PySide2.QtCore.QStateMachine.SignalEvent(sender, signalIndex, arguments)¶
PySide2.QtCore.QStateMachine.SignalEvent(SignalEvent)
- param arguments:
- param sender:
- param SignalEvent:
- param signalIndex:
int
Constructs a new
SignalEventobject with the givensender,signalIndexandarguments.
- PySide2.QtCore.QStateMachine.SignalEvent.arguments()¶
- Return type:
Returns the arguments of the signal.
- PySide2.QtCore.QStateMachine.SignalEvent.sender()¶
- Return type:
Returns the object that emitted the signal.
See also
- PySide2.QtCore.QStateMachine.SignalEvent.signalIndex()¶
- Return type:
int
Returns the index of the signal.
See also
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.