summaryrefslogtreecommitdiff
path: root/ui/qt5/horizonwizard.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-08 02:38:58 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-08 02:38:58 -0600
commit386ff62ca3aba790f9831ee7c194d24f6fb781fe (patch)
tree9bb4233e965f3fe71224fd0a5983c1e631787ae4 /ui/qt5/horizonwizard.hh
parent561db34595bd4181fde3781d3a00bab9a6d1403f (diff)
downloadhorizon-386ff62ca3aba790f9831ee7c194d24f6fb781fe.tar.gz
horizon-386ff62ca3aba790f9831ee7c194d24f6fb781fe.tar.bz2
horizon-386ff62ca3aba790f9831ee7c194d24f6fb781fe.tar.xz
horizon-386ff62ca3aba790f9831ee7c194d24f6fb781fe.zip
UI: Import some of the 2016 prototype - welcome to Qt UI development
Diffstat (limited to 'ui/qt5/horizonwizard.hh')
-rw-r--r--ui/qt5/horizonwizard.hh41
1 files changed, 41 insertions, 0 deletions
diff --git a/ui/qt5/horizonwizard.hh b/ui/qt5/horizonwizard.hh
new file mode 100644
index 0000000..c47fb49
--- /dev/null
+++ b/ui/qt5/horizonwizard.hh
@@ -0,0 +1,41 @@
+#ifndef HORIZONWIZARD_HH
+#define HORIZONWIZARD_HH
+
+#include <QWizard>
+#include <string>
+
+class HorizonWizard : public QWizard {
+public:
+ enum {
+ Page_Intro, /* introduction */
+ Page_Input, /* keyboard layout */
+ Page_Partition, /* partitioning */
+#ifdef NON_LIBRE_FIRMWARE
+ Page_Firmware, /* firmware */
+#endif /* NON_LIBRE_FIRMWARE */
+ Page_Network, /* network type selection (DHCP/static) */
+ Page_Network_Iface, /* network interface selection */
+ Page_Network_Wireless, /* wireless */
+ Page_Network_DHCP, /* interstitial for DHCP */
+ Page_Network_Portal, /* shown if captive portal is detected */
+ Page_Network_Manual, /* static addressing */
+ Page_DateTime, /* date and time, TZ, NTP */
+ Page_Hostname, /* hostname */
+ Page_PkgSimple, /* simple package selection */
+ Page_PkgCustom, /* custom package selection */
+ Page_Boot, /* boot loader configuration */
+ Page_Root, /* root passphrase */
+ Page_Accounts, /* user account configuration */
+#ifndef HAS_INSTALL_ENV
+ Page_Write, /* write HorizonScript to disk */
+#else /* HAS_INSTALL_ENV */
+ Page_Commit /* begin install */
+#endif /* !HAS_INSTALL_ENV */
+ };
+
+ HorizonWizard(QWidget *parent = nullptr);
+ /* collected information stored here */
+ std::string keymap;
+};
+
+#endif /* !HORIZONWIZARD_HH */