2017-10-21 19:20:10 +00:00
|
|
|
#ifndef SAVEPROJECTDIALOG_H
|
|
|
|
#define SAVEPROJECTDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QAbstractButton>
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
2018-03-21 20:32:32 +00:00
|
|
|
namespace Ui {
|
|
|
|
class SaveProjectDialog;
|
2017-10-21 19:20:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class SaveProjectDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2018-05-04 07:58:32 +00:00
|
|
|
explicit SaveProjectDialog(bool quit, QWidget *parent = nullptr);
|
2017-10-21 19:20:10 +00:00
|
|
|
~SaveProjectDialog();
|
|
|
|
|
|
|
|
virtual void accept() override;
|
|
|
|
|
|
|
|
private slots:
|
2017-11-03 17:22:54 +00:00
|
|
|
void on_buttonBox_clicked(QAbstractButton *button);
|
|
|
|
void on_selectProjectsDirButton_clicked();
|
2017-10-21 19:20:10 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
std::unique_ptr<Ui::SaveProjectDialog> ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SAVEPROJECTDIALOG_H
|