QGIS API Documentation  2.4.0-Chugiak
 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
[legend]
Collaboration diagram for QgsExpressionItemSearchProxy:
Collaboration graph
[legend]

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 ( )
inline

Definition at line 36 of file qgsexpressionbuilderwidget.h.

Member Function Documentation

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

Definition at line 38 of file qgsexpressionbuilderwidget.h.

References index.


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