Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [sovled]how can I make a quick return in listview?

    QML and Qt Quick
    qml listview quick return
    3
    5
    893
    Loading More Posts
    • 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.
    • B
      beidaochuan last edited by beidaochuan

      hi,
      I make a function setCurrentIndex(ndex) to jump currentItem I want, but the default speed is too slow. How can I set the moving speed quickly?

      p3c0 1 Reply Last reply Reply Quote 0
      • p3c0
        p3c0 Moderators @beidaochuan last edited by

        @beidaochuan Use positionViewAtIndex instead.

        157

        B 1 Reply Last reply Reply Quote 1
        • M
          mcosta last edited by

          Hi,

          how did you implemented that method?
          I think you can try changing the verticalVelocity property

          Once your problem is solved don't forget to:

          • Mark the thread as SOLVED using the Topic Tool menu
          • Vote up the answer(s) that helped you to solve the issue

          You can embed images using (http://imgur.com/) or (http://postimage.org/)

          B 1 Reply Last reply Reply Quote 0
          • B
            beidaochuan @p3c0 last edited by

            @p3c0
            positionViewAtIndex is amazing, Thanks for your help.

            1 Reply Last reply Reply Quote 0
            • B
              beidaochuan @mcosta last edited by

              @mcosta
              Thanks for your reply.
              positionViewAtIndex works well.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post