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

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.
主站蜘蛛池模板: 平利县| 精河县| 葫芦岛市| 桓台县| 绩溪县| 通辽市| 斗六市| 大英县| 上犹县| 抚顺市| 大关县| 保靖县| 阿瓦提县| 莆田市| 赤水市| 太湖县| 剑川县| 安阳县| 吉隆县| 兴和县| 岱山县| 昭觉县| 陵川县| 景德镇市| 剑川县| 铁岭县| 涞源县| 伊春市| 连云港市| 拉萨市| 祥云县| 沙坪坝区| 梁河县| 宜都市| 沂南县| 文成县| 灌云县| 盘山县| 牙克石市| 卓资县| 新昌县|