QgsDbFilterProxyModel Class Reference

#include <qgsdbfilterproxymodel.h>

List of all members.


Detailed Description

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

Definition at line 25 of file 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


Constructor & Destructor Documentation

QgsDbFilterProxyModel::QgsDbFilterProxyModel ( QObject *  parent = 0  ) 

Definition at line 20 of file qgsdbfilterproxymodel.cpp.

QgsDbFilterProxyModel::~QgsDbFilterProxyModel (  ) 

Definition at line 25 of file qgsdbfilterproxymodel.cpp.


Member Function Documentation

void QgsDbFilterProxyModel::_setFilterWildcard ( const QString &  pattern  ) 

Calls QSortFilterProxyModel::setFilterWildcard and triggers update.

Definition at line 43 of file qgsdbfilterproxymodel.cpp.

Referenced by QgsDbSourceSelect::on_mSearchTableEdit_textChanged().

void QgsDbFilterProxyModel::_setFilterRegExp ( const QString &  pattern  ) 

Calls QSortFilterProxyModel::setFilterRegExp and triggers update.

Definition at line 49 of file qgsdbfilterproxymodel.cpp.

Referenced by QgsDbSourceSelect::on_mSearchTableEdit_textChanged().

bool QgsDbFilterProxyModel::filterAcceptsRow ( int  row,
const QModelIndex &  source_parent 
) const [protected, virtual]

Definition at line 30 of file qgsdbfilterproxymodel.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Oct 28 16:51:56 2008 for Quantum GIS API Documentation by  doxygen 1.5.1