28 provider->filterFeatures( layer, temp );
32 filterFeatures.combineFilterExpression( lFilterExpression->dump() );
39 QStringList allowedAttributes { attributes };
43 allowedAttributes = provider->layerAttributes( layer, allowedAttributes );
45 return allowedAttributes;
51 result->mProviders = mProviders;
59 mProviders.append( provider );
void filterFeatures(const QgsVectorLayer *layer, QgsFeatureRequest &filterFeatures) const override
Add additional filters to the feature request to further restrict the features returned by the reques...
QgsFeatureFilterProviderGroup & addProvider(const QgsFeatureFilterProvider *provider)
Add another filter provider to the group.
QgsFeatureFilterProviderGroup * clone() const override
Create a clone of the feature filter provider.
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()=default
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 dataset.
#define Q_NOWARN_DEPRECATED_POP
#define Q_NOWARN_DEPRECATED_PUSH