diff options
author | flow <thiagodonato300@gmail.com> | 2022-03-13 11:50:18 -0300 |
---|---|---|
committer | flow <thiagodonato300@gmail.com> | 2022-03-13 11:50:18 -0300 |
commit | b3b613d8b4a5012d22b9e1646f4367fd27c783e3 (patch) | |
tree | f4ab9a381b95987e91f1f6eb7129cfcb30cd57f9 /launcher/ui/dialogs/ReviewMessageBox.h | |
parent | b96572774fd13fea7bc0ec0110bf0bde1e898ffe (diff) | |
download | PrismLauncher-b3b613d8b4a5012d22b9e1646f4367fd27c783e3.tar.gz PrismLauncher-b3b613d8b4a5012d22b9e1646f4367fd27c783e3.tar.bz2 PrismLauncher-b3b613d8b4a5012d22b9e1646f4367fd27c783e3.zip |
feat(ui): make a better "Mod download confirmation dialog"
Diffstat (limited to 'launcher/ui/dialogs/ReviewMessageBox.h')
-rw-r--r-- | launcher/ui/dialogs/ReviewMessageBox.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/launcher/ui/dialogs/ReviewMessageBox.h b/launcher/ui/dialogs/ReviewMessageBox.h new file mode 100644 index 00000000..48742cd9 --- /dev/null +++ b/launcher/ui/dialogs/ReviewMessageBox.h @@ -0,0 +1,23 @@ +#pragma once + +#include <QDialog> + +namespace Ui { +class ReviewMessageBox; +} + +class ReviewMessageBox final : public QDialog { + Q_OBJECT + + public: + static auto create(QWidget* parent, QString&& title, QString&& icon = "") -> ReviewMessageBox*; + + void appendMod(const QString& name, const QString& filename); + + ~ReviewMessageBox(); + + private: + ReviewMessageBox(QWidget* parent, const QString& title, const QString& icon); + + Ui::ReviewMessageBox* ui; +}; |