Important: Please read the Qt Code of Conduct -

Dynamically changing QSortFilterProxyModel root directory and apply its filter

  • I have a implemented a QSortFilterProxyModel using QFileSystemModel as its source.

    1.) How can I dynamically change the root path and have it display only the root path directory?
    2.) How can I apply my filter to that directory?


Log in to reply