Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. staggered animations?

staggered animations?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 415 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    igor_stravinsky
    wrote on last edited by
    #1

    Suppose I'd like to fade out three elements on a page.

    I want the elements to fade out in order 1, 2, 3, with each fade taking 1000 ms.

    I'd like the start of each animation to happen 500ms after the previous one started.

    Thus, the whole sequence would take 2000ms.

    Is there a simple way to write staggered (but not sequential) animations in QML?

    1 Reply Last reply
    0
    • jiancaiyangJ Offline
      jiancaiyangJ Offline
      jiancaiyang
      wrote on last edited by
      #2

      Using ParallelAnimation will be better.
      You need extra SequentialAnimation and PauseAnimaition to realize your goal, see documentation for details.

      我们自己的论坛:http://qtdream.com
      擅长三维角色仿真动画。

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved