SortFilterProxyModel
SortFilterProxyModel copied to clipboard
A nicely exposed QSortFilterProxyModel for QML
The PatternSyntax enum had to be removed as QRegularExpression only supports Perl-compatible regular expressions. As QVariant's comparison operators were removed, a simplified comparison is now done as a starting point,...
Qt versions prior to Qt 5.9 do not have the qmlWarning(). For those versions redefine qmlWarning() to call qmlInfo() instead.
Is there a plan to make this work on Qt6?
Is there a way to filter based on index of proxymodel after previous filters? The indexFilter seems to only function on index of the source model
Hi oKcerG - I have found great use from your work on the SortFilterProxyModel for Qt C++ projects that I have been working on. Recently, I had to develop a...
This fixes an error ' error: lambda capture 'source_parent' is not used [-Werror,-Wunused-lambda-capture]' produced by clang with -Wall -Wextra -pedantic -Wno-deprecated-declarations -Wno-deprecated-copy -Werror
Say I have an itemmodel that contains a QVariantList, let's called it "names" and I want to sort it using a combobox, how would one do so with the QSortFilterModel?...
I created an extra cmake target `SortFilterProxyModelPlugin` to build the library as a plugin. This is just a new option and does not affect the other `SortFilterProxyModel` target. Also the...
Hello @oKcerG! What will be your best bet for usage `SortFilterProxyModel` with `TableView` directly (since `SortFilterProxyModel` is subclass of `QAbstractItemModel`)? Expecting to have something like: ``` import QtQuick 2.14 import...