16 #ifndef QGSLAYERTREEEMBEDDEDWIDGETSIMPL_H 17 #define QGSLAYERTREEEMBEDDEDWIDGETSIMPL_H 33 class QgsLayerTreeTransparencyWidget :
public QWidget 37 QgsLayerTreeTransparencyWidget(
QgsMapLayer* layer );
44 virtual QString id()
const override;
45 virtual QString name()
const override;
46 virtual QgsLayerTreeTransparencyWidget* createWidget(
QgsMapLayer* layer,
int widgetIndex )
override;
47 virtual bool supportsLayer(
QgsMapLayer *layer )
override;
51 void sliderValueChanged(
int value );
52 void updateTransparencyFromSlider();
53 void layerTrChanged();
61 #endif // QGSLAYERTREEEMBEDDEDWIDGETSIMPL_H
Base class for all map layer types.