QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
26 provider->filterFeatures( layer, temp );
29 filterFeatures.combineFilterExpression( lFilterExpression->dump() );
36 QStringList allowedAttributes { attributes };
40 allowedAttributes = provider->layerAttributes( layer, allowedAttributes );
42 return allowedAttributes;
48 result->mProviders = mProviders;
56 mProviders.append( provider );
QgsFeatureFilterProvider * clone() const override
Returns a clone of the object.
A filter filter provider grouping several filter providers.
QgsFeatureFilterProviderGroup()=default
Constructor.
void filterFeatures(const QgsVectorLayer *layer, QgsFeatureRequest &filterFeatures) const override
Filter the features of the layer.
This class wraps a request for features to a vector layer (or directly its vector data provider).
QgsExpression * filterExpression() const
Returns the filter expression (if set).
Represents a vector layer which manages a vector based data sets.
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.
Abstract interface for use by classes that filter the features or attributes of a layer.
QgsFeatureFilterProviderGroup & addProvider(const QgsFeatureFilterProvider *provider)
Add another filter provider to the group.