QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
Search proxy used to filter the QgsExpressionBuilderWidget tree. More...
#include <qgsexpressiontreeview.h>
Public Member Functions | |
QgsExpressionItemSearchProxy () | |
bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override |
void | setFilterString (const QString &string) |
Sets the search filter string. | |
Protected Member Functions | |
bool | lessThan (const QModelIndex &left, const QModelIndex &right) const override |
Search proxy used to filter the QgsExpressionBuilderWidget tree.
The default search for a tree model only searches top level this will handle one level down
Definition at line 117 of file qgsexpressiontreeview.h.
QgsExpressionItemSearchProxy::QgsExpressionItemSearchProxy | ( | ) |
Definition at line 860 of file qgsexpressiontreeview.cpp.
|
override |
Definition at line 865 of file qgsexpressiontreeview.cpp.
|
overrideprotected |
Definition at line 906 of file qgsexpressiontreeview.cpp.
void QgsExpressionItemSearchProxy::setFilterString | ( | const QString & | string | ) |
Sets the search filter string.
Definition at line 900 of file qgsexpressiontreeview.cpp.