Game Programming using Qt 5 Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Property animations

We implemented the horizontal movement using a QTimer. Now, let's try a second way to animate items—the Animation framework.