27 #include "qsortfilterproxymodel.h"
74 bool checkRow(
int sourceRow,
const QModelIndex& sourceParent,
int startIndex,
int endIndex,
int offset = 0)
const;
SearchOptions mSearchOptions
virtual void startSearch(QString text, int options)=0
bool checkRow(int sourceRow, const QModelIndex &sourceParent, int startIndex, int endIndex, int offset=0) const
Should be called inside filterAcceptsRow function and returns true if the source_row,...
virtual bool checkRowRecursion(int sourceRow, const QModelIndex &sourceParent, int startIndex, int endIndex, int offset=0) const
SearchProxyModel(QObject *parent=nullptr)
bool isMatching(const QString searchString, const QString stringToCheck) const
Check if a string matches the SearchOptions.
virtual QList< QString > getColumnNames()
QObject * parent() const const