diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-05 03:36:39 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-05 03:36:39 -0600 |
commit | 04a397afdeddf08173313be429648f6f3492045d (patch) | |
tree | a69111941e0e13aa335a2dad4439dcd6e4aef46b /ui/qt5/horizonwizard.hh | |
parent | f4801b8134c88718f49292470fddf01cd630a57f (diff) | |
download | horizon-04a397afdeddf08173313be429648f6f3492045d.tar.gz horizon-04a397afdeddf08173313be429648f6f3492045d.tar.bz2 horizon-04a397afdeddf08173313be429648f6f3492045d.tar.xz horizon-04a397afdeddf08173313be429648f6f3492045d.zip |
Qt UI: Initial draft of outputting a HorizonScript file from the UI
Diffstat (limited to 'ui/qt5/horizonwizard.hh')
-rw-r--r-- | ui/qt5/horizonwizard.hh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ui/qt5/horizonwizard.hh b/ui/qt5/horizonwizard.hh index 929c598..5be8c67 100644 --- a/ui/qt5/horizonwizard.hh +++ b/ui/qt5/horizonwizard.hh @@ -83,19 +83,37 @@ public: }; HorizonWizard(QWidget *parent = nullptr); + void accept(); + /*! Emit a HorizonScript file with the user's choices. */ + QString toHScript(); QShortcut *esc, *f1, *f3, *f6, *f8; + /*! The domain to use for downloading packages. + * @example distfiles.adelielinux.org + */ std::string mirror_domain; + /*! The version of Adélie to install. Typically "1.0". */ std::string version; #ifdef NON_LIBRE_FIRMWARE + /*! Determines whether firmware will be installed. */ bool firmware; #endif /* NON_LIBRE_FIRMWARE */ + /*! The currently probed network interfaces + * @note Only available in Installation Environment. */ std::map<std::string, NetworkInterface> interfaces; + /*! Determines whether networking will be enabled. */ bool network; + /*! Determines whether to use DHCP. */ bool net_dhcp; + /*! Determines the network interface to use. */ std::string chosen_auto_iface; + /*! Determines the packages to install. */ PackageType pkgtype; + /*! If pkgtype is Custom, a list of packages to install. */ + QStringList packages; + /*! Determines whether to install GRUB. */ bool grub; + /*! Determines the kernel to install. */ std::string kernel; }; |