2021-07-13 09:27:38 -07:00
|
|
|
#ifndef WIFIDIALOG_H
|
|
|
|
#define WIFIDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class wifiDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class wifiDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit wifiDialog(QWidget *parent = nullptr);
|
|
|
|
~wifiDialog();
|
2021-07-13 22:24:30 -07:00
|
|
|
QString wifiNetworksList;
|
|
|
|
void checkWifiNetworks();
|
|
|
|
void printWifiNetworks();
|
|
|
|
void centerDialog();
|
2021-07-13 09:27:38 -07:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::wifiDialog *ui;
|
2021-07-13 22:24:30 -07:00
|
|
|
QTimer * wifiListTimer;
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void wifiNetworksListReady(int networksFound);
|
|
|
|
private slots:
|
|
|
|
void on_cancelBtn_clicked();
|
2021-07-13 09:27:38 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // WIFIDIALOG_H
|