官术网_书友最值得收藏!

There's more…

Qt allows us to create multiple animations and group them into an animation group. A group is usually responsible for managing the state of its animations (that is, it decides when to start, stop, resume, and pause them). Currently, Qt provides two types of class for animation groups, QParallelAnimationGroup and QSequentialAnimationGroup:

  • QParallelAnimationGroup: As its name implies, a parallel animation group runs all of the animations in its group at the same time. The group is deemed finished when the longest-lasting animation has finished running.
  • QSequentialAnimationGroup: A sequential animation group runs its animations in sequence, meaning it will only run a single animation at a time and only play the next animation when the current one has finished.
主站蜘蛛池模板: 平顺县| 布拖县| 舞钢市| 凤翔县| 五寨县| 临夏市| 上思县| 凌海市| 囊谦县| 老河口市| 临泉县| 景东| 荔浦县| 吉林市| 璧山县| 临海市| 桂林市| 金塔县| 浦城县| 封开县| 中卫市| 易门县| 壤塘县| 尚义县| 兴宁市| 泸水县| 论坛| 长治市| 延吉市| 萝北县| 满城县| 洪泽县| 东阳市| 商水县| 衡阳县| 张家界市| 安化县| 平舆县| 侯马市| 巴马| 江孜县|