QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
A widget for configuration of options specific to vector layer's legend. More...
#include <qgsvectorlayerlegendwidget.h>
Public Member Functions | |
QgsVectorLayerLegendWidget (QWidget *parent=nullptr) | |
void | applyToLayer () |
Store changes made in the widget to the layer. | |
QgsMapCanvas * | mapCanvas () 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. | |
A widget for configuration of options specific to vector layer's legend.
Definition at line 45 of file qgsvectorlayerlegendwidget.h.
|
explicit |
Definition at line 35 of file qgsvectorlayerlegendwidget.cpp.
void QgsVectorLayerLegendWidget::applyToLayer | ( | ) |
Store changes made in the widget to the layer.
Definition at line 203 of file qgsvectorlayerlegendwidget.cpp.
|
inline |
Returns pointer to map canvas.
Definition at line 55 of file qgsvectorlayerlegendwidget.h.
void QgsVectorLayerLegendWidget::setLayer | ( | QgsVectorLayer * | layer | ) |
Initialize widget with a map layer.
Definition at line 114 of file qgsvectorlayerlegendwidget.cpp.
void QgsVectorLayerLegendWidget::setMapCanvas | ( | QgsMapCanvas * | canvas | ) |
Sets pointer to map canvas.
Definition at line 108 of file qgsvectorlayerlegendwidget.cpp.