16#ifndef QGSLAYERTREEFILTERSETTINGS_H
17#define QGSLAYERTREEFILTERSETTINGS_H
68 QMap<QString, QString> layerFilterExpressions()
const;
75 void setLayerFilterExpressions(
const QMap<QString, QString> &expressions );
80 void setLayerFilterExpressionsFromLayerTree(
QgsLayerTree *tree );
89 QString layerFilterExpression(
const QString &layerId )
const;
113 void setFilterPolygon(
const QgsGeometry &polygon );
120 Qgis::LayerTreeFilterFlags flags()
const;
127 void setFlags( Qgis::LayerTreeFilterFlags flags );
159 QList<QgsMapLayer *> layers()
const;
163 QMap<QString, QString> mLayerFilterExpressions;
165 std::unique_ptr<QgsMapSettings> mMapSettings;
169 Qgis::LayerTreeFilterFlags mFlags;
174 QMap<QString, QVector< QgsGeometry > > mLayerExtents;
A geometry is the spatial representation of a feature.
Contains settings relating to filtering the contents of QgsLayerTreeModel and views.
~QgsLayerTreeFilterSettings()
Namespace with helper functions for layer tree operations.
Base class for all map layer types.
The QgsMapSettings class contains configuration for rendering of the map.
A QgsGeometry with associated coordinate reference system.
QList< QgsWeakMapLayerPointer > QgsWeakMapLayerPointerList
A list of weak pointers to QgsMapLayers.