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

#include <qgslayoutlegendlayersdialog.h>

Inheritance diagram for QgsLayoutLegendLayersDialog:
Inheritance graph

Public Member Functions

 QgsLayoutLegendLayersDialog (QWidget *parent=nullptr)
 constructor More...
QList< QgsMapLayer * > selectedLayers () const
 Returns the list of selected layers. More...
void setVisibleLayers (const QList< QgsMapLayer * > &layers)
 Sets a list of visible layers, to use for filtering within the dialog. More...

Detailed Description

A dialog to add new layers to the legend.

This class is not a part of public API
QGIS 3.12

Definition at line 34 of file qgslayoutlegendlayersdialog.h.

Constructor & Destructor Documentation

◆ QgsLayoutLegendLayersDialog()

QgsLayoutLegendLayersDialog::QgsLayoutLegendLayersDialog ( QWidget *  parent = nullptr)


Definition at line 25 of file qgslayoutlegendlayersdialog.cpp.

Member Function Documentation

◆ selectedLayers()

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

Returns the list of selected layers.

Definition at line 53 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 48 of file qgslayoutlegendlayersdialog.cpp.

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