QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
#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 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::setFilterExpression | ( | const QString & | filter, |
QgsAttributeForm::FilterType | type | ||
) |
Set form filter expression.
Definition at line 135 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.