QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsLayoutLegendLayersDialog Class Reference

A dialog to add new layers to the legend. More...

#include <qgslayoutlegendlayersdialog.h>

Inheritance diagram for QgsLayoutLegendLayersDialog:

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.

Detailed Description

A dialog to add new layers to the legend.

Note
This class is not a part of public API
Since
QGIS 3.12

Definition at line 35 of file qgslayoutlegendlayersdialog.h.

Constructor & Destructor Documentation

◆ QgsLayoutLegendLayersDialog()

QgsLayoutLegendLayersDialog::QgsLayoutLegendLayersDialog ( QWidget * parent = nullptr)

constructor

Definition at line 28 of file qgslayoutlegendlayersdialog.cpp.

Member Function Documentation

◆ selectedLayers()

QList< QgsMapLayer * > QgsLayoutLegendLayersDialog::selectedLayers ( ) const

Returns the list of selected layers.

Definition at line 56 of file qgslayoutlegendlayersdialog.cpp.

◆ setVisibleLayers()

void QgsLayoutLegendLayersDialog::setVisibleLayers ( const QList< QgsMapLayer * > & layers)

Sets a list of visible layers, to use for filtering within the dialog.

Definition at line 51 of file qgslayoutlegendlayersdialog.cpp.


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