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. How to detect THE END of movement of elements inside PathView AFTER PathView.decrementCurrentIndex()???
Qt 6.11 is out! See what's new in the release blog

How to detect THE END of movement of elements inside PathView AFTER PathView.decrementCurrentIndex()???

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 1.9k 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.
  • A Offline
    A Offline
    andreynagovitsyn
    wrote on last edited by
    #1

    onFlickEnded() and onMovementEnded() don't fire after call to PathView.decrementCurrentIndex() or PathView.incrementCurrentIndex()
    I need to catch the end of the movement in order to switch on smooth property of images to true after movement of elements around the path has ended.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      task_struct
      wrote on last edited by
      #2

      Try to bind Image.smooth to "PathView.flicking":http://doc.qt.nokia.com/4.7-snapshot/qml-pathview.html#flicking-prop or "PathView.moving":http://doc.qt.nokia.com/4.7-snapshot/qml-pathview.html#moving-prop

      "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program."

      • Linu...
      1 Reply Last reply
      0
      • A Offline
        A Offline
        andreynagovitsyn
        wrote on last edited by
        #3

        PathView.moving doesn't work properly, elements don't move smoothly when you do like this Image.smooth: !PathView.moving

        PathView.flicking is not even possible to use, because elements are moved programmatically due to call to PathView.incrementCurrentIndex().

        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