2022-03-13 20:20:18 +05:30
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ReviewMessageBox;
|
|
|
|
}
|
|
|
|
|
2022-04-22 21:50:31 +05:30
|
|
|
class ReviewMessageBox : public QDialog {
|
2022-03-13 20:20:18 +05:30
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
static auto create(QWidget* parent, QString&& title, QString&& icon = "") -> ReviewMessageBox*;
|
|
|
|
|
2022-04-22 21:50:31 +05:30
|
|
|
using ModInformation = struct {
|
|
|
|
QString name;
|
|
|
|
QString filename;
|
|
|
|
};
|
|
|
|
|
|
|
|
void appendMod(ModInformation&& info);
|
|
|
|
auto deselectedMods() -> QStringList;
|
2022-03-13 20:20:18 +05:30
|
|
|
|
|
|
|
~ReviewMessageBox();
|
|
|
|
|
2022-04-22 21:50:31 +05:30
|
|
|
protected:
|
2022-03-13 20:20:18 +05:30
|
|
|
ReviewMessageBox(QWidget* parent, const QString& title, const QString& icon);
|
|
|
|
|
|
|
|
Ui::ReviewMessageBox* ui;
|
|
|
|
};
|