4.6 版新增。
A wrapped event is generated by a
QStateMachinein response to a Qt event. TheQEventTransitionclass provides a transition associated with a such an event.WrappedEventis part of 状态机框架 .
object()function returns the object that generated the event. Theevent()function returns a clone of the original event.另请参阅
PySide2.QtCore.QStateMachine.
WrappedEvent
(
object
,
event
)
¶
构造新
WrappedEvent
对象采用给定
object
and
event
.
WrappedEvent
object takes ownership of
event
.
PySide2.QtCore.QStateMachine.WrappedEvent.
event
(
)
¶
Returns a clone of the original event.