diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-07-23 07:32:06 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-03 11:39:04 -0500 |
| commit | 60b59ddf097fffa846a4d28e0d9256630da5149c (patch) | |
| tree | 625f9efc16325f691f5e8a9931dec14a2b19d12e /src/createinstancedialog.h | |
| parent | 5513b273c679b9edda951f418ef013a762ca587a (diff) | |
started create instance dialog
allow for multiple instances of Settings
fill in information in instance manager
Diffstat (limited to 'src/createinstancedialog.h')
| -rw-r--r-- | src/createinstancedialog.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/createinstancedialog.h b/src/createinstancedialog.h new file mode 100644 index 00000000..03e9de01 --- /dev/null +++ b/src/createinstancedialog.h @@ -0,0 +1,30 @@ +#ifndef MODORGANIZER_CREATEINSTANCEDIALOG_INCLUDED +#define MODORGANIZER_CREATEINSTANCEDIALOG_INCLUDED + +#include <QDialog> + +namespace Ui { class CreateInstanceDialog; }; +namespace cid { class Page; } + +class CreateInstanceDialog : public QDialog +{ + Q_OBJECT + +public: + explicit CreateInstanceDialog(QWidget *parent = nullptr); + + ~CreateInstanceDialog(); + + Ui::CreateInstanceDialog* getUI(); + + void next(); + void back(); + +private: + std::unique_ptr<Ui::CreateInstanceDialog> ui; + std::vector<std::unique_ptr<cid::Page>> m_pages; + + void updateNavigationButtons(); +}; + +#endif // MODORGANIZER_CREATEINSTANCEDIALOG_INCLUDED |
