summaryrefslogtreecommitdiff
path: root/src/createinstancedialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/createinstancedialog.h')
-rw-r--r--src/createinstancedialog.h30
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