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. [solved] drag and drop ListView items
Forum Updated to NodeBB v4.3 + New Features

[solved] drag and drop ListView items

Scheduled Pinned Locked Moved QML and Qt Quick
listviewdrag&dropreordering
4 Posts 2 Posters 1.7k Views 2 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.
  • L Offline
    L Offline
    lagner
    wrote on last edited by lagner
    #1

    Hi all.

    I need reorder ListView items dragging and dropping them. I have found a couple of examples in google but no one actually works. Is somebody know good working example such kind of control?

    A couple of examples:
    example
    example

    Thanks

    p3c0P 1 Reply Last reply
    0
    • L lagner

      Hi all.

      I need reorder ListView items dragging and dropping them. I have found a couple of examples in google but no one actually works. Is somebody know good working example such kind of control?

      A couple of examples:
      example
      example

      Thanks

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi @lagner
      You can easily modify this GridView example to ListView. It should work.

      157

      L 1 Reply Last reply
      0
      • p3c0P p3c0

        Hi @lagner
        You can easily modify this GridView example to ListView. It should work.

        L Offline
        L Offline
        lagner
        wrote on last edited by
        #3

        @p3c0
        Thanks a lot.
        This is exactly what I need. I have looked for that in examples but did find. Shame me :)

        p3c0P 1 Reply Last reply
        0
        • L lagner

          @p3c0
          Thanks a lot.
          This is exactly what I need. I have looked for that in examples but did find. Shame me :)

          p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          @lagner You're Welcome :) You can mark the post as solved if done.

          157

          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