QGIS API Documentation
3.24.2-Tisler (13c1a02865)
|
A server filter to apply a dimension filter to a request. More...
#include <qgsdimensionfilter.h>
Public Member Functions | |
QgsDimensionFilter (const QMap< const QgsVectorLayer *, QStringList > dimensionFilter) | |
Creates a new dimension filter object with a list of filters to be applied to vector layers. More... | |
QgsDimensionFilter * | clone () const override |
Create a clone of the feature filter provider. More... | |
void | filterFeatures (const QgsVectorLayer *layer, QgsFeatureRequest &filterFeatures) const override |
Add additional filters to the feature request to further restrict the features returned by the request. More... | |
QStringList | layerAttributes (const QgsVectorLayer *layer, const QStringList &attributes) const override |
Returns the list of visible attribute names from a list of attributes names for the given layer. More... | |
Public Member Functions inherited from QgsFeatureFilterProvider | |
QgsFeatureFilterProvider ()=default | |
Constructor. More... | |
virtual | ~QgsFeatureFilterProvider ()=default |
A server filter to apply a dimension filter to a request.
Definition at line 32 of file qgsdimensionfilter.h.
QgsDimensionFilter::QgsDimensionFilter | ( | const QMap< const QgsVectorLayer *, QStringList > | dimensionFilter | ) |
Creates a new dimension filter object with a list of filters to be applied to vector layers.
Definition at line 20 of file qgsdimensionfilter.cpp.
|
overridevirtual |
Create a clone of the feature filter provider.
Implements QgsFeatureFilterProvider.
Definition at line 40 of file qgsdimensionfilter.cpp.
|
overridevirtual |
Add additional filters to the feature request to further restrict the features returned by the request.
Derived classes must implement this method.
layer | the layer to filter |
featureRequest | the feature request to update |
Implements QgsFeatureFilterProvider.
Definition at line 26 of file qgsdimensionfilter.cpp.
|
overridevirtual |
Returns the list of visible attribute names from a list of attributes names for the given layer.
Implements QgsFeatureFilterProvider.
Definition at line 34 of file qgsdimensionfilter.cpp.