You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
installer-prompt/src/installerprompt.h

45 lines
925 B

#ifndef INSTALLERPROMPT_H
#define INSTALLERPROMPT_H
#include <QMainWindow>
#include <QComboBox>
#include <QProcess>
#include <QPushButton>
#include <QLabel>
#include <QDialog>
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