I'm currently using a combination of QFileSystemModel, QSortFilterProxyModel, and QTreeView to display the sorted contents of a directory, limited to specific file types. What I would like to do, now, is add a custom branch to the bottom of the tree. In the attached image, the desired effect is shown (as seen in another, non-Qt program).
The "Lib" branch does not refer to any directory. It is actually a list of libraries based on the result of parsing a config file. What I would like to do is extend my setup to include an additional branch similar to this. I have looked at the reference documentation for all of QFileSystemModel, QSortFilterProxyModel, and QAbstractProxyModel; however, I am unsure how to go about adding an additional row/branch while still maintaining the full functionality of the QFileSystemModel. Any assistance would be appreciated.