SortFilterProxyModel
SortFilterProxyModel copied to clipboard
Port to Qt 6
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, but should probably be extended to support more types.
Fixes #84 Fixes #86
About the QVariant compare, does it work for bools ? Could you add QDate/QTime/QDateTime support ?
About the QVariant compare, does it work for bools ? Could you add QDate/QTime/QDateTime support ?
Not currently, but I can make it. Not sure what it should do though... so I just made false < true.
Have an additional commit in MenloSystems:qt6 that allows compiling against Qt5 and Qt6 from the same codebase.
About the QVariant compare, does it work for bools ? Could you add QDate/QTime/QDateTime support ?
Which implementation is preferable: qqsfpm::compareVariants() from utils/utils.* or qqsfpm::lessThan() from #81 ?