2018-06-20 09:24:28 +00:00
|
|
|
#ifndef OPENFILEDIALOG_H
|
|
|
|
#define OPENFILEDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <memory>
|
2019-02-22 16:50:45 +00:00
|
|
|
#include "core/Cutter.h"
|
2018-06-20 09:24:28 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class OpenFileDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class OpenFileDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit OpenFileDialog(QWidget *parent = nullptr);
|
|
|
|
~OpenFileDialog();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_selectFileButton_clicked();
|
|
|
|
void on_buttonBox_accepted();
|
|
|
|
void on_buttonBox_rejected();
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::unique_ptr<Ui::OpenFileDialog> ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // OPENFILEDIALOG_H
|