18         return checkRow(sourceRow, sourceParent, 0, 2);
 
   32                 name_left = name_left.
toLower();
 
   33                 name_right = name_right.
toLower();
 
   45         return mSortMechanism;
 
void setSortMechanism(gui_utility::mSortMechanism sortMechanism)
 
void startSearch(QString text, int options) override
 
gui_utility::mSortMechanism sortMechanism()
 
GroupingProxyModel(QObject *parent=nullptr)
 
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override
 
bool lessThan(const QModelIndex &source_left, const QModelIndex &source_right) const override
 
SearchOptions mSearchOptions
 
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,...
 
int compare(mSortMechanism mechanism, QString a, QString b)
 
QVariant data(int role) const const
 
QString toLower() const const
 
int toInt(bool *ok) const const
 
QString toString() const const