1 2 3 4 5
from PySide.QtCore import QStateMachine, QState mach = QStateMachine() state = QState(mach) print(state.machine())