QGIS API Documentation  2.99.0-Master (e077efd)
Public Member Functions | List of all members
QgsFeatureSelectionDlg Class Reference

#include <qgsfeatureselectiondlg.h>

Inheritance diagram for QgsFeatureSelectionDlg:
Inheritance graph
[legend]

Public Member Functions

 QgsFeatureSelectionDlg (QgsVectorLayer *vl, QgsAttributeEditorContext &context, QWidget *parent=nullptr)
 
const QgsFeatureIdsselectedFeatures ()
 Get the selected features. More...
 
void setSelectedFeatures (const QgsFeatureIds &ids)
 Set the selected features. More...
 

Detailed Description

Definition at line 26 of file qgsfeatureselectiondlg.h.

Constructor & Destructor Documentation

§ QgsFeatureSelectionDlg()

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

Definition at line 24 of file qgsfeatureselectiondlg.cpp.

Member Function Documentation

§ selectedFeatures()

const QgsFeatureIds & QgsFeatureSelectionDlg::selectedFeatures ( )

Get the selected features.

Returns
The selected feature ids

Definition at line 38 of file qgsfeatureselectiondlg.cpp.

§ setSelectedFeatures()

void QgsFeatureSelectionDlg::setSelectedFeatures ( const QgsFeatureIds ids)

Set the selected features.

Parameters
idsThe feature ids to select

Definition at line 43 of file qgsfeatureselectiondlg.cpp.


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