#ifndef INSTALLERPROMPT_H #define INSTALLERPROMPT_H #include #include #include #include #include #include namespace NetworkManager { class Device; class WirelessDevice; class WirelessNetwork; } namespace Ui { class InstallerPrompt; } class InstallerPrompt : public QMainWindow { Q_OBJECT public: explicit InstallerPrompt(QWidget *parent = nullptr); ~InstallerPrompt() override; private slots: void refreshNetworkList(); // Slot to handle network list refreshes void onLanguageChanged(int index); void onConnectWifiClicked(); void tryLubuntu(); void installLubuntu(); private: Ui::InstallerPrompt *ui; QProcess *process; void initLanguageComboBox(); QStringList getAvailableLanguages() const; void showWifiOptions(); void updateConnectionStatus(); }; #endif // INSTALLERPROMPT_H