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 implement drag and drop in qml
Qt 6.11 is out! See what's new in the release blog

How to implement drag and drop in qml

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

    please someone can tell me how to implement drag and drop in qml ,thank you!

    1 Reply Last reply
    0
    • kidproquoK Offline
      kidproquoK Offline
      kidproquo
      wrote on last edited by
      #2

      have a look at this discussion:

      http://developer.qt.nokia.com/forums/viewthread/2426

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sfjam
        wrote on last edited by
        #3

        as this it can implement drag and drop,but if i want to scroll horizontally in gridview by press mouse,it will be handled as drag and drop,how to distinguish them?thank you !

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sfjam
          wrote on last edited by
          #4

          if i want to put the onPressed:{、、、、}and onReleased: {、、、}into delegate,how to implement the same function

          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