QStateMachine.SignalEvent

Note

This class was introduced in Qt 4.6

Synopsis

Functions

Detailed Description

The 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 The State Machine Framework .

The 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.

class PySide.QtCore.QStateMachine.SignalEvent(sender, signalIndex, arguments)
class PySide.QtCore.QStateMachine.SignalEvent(SignalEvent)
Parameters:
  • senderPySide.QtCore.QObject
  • signalIndexPySide.QtCore.int
  • SignalEventPySide.QtCore.QStateMachine::SignalEvent
  • arguments
PySide.QtCore.QStateMachine.SignalEvent.arguments()
Return type:

Returns the arguments of the signal.

PySide.QtCore.QStateMachine.SignalEvent.sender()
Return type:PySide.QtCore.QObject

Returns the object that emitted the signal.

See also

QObject.sender()

PySide.QtCore.QStateMachine.SignalEvent.signalIndex()
Return type:PySide.QtCore.int

Returns the index of the signal.