| QGIS API Documentation
    3.16.0-Hannover (43b64b13f3)
    | 
 
 
 
Go to the documentation of this file.
   16 #ifndef QGSIFEATURESELECTIONMANAGER_H 
   17 #define QGSIFEATURESELECTIONMANAGER_H 
   37       : QObject( parent ) {}
 
   84 #endif // QGSIFEATURESELECTIONMANAGER_H 
  
virtual const QgsFeatureIds & selectedFeatureIds() const =0
Returns reference to identifiers of selected features.
void selectionChanged(const QgsFeatureIds &selected, const QgsFeatureIds &deselected, bool clearAndSelect)
Emitted when selection was changed.
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.
QgsIFeatureSelectionManager(QObject *parent)
Is an interface class to abstract feature selection handling.
virtual void deselect(const QgsFeatureIds &ids)=0
Deselect features by feature ids.