Is an interface class to abstract feature selection handling.
More...
#include <qgsifeatureselectionmanager.h>
Is an interface class to abstract feature selection handling.
e.g. QgsVectorLayer implements this interface to manage its selections.
Definition at line 32 of file qgsifeatureselectionmanager.h.
◆ QgsIFeatureSelectionManager()
QgsIFeatureSelectionManager::QgsIFeatureSelectionManager |
( |
QObject * |
parent | ) |
|
|
inline |
◆ deselect()
virtual void QgsIFeatureSelectionManager::deselect |
( |
const QgsFeatureIds & |
ids | ) |
|
|
pure virtual |
◆ select()
virtual void QgsIFeatureSelectionManager::select |
( |
const QgsFeatureIds & |
ids | ) |
|
|
pure virtual |
◆ selectedFeatureCount()
virtual int QgsIFeatureSelectionManager::selectedFeatureCount |
( |
| ) |
|
|
pure virtual |
◆ selectedFeatureIds()
virtual const QgsFeatureIds& QgsIFeatureSelectionManager::selectedFeatureIds |
( |
| ) |
const |
|
pure virtual |
◆ selectionChanged
void QgsIFeatureSelectionManager::selectionChanged |
( |
const QgsFeatureIds & |
selected, |
|
|
const QgsFeatureIds & |
deselected, |
|
|
const bool |
clearAndSelect |
|
) |
| |
|
signal |
This signal is emitted when selection was changed.
- Parameters
-
selected | Newly selected feature ids |
deselected | Ids of all features which have previously been selected but are not any more |
clearAndSelect | In case this is set to true, the old selection was dismissed and the new selection corresponds to selected |
◆ setSelectedFeatures()
virtual void QgsIFeatureSelectionManager::setSelectedFeatures |
( |
const QgsFeatureIds & |
ids | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: