Note
This class was introduced in Qt 4.6
The WrappedEvent class holds a clone of an event associated with a PySide.QtCore.QObject .
A wrapped event is generated by a PySide.QtCore.QStateMachine in response to a Qt event. The PySide.QtCore.QEventTransition class provides a transition associated with a such an event. QStateMachine.WrappedEvent is part of The State Machine Framework .
The PySide.QtCore.QStateMachine::WrappedEvent.object() function returns the object that generated the event. The PySide.QtCore.QStateMachine::WrappedEvent.event() function returns a clone of the original event.
See also
Parameters: |
|
---|
Constructs a new WrappedEvent object with the given object and event .
The WrappedEvent object takes ownership of event .
Return type: | PySide.QtCore.QEvent |
---|
Returns a clone of the original event.
Return type: | PySide.QtCore.QObject |
---|
Returns the object that the event is associated with.