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 get information about a object which is drag?
Forum Updated to NodeBB v4.3 + New Features

How to get information about a object which is drag?

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

    Hi,

    Is there any solution to process drag and drop in QML?
    For example, i wanna create a app like text editor. and i wanna a feature that drag a text file into the app, then the app will open the text file.
    To implement this feature, one thing we must do is getting the information of object which is drag, such as Url or something else.
    I knew that, we can get the information with class QDragEnterEvent in Qt C++, but is there any way to implement it in QML?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Landy
      wrote on last edited by
      #2

      Any idea about this?

      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