QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
16 #ifndef QGSGENERICFEATURESELECTIONMANAGER_H
17 #define QGSGENERICFEATURESELECTIONMANAGER_H
51 #endif // QGSGENERICFEATURESELECTIONMANAGER_H
virtual const QgsFeatureIds & selectedFeatureIds() const =0
Returns reference to identifiers of selected features.
This selection manager synchronizes a local set of selected features with an attribute table....
virtual int selectedFeatureCount()=0
Returns the number of features that are selected in this layer.
QSet< QgsFeatureId > QgsFeatureIds
virtual void setSelectedFeatures(const QgsFeatureIds &ids)=0
Change selection to the new set of features.
virtual void select(const QgsFeatureIds &ids)=0
Select features by feature ids.
Is an interface class to abstract feature selection handling.
virtual void deselect(const QgsFeatureIds &ids)=0
Deselect features by feature ids.