QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | Protected Member Functions | List of all members
QgsExpressionItemSearchProxy Class Reference

#include <qgsexpressiontreeview.h>

Inheritance diagram for QgsExpressionItemSearchProxy:
Inheritance graph

Public Member Functions

 QgsExpressionItemSearchProxy ()
bool filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override

Protected Member Functions

bool lessThan (const QModelIndex &left, const QModelIndex &right) const override

Detailed Description

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 112 of file qgsexpressiontreeview.h.

Constructor & Destructor Documentation

◆ QgsExpressionItemSearchProxy()

QgsExpressionItemSearchProxy::QgsExpressionItemSearchProxy ( )

Definition at line 801 of file qgsexpressiontreeview.cpp.

Member Function Documentation

◆ filterAcceptsRow()

bool QgsExpressionItemSearchProxy::filterAcceptsRow ( int  source_row,
const QModelIndex &  source_parent 
) const

Definition at line 806 of file qgsexpressiontreeview.cpp.

◆ lessThan()

bool QgsExpressionItemSearchProxy::lessThan ( const QModelIndex &  left,
const QModelIndex &  right 
) const

Definition at line 845 of file qgsexpressiontreeview.cpp.

The documentation for this class was generated from the following files: