summaryrefslogtreecommitdiff
path: root/src/updatedialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/updatedialog.h')
-rw-r--r--src/updatedialog.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/updatedialog.h b/src/updatedialog.h
new file mode 100644
index 00000000..dbcf28a7
--- /dev/null
+++ b/src/updatedialog.h
@@ -0,0 +1,27 @@
+#ifndef MODORGANIZER_UPDATEDIALOG_H
+#define MODORGANIZER_UPDATEDIALOG_H
+
+#include <QDialog>
+
+#include <expanderwidget.h>
+#include "lootdialog.h" // for MarkdownDocument
+
+namespace Ui { class UpdateDialog; }
+
+class UpdateDialog : public QDialog
+{
+ Q_OBJECT;
+
+public:
+ UpdateDialog(QWidget* parent, const QString& title);
+ ~UpdateDialog();
+
+ void setChangeLogs(const QString& text);
+
+private:
+ std::unique_ptr<Ui::UpdateDialog> ui;
+ MOBase::ExpanderWidget m_expander;
+ MarkdownDocument m_changeLogs;
+};
+
+#endif // MODORGANIZER_UPDATEDIALOG_H