QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | Protected Member Functions | List of all members
QgsFeatureSelectionDlg Class Reference

#include <qgsfeatureselectiondlg.h>

Inheritance diagram for QgsFeatureSelectionDlg:
Inheritance graph

Public Member Functions

 QgsFeatureSelectionDlg (QgsVectorLayer *vl, const QgsAttributeEditorContext &context, QWidget *parent=nullptr)
 Constructor for QgsFeatureSelectionDlg. More...
const QgsFeatureIdsselectedFeatures ()
 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...

Detailed Description

Definition at line 37 of file qgsfeatureselectiondlg.h.

Constructor & Destructor Documentation

◆ QgsFeatureSelectionDlg()

QgsFeatureSelectionDlg::QgsFeatureSelectionDlg ( QgsVectorLayer vl,
const QgsAttributeEditorContext context,
QWidget *  parent = nullptr 

Constructor for QgsFeatureSelectionDlg.

Definition at line 28 of file qgsfeatureselectiondlg.cpp.

Member Function Documentation

◆ keyPressEvent()

void QgsFeatureSelectionDlg::keyPressEvent ( QKeyEvent *  evt)

Definition at line 58 of file qgsfeatureselectiondlg.cpp.

◆ selectedFeatures()

const QgsFeatureIds & QgsFeatureSelectionDlg::selectedFeatures ( )

Gets the selected features.

The selected feature ids

Definition at line 66 of file qgsfeatureselectiondlg.cpp.

◆ setSelectedFeatures()

void QgsFeatureSelectionDlg::setSelectedFeatures ( const QgsFeatureIds ids)

Set the selected features.

idsThe feature ids to select

Definition at line 71 of file qgsfeatureselectiondlg.cpp.

◆ showEvent()

void QgsFeatureSelectionDlg::showEvent ( QShowEvent *  event)

Make sure the dialog does not grow too much.

Definition at line 76 of file qgsfeatureselectiondlg.cpp.

The documentation for this class was generated from the following files: