QgsRasterTransparencyWidget class

Widget to control a layers transparency and related options.

Base classes

class QgsMapLayerConfigWidget
A panel widget that can be shown in the map style dock.

Constructors, destructors, conversion operators

QgsRasterTransparencyWidget(QgsRasterLayer* layer, QgsMapCanvas* canvas, QWidget* parent = nullptr)
Widget to control a layers transparency and related options.

Public slots

void apply() override
Apply any changes on the widget to the set layer.
void syncToLayer()
Sync the widget state to the layer set for the widget.