16#ifndef QGSOPACITYWIDGET_H
17#define QGSOPACITYWIDGET_H
34 Q_PROPERTY(
double opacity READ opacity WRITE setOpacity NOTIFY opacityChanged )
49 double opacity()
const;
59 void setOpacity(
double opacity );
73 void spinChanged(
double value );
78 QSlider *mSlider =
nullptr;
The QgsSpinBox is a spin box with a clear button that will set the value to the defined clear value.