QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
A filter filter provider grouping several filter providers. More...
#include <qgsfeaturefilterprovidergroup.h>
Public Member Functions | |
QgsFeatureFilterProviderGroup ()=default | |
Constructor. | |
QgsFeatureFilterProviderGroup & | addProvider (const QgsFeatureFilterProvider *provider) |
Add another filter provider to the group. | |
QgsFeatureFilterProvider * | clone () const override |
Returns a clone of the object. | |
void | filterFeatures (const QgsVectorLayer *layer, QgsFeatureRequest &filterFeatures) const override |
Filter the features of the layer. | |
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. | |
Public Member Functions inherited from QgsFeatureFilterProvider | |
QgsFeatureFilterProvider ()=default | |
virtual | ~QgsFeatureFilterProvider ()=default |
A filter filter provider grouping several filter providers.
Definition at line 31 of file qgsfeaturefilterprovidergroup.h.
|
default |
Constructor.
QgsFeatureFilterProviderGroup & QgsFeatureFilterProviderGroup::addProvider | ( | const QgsFeatureFilterProvider * | provider | ) |
Add another filter provider to the group.
provider | The provider to add |
Definition at line 52 of file qgsfeaturefilterprovidergroup.cpp.
|
overridevirtual |
Returns a clone of the object.
Implements QgsFeatureFilterProvider.
Definition at line 45 of file qgsfeaturefilterprovidergroup.cpp.
|
overridevirtual |
Filter the features of the layer.
layer | the layer to control |
filterFeatures | the request to fill |
Implements QgsFeatureFilterProvider.
Definition at line 21 of file qgsfeaturefilterprovidergroup.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 qgsfeaturefilterprovidergroup.cpp.