34 lines
600 B
C
34 lines
600 B
C
|
#ifndef ADJUSTPICTUREDIALOG_H
|
||
|
#define ADJUSTPICTUREDIALOG_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include <QGraphicsScene>
|
||
|
|
||
|
namespace Ui {
|
||
|
class AdjustPictureDialog;
|
||
|
}
|
||
|
|
||
|
class AdjustPictureDialog : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit AdjustPictureDialog(QWidget *parent = nullptr, std::string imagePath = "");
|
||
|
~AdjustPictureDialog();
|
||
|
std::string decode();
|
||
|
|
||
|
signals:
|
||
|
void decodedData(std::string data);
|
||
|
|
||
|
private slots:
|
||
|
|
||
|
// void on_buttonBox_accepted();
|
||
|
void accept() override;
|
||
|
|
||
|
private:
|
||
|
Ui::AdjustPictureDialog *ui;
|
||
|
QGraphicsScene *scene;
|
||
|
};
|
||
|
|
||
|
#endif // ADJUSTPICTUREDIALOG_H
|