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