diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-09 22:49:32 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-09 22:49:32 -0600 |
commit | 4dfbc5e1d78e8adb74e4af068cf3b89b3aee26b8 (patch) | |
tree | e52dd1084037de58983647886bf7596d0753742d /ui/qt5 | |
parent | b1614829b5ea99db3c6768dcf704a1b67c40cc73 (diff) | |
download | horizon-4dfbc5e1d78e8adb74e4af068cf3b89b3aee26b8.tar.gz horizon-4dfbc5e1d78e8adb74e4af068cf3b89b3aee26b8.tar.bz2 horizon-4dfbc5e1d78e8adb74e4af068cf3b89b3aee26b8.tar.xz horizon-4dfbc5e1d78e8adb74e4af068cf3b89b3aee26b8.zip |
Qt UI: Add the iface definition page for Runtime Environment
Diffstat (limited to 'ui/qt5')
-rw-r--r-- | ui/qt5/horizonwizard.cc | 4 | ||||
-rw-r--r-- | ui/qt5/horizonwizard.hh | 3 |
2 files changed, 6 insertions, 1 deletions
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<int, std::string> 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 */ |