How to get information about a object which is drag?



  • 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?



  • Any idea about this?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.