QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
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 34 of file qgsdbfilterproxymodel.h.
QgsDatabaseFilterProxyModel::QgsDatabaseFilterProxyModel | ( | QObject * | parent = nullptr | ) |
Constructor for QgsDatabaseFilterProxyModel.
Definition at line 20 of file qgsdbfilterproxymodel.cpp.
void QgsDatabaseFilterProxyModel::_setFilterRegExp | ( | const QString & | pattern | ) |
Calls QSortFilterProxyModel::setFilterRegExp and triggers update.
Definition at line 44 of file qgsdbfilterproxymodel.cpp.
void QgsDatabaseFilterProxyModel::_setFilterWildcard | ( | const QString & | pattern | ) |
Calls QSortFilterProxyModel::setFilterWildcard and triggers update.
Definition at line 38 of file qgsdbfilterproxymodel.cpp.
|
overrideprotected |
Definition at line 25 of file qgsdbfilterproxymodel.cpp.