QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
A class that implements a custom filter and can be used as a proxy for QgsDbTableModel. More...
#include <qgsdbfilterproxymodel.h>
Public Member Functions | |
QgsDatabaseFilterProxyModel (QObject *parent=nullptr) | |
Constructor for QgsDatabaseFilterProxyModel. | |
void | _setFilterRegExp (const QString &pattern) |
Calls QSortFilterProxyModel::setFilterRegExp and triggers update. | |
void | _setFilterWildcard (const QString &pattern) |
Calls QSortFilterProxyModel::setFilterWildcard and triggers update. | |
Protected Member Functions | |
bool | filterAcceptsRow (int row, const QModelIndex &source_parent) const override |
A class that implements a custom filter and can be used as a proxy for QgsDbTableModel.
Definition at line 33 of file qgsdbfilterproxymodel.h.
QgsDatabaseFilterProxyModel::QgsDatabaseFilterProxyModel | ( | QObject * | parent = nullptr | ) |
Constructor for QgsDatabaseFilterProxyModel.
Definition at line 21 of file qgsdbfilterproxymodel.cpp.
void QgsDatabaseFilterProxyModel::_setFilterRegExp | ( | const QString & | pattern | ) |
Calls QSortFilterProxyModel::setFilterRegExp and triggers update.
Definition at line 45 of file qgsdbfilterproxymodel.cpp.
void QgsDatabaseFilterProxyModel::_setFilterWildcard | ( | const QString & | pattern | ) |
Calls QSortFilterProxyModel::setFilterWildcard and triggers update.
Definition at line 39 of file qgsdbfilterproxymodel.cpp.
|
overrideprotected |
Definition at line 26 of file qgsdbfilterproxymodel.cpp.