#ifndef ADJUSTPICTUREDIALOG_H #define ADJUSTPICTUREDIALOG_H #include #include 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