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 );
A filter filter provider grouping several filter providers.
void filterFeatures(const QgsVectorLayer *layer, QgsFeatureRequest &filterFeatures) const override
Filter the features of the layer.
QgsFeatureFilterProviderGroup & addProvider(const QgsFeatureFilterProvider *provider)
Add another filter provider to the group.
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.
QgsFeatureFilterProviderGroup()=default
Constructor.
QgsFeatureFilterProvider * clone() const override
Returns a clone of the object.
Abstract interface for use by classes that filter the features or attributes of a 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.