Add new Zone wizard

This commit is contained in:
2018-01-29 23:56:36 -06:00
parent eebce9924d
commit 68bb2729d7
15 changed files with 85 additions and 60 deletions
+6 -1
View File
@@ -22,7 +22,11 @@
namespace nostalgia {
namespace studio {
class WizardMaker;
struct WizardMaker {
QString name;
std::function<QVector<QWizardPage*>()> make;
std::function<int(QWizard*)> onAccept;
};
class WizardSelect: public QWizardPage {
Q_OBJECT
@@ -53,6 +57,7 @@ class WizardSelect: public QWizardPage {
class WizardFormPage: public QWizardPage {
Q_OBJECT
private:
struct Field {
QString defaultValue = "";