Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is there a way to add files and visualize them in QTreeView?
Hi. I'd like to know if it is possible to add "files" (as strings) that technically are not present in the filesystem and visualize them in a QTreeView, maybe without using a QFileSystemModel?
If not "technically" in the file system, where are they located ?
Well, I'm not talking about files as in real files, but just as items in the QTreeView that are not from a QFileSystemModel, pretty much as one would fill a QListView with some strings.
VRonin last edited by
QStandardItemModelcan build generic trees that can be displayed inside
Oh thank you, that is what I needed.