QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
QgsDatabaseFilterProxyModel Class Reference

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

#include <qgsdbfilterproxymodel.h>

Inheritance diagram for QgsDatabaseFilterProxyModel:
Inheritance graph
[legend]

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
 

Detailed Description

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

Deprecated:
QGIS 3.24

Definition at line 33 of file qgsdbfilterproxymodel.h.

Constructor & Destructor Documentation

◆ QgsDatabaseFilterProxyModel()

QgsDatabaseFilterProxyModel::QgsDatabaseFilterProxyModel ( QObject *  parent = nullptr)

Constructor for QgsDatabaseFilterProxyModel.

Definition at line 21 of file qgsdbfilterproxymodel.cpp.

Member Function Documentation

◆ _setFilterRegExp()

void QgsDatabaseFilterProxyModel::_setFilterRegExp ( const QString &  pattern)

Calls QSortFilterProxyModel::setFilterRegExp and triggers update.

Definition at line 45 of file qgsdbfilterproxymodel.cpp.

◆ _setFilterWildcard()

void QgsDatabaseFilterProxyModel::_setFilterWildcard ( const QString &  pattern)

Calls QSortFilterProxyModel::setFilterWildcard and triggers update.

Definition at line 39 of file qgsdbfilterproxymodel.cpp.

◆ filterAcceptsRow()

bool QgsDatabaseFilterProxyModel::filterAcceptsRow ( int  row,
const QModelIndex &  source_parent 
) const
overrideprotected

Definition at line 26 of file qgsdbfilterproxymodel.cpp.


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