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

A widget for customizing settings for raster layer labeling. More...

#include <qgsrasterlabelsettingswidget.h>

Inheritance diagram for QgsRasterLabelSettingsWidget:
Inheritance graph
[legend]

Public Member Functions

 QgsRasterLabelSettingsWidget (QgsRasterLayer *layer, QgsMapCanvas *mapCanvas, QWidget *parent=nullptr)
 Constructor for QgsRasterLabelSettingsWidget, for configuring a raster layer labeling.
 
 ~QgsRasterLabelSettingsWidget () override
 
void setLabeling (QgsAbstractRasterLayerLabeling *labeling)
 Sets the labeling settings to show in the widget.
 
void setLayer (QgsMapLayer *layer) final
 
void updateLabeling (QgsAbstractRasterLayerLabeling *labeling)
 Updates labeling by setting properties to match the current state of the widget.
 

Detailed Description

A widget for customizing settings for raster layer labeling.

Since
QGIS 3.42

Definition at line 36 of file qgsrasterlabelsettingswidget.h.

Constructor & Destructor Documentation

◆ QgsRasterLabelSettingsWidget()

QgsRasterLabelSettingsWidget::QgsRasterLabelSettingsWidget ( QgsRasterLayer layer,
QgsMapCanvas mapCanvas,
QWidget *  parent = nullptr 
)

Constructor for QgsRasterLabelSettingsWidget, for configuring a raster layer labeling.

Definition at line 25 of file qgsrasterlabelsettingswidget.cpp.

◆ ~QgsRasterLabelSettingsWidget()

QgsRasterLabelSettingsWidget::~QgsRasterLabelSettingsWidget ( )
overridedefault

Member Function Documentation

◆ setLabeling()

void QgsRasterLabelSettingsWidget::setLabeling ( QgsAbstractRasterLayerLabeling labeling)

Sets the labeling settings to show in the widget.

Definition at line 167 of file qgsrasterlabelsettingswidget.cpp.

◆ setLayer()

void QgsRasterLabelSettingsWidget::setLayer ( QgsMapLayer layer)
final

Definition at line 219 of file qgsrasterlabelsettingswidget.cpp.

◆ updateLabeling()

void QgsRasterLabelSettingsWidget::updateLabeling ( QgsAbstractRasterLayerLabeling labeling)

Updates labeling by setting properties to match the current state of the widget.

Definition at line 195 of file qgsrasterlabelsettingswidget.cpp.


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