Unsolved How to detect when QSortFilterProxyModel has finished filtering
-
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.
-
-
@6thC I'm not sure I understand how this would work with what I want to achieve.
-
@qtstarter101
I don't think there is any evidence that Qt "finishes" filtering. It just guarantees that the rows it "returns" obey the filter.canFetchMore()
, or possiblyrowCount()
, may be as good as it gets. See also possibly https://doc.qt.io/qt-5/qsortfilterproxymodel.html#dynamicSortFilter-prop.