|
QGIS API Documentation 3.99.0-Master (2fe06baccd8)
|
A widget for configuration of options specific to a 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 a vector layer's legend.
Definition at line 46 of file qgsvectorlayerlegendwidget.h.
|
explicit |
Definition at line 36 of file qgsvectorlayerlegendwidget.cpp.
| void QgsVectorLayerLegendWidget::applyToLayer | ( | ) |
Store changes made in the widget to the layer.
Definition at line 210 of file qgsvectorlayerlegendwidget.cpp.
|
inline |
Returns pointer to map canvas.
Definition at line 56 of file qgsvectorlayerlegendwidget.h.
| void QgsVectorLayerLegendWidget::setLayer | ( | QgsVectorLayer * | layer | ) |
Initialize widget with a map layer.
Definition at line 123 of file qgsvectorlayerlegendwidget.cpp.
| void QgsVectorLayerLegendWidget::setMapCanvas | ( | QgsMapCanvas * | canvas | ) |
Sets pointer to map canvas.
Definition at line 117 of file qgsvectorlayerlegendwidget.cpp.