No problem, I actually did this before.
But I got my items from a rootpath. So I dont geht the updates "deleted-list", no he always shows me the pathlist.
No problem, I actually did this before.
But I got my items from a rootpath. So I dont geht the updates "deleted-list", no he always shows me the pathlist.
Last edited by Bloody; 14th September 2012 at 10:09.
Sorry, that I could not answer these days. So actually I want help..
To my problem: I want a listfiew displaying files from a rootpath. 'Till here the top solution is pretty helpful. But the next step I want to go is to delete some selected files but the solution in this thread is not working as I want to.
I select items i want to delete(working well), press the "delete files" button and nothing happens. I guess the problem here is the self-updating listview. Over and above I actually want to build a "copy-program". Therefor you select some files from the listview and press "delete". Then you "save" the rest in a new folder. The system creates a new folder in any path with a copy of the left files in the listfiew.
But back to my update problem: If I press delete, nothing happens... ? And if I create new files in my path, they self-update into the listview. My idea: How to create listviewitems which are actually files able to be deleted out of the listview? How about this idea?
QFileSystemModel provides simple interface to operate on local file system. If you connect this with a List View I think it will sort out your problem.
Bookmarks