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. Binding in a looping Sequential Animation doesn't work?
Forum Updated to NodeBB v4.3 + New Features

Binding in a looping Sequential Animation doesn't work?

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 620 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.
  • Q Offline
    Q Offline
    qttester5
    wrote on last edited by
    #1

    Check out this code:

    @ SequentialAnimation on coord {
    NumberAnimation { to: topw.width; duration:2000 ; easing.type: Easing.InQuad }
    NumberAnimation { to: 0; duration:2000 ; easing.type: Easing.OutQuad }
    loops: Animation.Infinite
    running: true
    }@

    I can log topw.width and see that it changes as I resize my window. However this animation seems to start with only the initial value of topw.width and then not look at it again. How I can I have the binding consistently update while the animation is running?

    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