QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public 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
Collaboration diagram for QgsExpressionItemSearchProxy:
Collaboration graph

Public Member Functions

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

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 33 of file qgsexpressionbuilderwidget.h.

Constructor & Destructor Documentation

QgsExpressionItemSearchProxy::QgsExpressionItemSearchProxy ( )

Definition at line 36 of file qgsexpressionbuilderwidget.h.

Member Function Documentation

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

Definition at line 38 of file qgsexpressionbuilderwidget.h.

References index.

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