drag and drop in QListWidget
-
anyone has an idea on how can i support drag & drap on my qt qlistwidget?
-
Hi,
Have a look at this chapter of Qt's documentation about D'nD and item views.
-
Im going to write a music player, the user can drag their songs from their desktop to my app, ill check it thanks
-
Do you mean drag the files over on your app ?
-
sorry for the super late reply , i was busy in my other class projects sorry.
yea thats what i mean, it looks like you thought of dragging so i can arrange the items in QListWidget -
The logic is the same, you have to handle the mime type used by Window's explorer when you drag the file on the widget.