Complete doc

This commit is contained in:
Julien Cabieces 2019-10-28 09:57:55 +01:00
parent c449651a60
commit 157dca2d13
2 changed files with 12 additions and 0 deletions

View File

@ -48,6 +48,14 @@ class GUI_EXPORT QgsVectorLayerSelectionManager : public QgsIFeatureSelectionMan
QgsVectorLayer *layer() const; QgsVectorLayer *layer() const;
private slots: private slots:
/**
* Called whenever layer selection was changed
*
* \param selected Newly selected feature ids
* \param deselected Ids of all features which have previously been selected but are not any more
* \param clearAndSelect In case this is set to TRUE, the old selection was dismissed and the new selection corresponds to selected
*/
virtual void onSelectionChanged( const QgsFeatureIds &selected, const QgsFeatureIds &deselected, bool clearAndSelect ); virtual void onSelectionChanged( const QgsFeatureIds &selected, const QgsFeatureIds &deselected, bool clearAndSelect );
private: private:

View File

@ -38,6 +38,10 @@
/// @cond PRIVATE /// @cond PRIVATE
/**
* This class is used to filter the current vector layer selection to features matching the given request.
* Relation editor widget use it in order to get selected feature for the current relation.
*/
class QgsFilteredSelectionManager : public QgsVectorLayerSelectionManager class QgsFilteredSelectionManager : public QgsVectorLayerSelectionManager
{ {
public: public: