注意
该类在 Qt4.6 引入
WrappedEvent 类继承 PySide.QtCore.QEvent and 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 状态机框架 .
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.
| 参数: |
|
|---|
构造新 WrappedEvent 对象采用给定 object and event .
WrappedEvent object takes ownership of event .
| 返回类型: | PySide.QtCore.QEvent |
|---|
Returns a clone of the original event.
| 返回类型: | PySide.QtCore.QObject |
|---|
Returns the object that the event is associated with.