Add ability to set param of stretch

This commit is contained in:
2020-05-16 22:38:38 +02:00
parent ab2a7c9f1a
commit 3fb3b2a760
6 changed files with 50 additions and 7 deletions
+6
View File
@@ -3,18 +3,24 @@
#include <QWidget>
#include <QSlider>
#include <QComboBox>
class StretchPanel : public QWidget
{
Q_OBJECT
QSlider *m_lowSlider;
QSlider *m_highSlider;
QSlider *m_paramSlider;
QComboBox *m_stretchSelect;
public:
explicit StretchPanel(QWidget *parent = nullptr);
signals:
void lowChanged(int low);
void highChanged(int high);
void stretchChanged(int stretch);
void paramChanged(float param);
private slots:
void calculateParam();
};
#endif // STRETCHPANEL_H