QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsVectorLayerLegendWidget Class Reference

A widget for configuration of options specific to vector layer's legend. More...

#include <qgsvectorlayerlegendwidget.h>

Inheritance diagram for QgsVectorLayerLegendWidget:
Inheritance graph
[legend]

Public Member Functions

 QgsVectorLayerLegendWidget (QWidget *parent=nullptr)
 
void applyToLayer ()
 Store changes made in the widget to the layer.
 
QgsMapCanvasmapCanvas () const
 Returns pointer to map canvas.
 
void setLayer (QgsVectorLayer *layer)
 Initialize widget with a map layer.
 
void setMapCanvas (QgsMapCanvas *canvas)
 Sets pointer to map canvas.
 

Detailed Description

A widget for configuration of options specific to vector layer's legend.

Definition at line 45 of file qgsvectorlayerlegendwidget.h.

Constructor & Destructor Documentation

◆ QgsVectorLayerLegendWidget()

QgsVectorLayerLegendWidget::QgsVectorLayerLegendWidget ( QWidget *  parent = nullptr)
explicit

Definition at line 35 of file qgsvectorlayerlegendwidget.cpp.

Member Function Documentation

◆ applyToLayer()

void QgsVectorLayerLegendWidget::applyToLayer ( )

Store changes made in the widget to the layer.

Definition at line 203 of file qgsvectorlayerlegendwidget.cpp.

◆ mapCanvas()

QgsMapCanvas * QgsVectorLayerLegendWidget::mapCanvas ( ) const
inline

Returns pointer to map canvas.

Definition at line 55 of file qgsvectorlayerlegendwidget.h.

◆ setLayer()

void QgsVectorLayerLegendWidget::setLayer ( QgsVectorLayer layer)

Initialize widget with a map layer.

Definition at line 114 of file qgsvectorlayerlegendwidget.cpp.

◆ setMapCanvas()

void QgsVectorLayerLegendWidget::setMapCanvas ( QgsMapCanvas canvas)

Sets pointer to map canvas.

Definition at line 108 of file qgsvectorlayerlegendwidget.cpp.


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