find a path of a file
Unsolved
General and Desktop
-
a question, is there a way when a click in a file of a treeview to find this path so I can read or remove the file?
-
@vale88 *its path I wanted to say
-
@vale88
Hi
Not really as the files could be anywhere.
However, when you create the tree/model, could you not store the full path in
the model also you can read it from there?
Also if all files come from the same folder, its pretty easy to construct the full path
manually. -
@vale88
If you are saying you have aQTreeView
showing file paths, is it not suitable for a QFileSystemModel? That would give you access to paths etc.