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-11-25 17:53:46 +05:30
|
|
|
using ResourceInformation = struct {
|
2022-04-22 21:50:31 +05:30
|
|
|
QString name;
|
|
|
|
QString filename;
|
|
|
|
};
|
|
|
|
|
2022-11-25 17:53:46 +05:30
|
|
|
void appendResource(ResourceInformation&& info);
|
|
|
|
auto deselectedResources() -> QStringList;
|
2022-03-13 20:20:18 +05:30
|
|
|
|
2022-11-25 17:53:46 +05:30
|
|
|
~ReviewMessageBox() override;
|
2022-03-13 20:20:18 +05:30
|
|
|
|
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;
|
|
|
|
};
|