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?

    Thanks!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.