QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
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 111 of file qgsexpressiontreeview.h.
QgsExpressionItemSearchProxy::QgsExpressionItemSearchProxy | ( | ) |
Definition at line 843 of file qgsexpressiontreeview.cpp.
|
override |
Definition at line 848 of file qgsexpressiontreeview.cpp.
|
overrideprotected |
Definition at line 888 of file qgsexpressiontreeview.cpp.
void QgsExpressionItemSearchProxy::setFilterString | ( | const QString & | string | ) |
Sets the search filter string.
Definition at line 882 of file qgsexpressiontreeview.cpp.