Hello everybody!
I'm using Qt 4.2.3 and facing the following problem:
I have a QTreeView and need to fill it with the local filesystem contents. I can use QDirModel for that purpose. But I need a custom top-level item in that tree, i.e. My Documents folder. So the tree should be looking as this:
|-MyDocs
|-C:
|-D:
Is that possible to achive that effect in some easy way, like inheriting from the QDirModel?
P.S. Somewhere in Trolltech's lists I found the QFSFileEngine class. Maybe it can help in some way?
Thanks in advance
Bookmarks