kylin-nm/dlgconnhidwifisecfast.h

54 lines
1.1 KiB
C++

#ifndef DLGCONNHIDWIFISECFAST_H
#define DLGCONNHIDWIFISECFAST_H
#include <QDialog>
#include <QMouseEvent>
namespace Ui {
class DlgConnHidWifiSecFast;
}
class DlgConnHidWifiSecFast : public QDialog
{
Q_OBJECT
public:
explicit DlgConnHidWifiSecFast(int type, QWidget *parent = 0);
~DlgConnHidWifiSecFast();
public slots:
void changeDialogSecu();
void changeDialogAuth();
private slots:
void on_btnCancel_clicked();
void on_btnConnect_clicked();
void on_checkBoxAutoPCA_stateChanged(int arg1);
void on_checkBoxPwd_stateChanged(int arg1);
void on_leNetName_textEdited(const QString &arg1);
void on_leAnonyId_textEdited(const QString &arg1);
void on_leUserName_textEdited(const QString &arg1);
void on_lePassword_textEdited(const QString &arg1);
private:
Ui::DlgConnHidWifiSecFast *ui;
int WepOrWpa = 0;//0 WEP;1WPA
void mousePressEvent(QMouseEvent *event);
void mouseReleaseEvent(QMouseEvent *event);
void mouseMoveEvent(QMouseEvent *event);
bool isPress;
QPoint winPos;
QPoint dragPos;
};
#endif // DLGCONNHIDWIFISECFAST_H