16#ifndef QGSLAYERMETADATARESULTSPROXYMODEL_H
17#define QGSLAYERMETADATARESULTSPROXYMODEL_H
19#include <QSortFilterProxyModel>
44 const QString filterString()
const;
49 void setFilterGeometryTypeEnabled(
bool enabled );
54 void setFilterMapLayerTypeEnabled(
bool enabled );
71 void setFilterString(
const QString &filterString );
80 bool filterAcceptsRow(
int sourceRow,
const QModelIndex &sourceParent )
const override;
86 QString mFilterString;
89 bool mFilterGeometryTypeEnabled =
false;
90 bool mFilterMapLayerTypeEnabled =
false;
GeometryType
The geometry types are used to group Qgis::WkbType in a coarse way.
LayerType
Types of layers that can be added to a map.
A rectangle specified with double values.