Change stretchpanel to QToolBar

This commit is contained in:
2022-04-18 10:20:19 +02:00
parent ce836a8ff3
commit ea834ebd16
6 changed files with 29 additions and 44 deletions
+25
View File
@@ -0,0 +1,25 @@
#ifndef STRETCHTOOLBAR_H
#define STRETCHTOOLBAR_H
#include <QToolBar>
#include "stfslider.h"
class Image;
class StretchToolbar : public QToolBar
{
Q_OBJECT
STFSlider *m_stfSlider;
public:
explicit StretchToolbar(QWidget *parent = nullptr);
public slots:
void stretchImage(Image *img);
void resetMTF();
signals:
void paramChanged(float low, float mid, float high);
void autoStretch();
void invert(bool enable);
void superPixel(bool enable);
};
#endif // STRETCHTOOLBAR_H