diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-19 23:01:41 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-19 23:01:41 -0600 |
commit | 5a2edfafa2465ee615eece5655601be96d7c0cde (patch) | |
tree | 98800c6efeb798664307aae7d3fc730bfe411f22 /ui/qt5/horizonwizard.cc | |
parent | af7111f3750eec9b90b6025297c522b97952cd38 (diff) | |
download | horizon-5a2edfafa2465ee615eece5655601be96d7c0cde.tar.gz horizon-5a2edfafa2465ee615eece5655601be96d7c0cde.tar.bz2 horizon-5a2edfafa2465ee615eece5655601be96d7c0cde.tar.xz horizon-5a2edfafa2465ee615eece5655601be96d7c0cde.zip |
Qt UI: Add UI.Boot page
Diffstat (limited to 'ui/qt5/horizonwizard.cc')
-rw-r--r-- | ui/qt5/horizonwizard.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/qt5/horizonwizard.cc b/ui/qt5/horizonwizard.cc index c59be5d..2b3dd8b 100644 --- a/ui/qt5/horizonwizard.cc +++ b/ui/qt5/horizonwizard.cc @@ -41,6 +41,7 @@ extern "C" { #include "datetimepage.hh" #include "hostnamepage.hh" #include "pkgsimple.hh" +#include "bootpage.hh" static std::map<int, std::string> help_id_map = { {HorizonWizard::Page_Intro, "intro"}, @@ -167,6 +168,11 @@ HorizonWizard::HorizonWizard(QWidget *parent) : QWizard(parent) { mirror_domain = "distfiles.adelielinux.org"; version = "stable"; + /* TODO XXX: + * Determine which platform kernel is being used, if any (-power8 etc) + * Determine hardware requirements (easy or mainline) + */ + kernel = "easy-kernel"; /* REQ: UI.Global.Back.Save */ setOption(IndependentPages); @@ -188,6 +194,7 @@ HorizonWizard::HorizonWizard(QWidget *parent) : QWizard(parent) { setPage(Page_DateTime, new DateTimePage); setPage(Page_Hostname, new HostnamePage); setPage(Page_PkgSimple, new PkgSimplePage); + setPage(Page_Boot, new BootPage); QObject::connect(this, &QWizard::helpRequested, [=](void) { if(help_id_map.find(currentId()) == help_id_map.end()) { |