QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
|
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. More... | |
void | _setFilterRegExp (const QString &pattern) |
Calls QSortFilterProxyModel::setFilterRegExp and triggers update. More... | |
void | _setFilterWildcard (const QString &pattern) |
Calls QSortFilterProxyModel::setFilterWildcard and triggers update. More... | |
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.