QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Member Functions | Protected Member Functions | List of all members
QgsExpressionItemSearchProxy Class Reference

Search proxy used to filter the QgsExpressionBuilderWidget tree. More...

#include <qgsexpressionbuilderwidget.h>

Inheritance diagram for QgsExpressionItemSearchProxy:
Inheritance graph
[legend]

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 qgsexpressionbuilderwidget.h.

Constructor & Destructor Documentation

QgsExpressionItemSearchProxy::QgsExpressionItemSearchProxy ( )

Definition at line 1170 of file qgsexpressionbuilderwidget.cpp.

Member Function Documentation

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

Definition at line 1175 of file qgsexpressionbuilderwidget.cpp.

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

Definition at line 1200 of file qgsexpressionbuilderwidget.cpp.


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