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. Sequential animation that creates images
Qt 6.11 is out! See what's new in the release blog

Sequential animation that creates images

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 2.5k Views 1 Watching
  • 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.
  • S Offline
    S Offline
    spode
    wrote on last edited by
    #1

    i need a sequential animation where an image is created and it rises as small and becomes larger and then this image moves on the left of the screen while another image expands to the right and this last one is anchors on the vertical-right center corner of the first one. how to create it, ideas?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

      Just a sequence of property animations will help you.
      I think you will better go with pre-created invisible images. Of course you can create them by script in animation, but it will be harder I think.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Chuck Gao
        wrote on last edited by
        #3

        As Denis suggest, you can try these 2 ways

        1. Firstly, create them by script, and do something like this:
          @
          Image {
          id: yourImg
          ....
          source: "....."

           Component.onCompleted: {
               // Run your animation here
           }
          

          }
          @

        2. Make them invisible first, and using SequentialAnimation with PropertyAnimation or NumberAnimation

        Chuck

        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