QStateMachine.WrappedEvent¶

New in version 4.6.
Detailed Description¶
A wrapped event is generated by a
QStateMachine
in response to a Qt event. TheQEventTransition
class provides a transition associated with a such an event.WrappedEvent
is part of The State Machine Framework .The
object()
function returns the object that generated the event. Theevent()
function returns a clone of the original event.See also
-
class
PySide2.QtCore.QStateMachine.
WrappedEvent
(object, event)¶ Constructs a new
WrappedEvent
object with the givenobject
andevent
.The
WrappedEvent
object takes ownership ofevent
.
-
PySide2.QtCore.QStateMachine.WrappedEvent.
event
()¶ - Return type
Returns a clone of the original event.