Unsolved How subclass QFileSystemModel?
-
In example DirView is this mode + TreeView.
I n first level are drives , next directories and files.
I want at first level two:
1.QStandardPaths group
2. My computer group
is difficult to subclass because QFileSystemModel uses private classes -
Hi,
What you are asking is not really clear. Can you maybe provide a picture of what you would like to achieve ?
-
-
Is near solved: I think , I don't subclass QFileSystemModel but write own smaller model which contain pointer to QFileSystemModel.
See example of very simple model: https://github.com/borneq/userQtExamples/blob/master/bexamplemodel.cpp