You can provide your custom comparison method by overriding QSortFilterProxyModel::lessThan![]()
You can provide your custom comparison method by overriding QSortFilterProxyModel::lessThan![]()
You can also add a custom role to your base model that will return the data in a format appropriate for sorting and use that role for sorting by calling QSortFilterProxyModel::setSortRole().
Bookmarks