16#ifndef QGSLAYERMETADATARESULTSPROXYMODEL_H
17#define QGSLAYERMETADATARESULTSPROXYMODEL_H
19#include <QSortFilterProxyModel>
45 const QString filterString()
const;
50 void setFilterGeometryTypeEnabled(
bool enabled );
55 void setFilterMapLayerTypeEnabled(
bool enabled );
72 void setFilterString(
const QString &filterString );
81 bool filterAcceptsRow(
int sourceRow,
const QModelIndex &sourceParent )
const override;
87 QString mFilterString;
90 bool mFilterGeometryTypeEnabled =
false;
91 bool mFilterMapLayerTypeEnabled =
false;
A rectangle specified with double values.
GeometryType
The geometry types are used to group QgsWkbTypes::Type in a coarse way.
QgsMapLayerType
Types of layers that can be added to a map.
@ VectorLayer
Vector layer.