Hello, just wondering if anyone could answer a quick question regarding drag and drop between 2 QTreeViews, i have created an application that allows me to display a linux file system starting at / in both QTreeView widgets side by side and ive implemented the drag and drop so far from one QTreeView to other QTreeView and i have the filename being displayed with QDebug to the console when files are dropped. The destination direcory model is going to be the directory a usb stick would be mounted under, so when i drag files from the filesystem tree on the left to the usb directory on the right i need the files to actually by copied to that location. So now that im seeing the file names from the QDebug on the console do i need to use somthin like QFile or does the QTreeView actually have ability to copy or move my source file to the destination?
Bookmarks