QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Member Functions | Protected 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)
 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 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 ( QgsVectorLayer vl,
QgsAttributeEditorContext context,
QWidget *  parent = nullptr 
)
explicit

Constructor for QgsFeatureSelectionDlg.

Definition at line 25 of file qgsfeatureselectiondlg.cpp.

Member Function Documentation

const QgsFeatureIds & QgsFeatureSelectionDlg::selectedFeatures ( )

Gets the selected features.

Returns
The selected feature ids

Definition at line 39 of file qgsfeatureselectiondlg.cpp.

void QgsFeatureSelectionDlg::setSelectedFeatures ( const QgsFeatureIds ids)

Set the selected features.

Parameters
idsThe feature ids to select

Definition at line 44 of file qgsfeatureselectiondlg.cpp.

void QgsFeatureSelectionDlg::showEvent ( QShowEvent *  event)
overrideprotected

Make sure the dialog does not grow too much.

Definition at line 49 of file qgsfeatureselectiondlg.cpp.


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