QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
|
A dialog to add new layers to the legend. More...
#include <qgslayoutlegendlayersdialog.h>
Public Member Functions | |
QgsLayoutLegendLayersDialog (QWidget *parent=nullptr) | |
constructor | |
QList< QgsMapLayer * > | selectedLayers () const |
Returns the list of selected layers. | |
void | setVisibleLayers (const QList< QgsMapLayer * > &layers) |
Sets a list of visible layers, to use for filtering within the dialog. | |
A dialog to add new layers to the legend.
Definition at line 34 of file qgslayoutlegendlayersdialog.h.
QgsLayoutLegendLayersDialog::QgsLayoutLegendLayersDialog | ( | QWidget * | parent = nullptr | ) |
constructor
Definition at line 26 of file qgslayoutlegendlayersdialog.cpp.
QList< QgsMapLayer * > QgsLayoutLegendLayersDialog::selectedLayers | ( | ) | const |
Returns the list of selected layers.
Definition at line 54 of file qgslayoutlegendlayersdialog.cpp.
void QgsLayoutLegendLayersDialog::setVisibleLayers | ( | const QList< QgsMapLayer * > & | layers | ) |
Sets a list of visible layers, to use for filtering within the dialog.
Definition at line 49 of file qgslayoutlegendlayersdialog.cpp.