QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
QgsDbFilterProxyModel Class Reference

A class that implements a custom filter and can be used as a proxy for QgsDbTableModel. More...

#include <qgsdbfilterproxymodel.h>

Public Member Functions

 QgsDbFilterProxyModel (QObject *parent=0)
 ~QgsDbFilterProxyModel ()
void _setFilterWildcard (const QString &pattern)
 Calls QSortFilterProxyModel::setFilterWildcard and triggers update.
void _setFilterRegExp (const QString &pattern)
 Calls QSortFilterProxyModel::setFilterRegExp and triggers update.

Protected Member Functions

virtual bool filterAcceptsRow (int row, const QModelIndex &source_parent) const

Detailed Description

A class that implements a custom filter and can be used as a proxy for QgsDbTableModel.

Constructor & Destructor Documentation

QgsDbFilterProxyModel::QgsDbFilterProxyModel ( QObject *  parent = 0)
QgsDbFilterProxyModel::~QgsDbFilterProxyModel ( )

Member Function Documentation

void QgsDbFilterProxyModel::_setFilterRegExp ( const QString &  pattern)

Calls QSortFilterProxyModel::setFilterRegExp and triggers update.

void QgsDbFilterProxyModel::_setFilterWildcard ( const QString &  pattern)

Calls QSortFilterProxyModel::setFilterWildcard and triggers update.

bool QgsDbFilterProxyModel::filterAcceptsRow ( int  row,
const QModelIndex &  source_parent 
) const
protectedvirtual

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