gz/gui/SearchModel.hh
bool FilterAcceptsRowItself(const int _srcRow, const QModelIndex &_srcParent, const QString &_word) const
Check if row contains the word on itself.
Customize the proxy model to display search results.
Definition: gz/gui/SearchModel.hh:36
bool HasChildAcceptsItself(const QModelIndex &_srcParent, const QString &_word) const
Check if any of the children accepts a specific word.
bool HasAcceptedChildren(const int _srcRow, const QModelIndex &_srcParent) const
Check if any of the children is fully accepted.
bool filterAcceptsRow(const int _srcRow, const QModelIndex &_srcParent) const
Overloaded Qt method. Customize so we accept rows where:
QString search
Full search string.
Definition: gz/gui/SearchModel.hh:90