28 if ( !source_parent.isValid() )
35 return QSortFilterProxyModel::filterAcceptsRow( row, source_parent );
40 QSortFilterProxyModel::setFilterWildcard( pattern );
46 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
47 QSortFilterProxyModel::setFilterRegExp( pattern );
49 QSortFilterProxyModel::setFilterRegularExpression( pattern );
QgsDatabaseFilterProxyModel(QObject *parent=nullptr)
Constructor for QgsDatabaseFilterProxyModel.
bool filterAcceptsRow(int row, const QModelIndex &source_parent) const override
void _setFilterRegExp(const QString &pattern)
Calls QSortFilterProxyModel::setFilterRegExp and triggers update.
void _setFilterWildcard(const QString &pattern)
Calls QSortFilterProxyModel::setFilterWildcard and triggers update.