QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
#include <qgsfeatureselectiondlg.h>
Public Member Functions | |
QgsFeatureSelectionDlg (QgsVectorLayer *vl, const QgsAttributeEditorContext &context, QWidget *parent=nullptr) | |
Constructor for QgsFeatureSelectionDlg. More... | |
const QgsFeatureIds & | selectedFeatures () |
Gets the selected features. More... | |
void | setSelectedFeatures (const QgsFeatureIds &ids) |
Set the selected features. More... | |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *evt) override |
void | showEvent (QShowEvent *event) override |
Make sure the dialog does not grow too much. More... | |
Definition at line 37 of file qgsfeatureselectiondlg.h.
|
explicit |
Constructor for QgsFeatureSelectionDlg.
Definition at line 28 of file qgsfeatureselectiondlg.cpp.
|
overrideprotected |
Definition at line 58 of file qgsfeatureselectiondlg.cpp.
const QgsFeatureIds & QgsFeatureSelectionDlg::selectedFeatures | ( | ) |
Gets the selected features.
Definition at line 66 of file qgsfeatureselectiondlg.cpp.
void QgsFeatureSelectionDlg::setSelectedFeatures | ( | const QgsFeatureIds & | ids | ) |
Set the selected features.
ids | The feature ids to select |
Definition at line 71 of file qgsfeatureselectiondlg.cpp.
|
overrideprotected |
Make sure the dialog does not grow too much.
Definition at line 76 of file qgsfeatureselectiondlg.cpp.