Qt 5.3
Qt Widgets
States Example
Qt 5.3.1 Reference Documentation
States Example
The States example shows how to use the Qt state machine to play animations.
Files:
animation/states/main.cpp
animation/states/states.pro
animation/states/states.qrc