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

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.
主站蜘蛛池模板: 建始县| 五指山市| 和硕县| 柯坪县| 金华市| 富源县| 北流市| 泸州市| 哈巴河县| 鄂托克旗| 柏乡县| 普兰店市| 遂川县| 从化市| 广德县| 文昌市| 太原市| 温宿县| 志丹县| 浪卡子县| 枣庄市| 老河口市| 宁化县| 同江市| 潞城市| 日土县| 泸溪县| 万年县| 沧源| 威远县| 舞钢市| 成安县| 沛县| 独山县| 基隆市| 福鼎市| 平潭县| 防城港市| 屏东县| 萝北县| 德格县|