16#ifndef QGSLAYERTREEEMBEDDEDWIDGETSIMPL_H
17#define QGSLAYERTREEEMBEDDEDWIDGETSIMPL_H
37class QgsLayerTreeOpacityWidget :
public QWidget
43 QSize sizeHint()
const override;
48 QString id()
const override;
49 QString name()
const override;
50 QgsLayerTreeOpacityWidget *createWidget(
QgsMapLayer *layer,
int widgetIndex )
override;
55 void sliderValueChanged(
int value );
56 void updateOpacityFromSlider();
57 void layerTrChanged();
60 QPointer<QgsMapLayer> mLayer;
61 QSlider *mSlider =
nullptr;
62 QTimer *mTimer =
nullptr;
Base class for all map layer types.