diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2021-02-12 18:08:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-12 18:08:54 +0100 |
| commit | 9f0c8c31a6267ae9bf3181b29f65710fb30fad79 (patch) | |
| tree | d6dc8a1bc7c03bc7db6a97f65d717a094cd20e45 /src/updatedialog.h | |
| parent | 2fe627c261d54daf7c471898446ea53cbfaebf5b (diff) | |
| parent | 31c8415e8894ff380996f25095e8d43e2c79d9ee (diff) | |
Merge pull request #1405 from LostDragonist/update_fixes
Fixes for the update dialog window
Diffstat (limited to 'src/updatedialog.h')
| -rw-r--r-- | src/updatedialog.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/updatedialog.h b/src/updatedialog.h new file mode 100644 index 00000000..1dd5e0b1 --- /dev/null +++ b/src/updatedialog.h @@ -0,0 +1,28 @@ +#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); + ~UpdateDialog(); + + void setChangeLogs(const QString& text); + void setVersions(const QString& oldVersion, const QString& newVersion); + +private: + std::unique_ptr<Ui::UpdateDialog> ui; + MOBase::ExpanderWidget m_expander; + MarkdownDocument m_changeLogs; +}; + +#endif // MODORGANIZER_UPDATEDIALOG_H |
