c294c2d1df
Signed-off-by: flow <flowlnlnln@gmail.com>
33 lines
706 B
C++
33 lines
706 B
C++
#pragma once
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
class ReviewMessageBox;
|
|
}
|
|
|
|
class ReviewMessageBox : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
static auto create(QWidget* parent, QString&& title, QString&& icon = "") -> ReviewMessageBox*;
|
|
|
|
using ResourceInformation = struct res_info {
|
|
QString name;
|
|
QString filename;
|
|
QString custom_file_path {};
|
|
};
|
|
|
|
void appendResource(ResourceInformation&& info);
|
|
auto deselectedResources() -> QStringList;
|
|
|
|
void retranslateUi(QString resources_name);
|
|
|
|
~ReviewMessageBox() override;
|
|
|
|
protected:
|
|
ReviewMessageBox(QWidget* parent, const QString& title, const QString& icon);
|
|
|
|
Ui::ReviewMessageBox* ui;
|
|
};
|