Better_Software_Header_Mobile Better_Software_Header_Web

Find what you need - explore our website and developer resources

Auto-Accepting in QSortFilterProxyModel

Since Qt 6.0, QSortFilterProxyModel Can Auto-accept Child Rows of Rows Matching the Filter.

proxy->setRecursiveFilteringEnabled(true);
proxy->setAutoAcceptChildRows(true);

About KDAB

DavidFaure

David Faure

Senior Software Engineer

Sign up for the KDAB Newsletter

Qt 5 to Qt 6 Migration Services