WrappedEvent

PyQt5.QtCore.QStateMachine.WrappedEvent

Inherits from QEvent.

Description

The WrappedEvent class inherits QEvent and holds a clone of an event associated with a QObject.

A wrapped event is generated by a QStateMachine in response to a Qt event. The QEventTransition 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. The event() function returns a clone of the original event.

See also

QEventTransition.

Methods

event() → QEvent

TODO


object() → QObject

TODO