ashish18
3rd August 2015, 12:39
Hi QT,
I have a Qtreeview for exploring local drives content and i am dropping a file from another Qlistview to the Qtreeview. Now i want to get absolute path of that directory in the Qtreeview where i am dropping the directory/file from Qlistview.
For example I have a directory named "example" in the D drive then i want to get "D:/example". Right now i am able to call drop function and getting name of that destination directory where i am dropping the source directory/file. I need this because i have to call a hand written function to copy the source dir/file to that destination path using some command.
I have a Qtreeview for exploring local drives content and i am dropping a file from another Qlistview to the Qtreeview. Now i want to get absolute path of that directory in the Qtreeview where i am dropping the directory/file from Qlistview.
For example I have a directory named "example" in the D drive then i want to get "D:/example". Right now i am able to call drop function and getting name of that destination directory where i am dropping the source directory/file. I need this because i have to call a hand written function to copy the source dir/file to that destination path using some command.