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.
|
|
|
#ifndef WIFIPASSWORDDIALOG_H
|
|
|
|
#define WIFIPASSWORDDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class WifiPasswordDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class WifiPasswordDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit WifiPasswordDialog(QString ssid, QWidget *parent = nullptr);
|
|
|
|
~WifiPasswordDialog();
|
|
|
|
QString getPassword();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void closeEvent(QCloseEvent *event) override;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void onConnectClicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::WifiPasswordDialog *ui;
|
|
|
|
QString password;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // WIFIPASSWORDDIALOG_H
|