Hello, Im starting with qt and I have no idea how to handle this:
I want to enable user to drag files from desktop, folders, etc. into my program, then create folder and drop all of those files there.
Printable View
Hello, Im starting with qt and I have no idea how to handle this:
I want to enable user to drag files from desktop, folders, etc. into my program, then create folder and drop all of those files there.
Hi, you can overload QWidget::dropEvent() to catch those files, and then get the names using QDropEvent::mimeData()->urls().
Ginsengelf