1 #ifndef _NONLINEAR_FADER_H
2 #define _NONLINEAR_FADER_H 1
4 #include <QAbstractSlider>
12 class NonLinearFader : public QSlider {
16 NonLinearFader(QWidget *parent);
17 void setDbValue(double db);
20 void dbValueChanged(double db);
23 void paintEvent(QPaintEvent *event) override;
24 void sliderChange(SliderChange change) override;
27 void update_slider_position();
29 bool inhibit_updates = false;
30 double db_value = 0.0;
33 #endif // !defined(_NONLINEAR_FADER_H)