View Full Version : How to detect when QSortFilterProxyModel has finished filtering

14th January 2020, 02:17
I am in need of some way to tell when filtering has been completed on my model and I'm wondering if there is a reliable way to capture when this occurs so I can call some other function.

14th January 2020, 21:18
I would look for the QAbstractItemModel signals modelReset(), dataChanged(), or layoutChanged(). The proxy will probably emit one or more of these signals when the filtering is complete. It depends in some part on how the proxy has been implemented.