QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
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 859 of file qgsexpressiontreeview.cpp.
|
override |
Definition at line 864 of file qgsexpressiontreeview.cpp.
|
overrideprotected |
Definition at line 905 of file qgsexpressiontreeview.cpp.
void QgsExpressionItemSearchProxy::setFilterString | ( | const QString & | string | ) |
Sets the search filter string.
Definition at line 899 of file qgsexpressiontreeview.cpp.