Class: QgsFeatureFilterProviderGroup

class qgis.server.QgsFeatureFilterProviderGroup

Bases: QgsFeatureFilterProvider

A filter filter provider grouping several filter providers.

QgsFeatureFilterProviderGroup() Constructor

QgsFeatureFilterProviderGroup(a0: QgsFeatureFilterProviderGroup)

Methods

addProvider

Add another filter provider to the group

clone

Returns a clone of the object

filterFeatures

Filter the features of the layer.

layerAttributes

param layer:

addProvider(self, provider: QgsFeatureFilterProvider | None) QgsFeatureFilterProviderGroup

Add another filter provider to the group

Parameters:

provider (Optional[QgsFeatureFilterProvider]) – The provider to add

Return type:

QgsFeatureFilterProviderGroup

Returns:

itself

clone(self) QgsFeatureFilterProvider | None

Returns a clone of the object

Return type:

Optional[QgsFeatureFilterProvider]

Returns:

A clone

filterFeatures(self, layer: QgsVectorLayer | None, filterFeatures: QgsFeatureRequest)

Filter the features of the layer.

Parameters:
layerAttributes(self, layer: QgsVectorLayer | None, attributes: Iterable[str | None]) List[str]
Parameters:
  • layer (Optional[QgsVectorLayer])

  • attributes (Iterable[Optional[str]])

Return type:

List[str]