QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
#include <qgsfeatureselectiondlg.h>
Public Member Functions | |
QgsFeatureSelectionDlg (QgsVectorLayer *vl, const QgsAttributeEditorContext &context, QWidget *parent=nullptr) | |
Constructor for QgsFeatureSelectionDlg. | |
const QgsFeatureIds & | selectedFeatures () |
Gets the selected features. | |
void | setFilterExpression (const QString &filter, QgsAttributeForm::FilterType type) |
Set form filter expression. | |
void | setSelectedFeatures (const QgsFeatureIds &ids) |
Set the selected features. | |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *evt) override |
void | showEvent (QShowEvent *event) override |
Make sure the dialog does not grow too much. | |
Definition at line 37 of file qgsfeatureselectiondlg.h.
|
explicit |
Constructor for QgsFeatureSelectionDlg.
Definition at line 29 of file qgsfeatureselectiondlg.cpp.
|
overrideprotected |
Definition at line 59 of file qgsfeatureselectiondlg.cpp.
const QgsFeatureIds & QgsFeatureSelectionDlg::selectedFeatures | ( | ) |
Gets the selected features.
Definition at line 67 of file qgsfeatureselectiondlg.cpp.
void QgsFeatureSelectionDlg::setFilterExpression | ( | const QString & | filter, |
QgsAttributeForm::FilterType | type | ||
) |
Set form filter expression.
Definition at line 134 of file qgsfeatureselectiondlg.cpp.
void QgsFeatureSelectionDlg::setSelectedFeatures | ( | const QgsFeatureIds & | ids | ) |
Set the selected features.
ids | The feature ids to select |
Definition at line 72 of file qgsfeatureselectiondlg.cpp.
|
overrideprotected |
Make sure the dialog does not grow too much.
Definition at line 77 of file qgsfeatureselectiondlg.cpp.