  }
  
  QWidget * network_panel(QWidget * parent) {
    Networking *w = new Networking(parent);
    QObject::connect(parent, SIGNAL(sidebarPressed()), w, SLOT(sidebarChange()));
    QObject::connect(w, SIGNAL(openKeyboard()), parent, SLOT(closeSidebar()));
    QObject::connect(w, SIGNAL(closeKeyboard()), parent, SLOT(openSidebar()));
    return w;
  }
  
  
  void SettingsWindow::setActivePanel() {
 
</s> remove QWidget * Setup::network_setup() {

  QVBoxLayout *main_layout = new QVBoxLayout();
  main_layout->setContentsMargins(50, 50, 50, 50);

  main_layout->addWidget(title_label("Connect to WiFi"), 0, Qt::AlignTop);

  WifiUI *wifi = new WifiUI(this, 6);
  main_layout->addWidget(wifi);
  QObject::connect(wifi, &WifiUI::openKeyboard, this, [=]() {
    this->continue_btn->setVisible(false);
  });
  QObject::connect(wifi, &WifiUI::closeKeyboard, this, [=]() {
    this->continue_btn->setVisible(true);
  });

  continue_btn = new QPushButton("Continue");
  main_layout->addWidget(continue_btn);
  QObject::connect(continue_btn, SIGNAL(released()), this, SLOT(nextPage()));
 </s> add QWidget * Setup::getting_started() {
  QLabel *body = new QLabel("Before we get on the road, let's finish\ninstallation and cover some details.");
  body->setAlignment(Qt::AlignHCenter);
  body->setStyleSheet(R"(font-size: 80px;)");
  return build_page("Getting Started", body, true, false);
} </s> remove Networking::Networking(QWidget* parent) : QWidget(parent){
 </s> add Networking::Networking(QWidget* parent, bool show_advanced) : QWidget(parent){ </s> remove     std::array<char, 128> buffer;
    std::string result;
    std::unique_ptr<FILE, decltype(&pclose)> pipe(popen(cmd, "r"), pclose);
    if (!pipe) {
        throw std::runtime_error("popen() failed!");
    }
    while (fgets(buffer.data(), buffer.size(), pipe.get()) != nullptr) {
        result += buffer.data();
    }
    return result;
 </s> add   std::array<char, 128> buffer;
  std::string result;
  std::unique_ptr<FILE, decltype(&pclose)> pipe(popen(cmd, "r"), pclose);
  if (!pipe) {
    throw std::runtime_error("popen() failed!");
  }
  while (fgets(buffer.data(), buffer.size(), pipe.get()) != nullptr) {
    result += buffer.data();
  }
  return result;
  }
  
  QWidget * network_panel(QWidget * parent) {
    Networking *w = new Networking(parent);



    return w;
  }
  
  
  void SettingsWindow::setActivePanel() {
keep keep keep keep replace replace replace keep keep keep keep keep
 Qt UI refactoring + improvements (#20033) 
selfdrive/ui/qt/offroad/settings.cc