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>

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

Constructor & Destructor Documentation

QgsExpressionItemSearchProxy::QgsExpressionItemSearchProxy ( )
inline

Member Function Documentation

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

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