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
Forum Updated to NodeBB v4.3 + New Features

Change path in PathView with NumberAnimation of its items

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlpathviewnumberanimationpathanimation
1 Posts 1 Posters 574 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 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

    • Login

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