summaryrefslogtreecommitdiff
path: root/mainwizard.h
diff options
context:
space:
mode:
Diffstat (limited to 'mainwizard.h')
-rw-r--r--mainwizard.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/mainwizard.h b/mainwizard.h
new file mode 100644
index 0000000..9fa9839
--- /dev/null
+++ b/mainwizard.h
@@ -0,0 +1,39 @@
+#ifndef mainwizard_H
+#define mainwizard_H
+
+#include <QWizard>
+#include "backend.h"
+#include "busyappfilter.h"
+
+class MainWizard : public QWizard
+{
+ Q_OBJECT
+
+ public:
+ enum { Page_Welcome,
+ Page_Partitions,
+ Page_PartManSel,
+ Page_PartMan,
+ Page_RootPartition,
+ Page_Bootloader,
+ Page_RootPwd,
+ Page_UserCfg,
+ Page_UserPwd,
+ Page_Network,
+ Page_Summary,
+ Page_Installation };
+ MainWizard();
+ void reject();
+ Backend* backend;
+ QSize sizeHint() const;
+
+ private:
+ BusyAppFilter *filter;
+
+ private slots:
+ void processCommand(QString command, QString args);
+ void backendBusy(bool busy);
+
+};
+
+#endif // mainwizard_H