From 4dfbc5e1d78e8adb74e4af068cf3b89b3aee26b8 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 9 Nov 2019 22:49:32 -0600 Subject: Qt UI: Add the iface definition page for Runtime Environment --- ui/qt5/horizonwizard.cc | 4 +++- ui/qt5/horizonwizard.hh | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/qt5/horizonwizard.cc b/ui/qt5/horizonwizard.cc index 89a25d1..f3a97f9 100644 --- a/ui/qt5/horizonwizard.cc +++ b/ui/qt5/horizonwizard.cc @@ -31,6 +31,9 @@ static std::map help_id_map = { #ifdef NON_LIBRE_FIRMWARE {HorizonWizard::Page_Firmware, "firmware"}, #endif /* NON_LIBRE_FIRMWARE */ +#ifndef HAS_INSTALL_ENV + {HorizonWizard::Page_Network_Define, "network-define"}, +#endif /* !HAS_INSTALL_ENV */ {HorizonWizard::Page_Network, "network-start"}, {HorizonWizard::Page_Network_Iface, "network-iface"}, {HorizonWizard::Page_Network_Wireless, "network-wifi"}, @@ -89,7 +92,6 @@ HorizonWizard::HorizonWizard(QWidget *parent) : QWizard(parent) { help.exec(); }); - /* REQ: UI.Global.Cancel.Confirm */ button(CancelButton)->disconnect(this); QObject::connect(button(CancelButton), &QAbstractButton::clicked, diff --git a/ui/qt5/horizonwizard.hh b/ui/qt5/horizonwizard.hh index b027591..e4e8897 100644 --- a/ui/qt5/horizonwizard.hh +++ b/ui/qt5/horizonwizard.hh @@ -26,6 +26,9 @@ public: #ifdef NON_LIBRE_FIRMWARE Page_Firmware, /* firmware */ #endif /* NON_LIBRE_FIRMWARE */ +#ifndef HAS_INSTALL_ENV + Page_Network_Define, /* define network interfaces for target */ +#endif /* !HAS_INSTALL_ENV */ Page_Network, /* network type selection (DHCP/static) */ Page_Network_Iface, /* network interface selection */ Page_Network_Wireless, /* wireless */ -- cgit v1.2.3-60-g2f50