summaryrefslogtreecommitdiff
path: root/mainwizard.h
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-03-17 05:07:10 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2011-03-17 05:07:10 +0100
commit00286a5db286e21a766b6af057052dc5d17561ad (patch)
tree7232dadf6dc3570705c3104fe0c000f480c7a0ee /mainwizard.h
downloadacritoxinstaller-00286a5db286e21a766b6af057052dc5d17561ad.zip
acritoxinstaller-00286a5db286e21a766b6af057052dc5d17561ad.tar.gz
Initial commit
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