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. Change path in PathView with NumberAnimation of its items

Change path in PathView with NumberAnimation of its items

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlpathviewnumberanimationpathanimation
1 Posts 1 Posters 540 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.
  • H Offline
    H Offline
    herolover
    wrote on 20 Feb 2018, 18:28 last edited by herolover
    #1

    I have a PathView with Rectangle as the delegate. I change the PathView.path to another path and I want to play animation of moving PathView items to their new positions. Something like this:

    PathView {
      id: pathView
      delegate: Rectangle {
        Behavior on x {
          NumberAnimation {
            duration: 5000
          }
        }
      }
    
      path: path1
    }
    

    But it doesn't work. Is it possible to do somehow?

    1 Reply Last reply
    0

    1/1

    20 Feb 2018, 18:28

    • Login

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