7 #include "qhexvalidator.h"
20 class AuthSecuDlg
: public QDialog
25 AuthSecuDlg( QWidget
* parent
= 0, const char* name
= 0, bool modal
= FALSE
, WFlags fl
= 0 );
28 QLabel
* Security_TextLabel1
;
29 QLabel
* Security_TextLabel2
;
30 QLabel
* Security_TextLabel3
;
31 QComboBox
* Security_ComboBox_AuthType
;
32 QComboBox
* Security_ComboBox_Encrypt
;
33 QLineEdit
* Security_LineEdit_PSK
;
34 QButtonGroup
* Security_ButtonGroup_Key
;
35 QRadioButton
* Security_RadioButton_Key1
;
36 QRadioButton
* Security_RadioButton_Key2
;
37 QRadioButton
* Security_RadioButton_Key3
;
38 QRadioButton
* Security_RadioButton_Key4
;
39 QComboBox
* Security_ComboBox_KeyType1
;
40 QComboBox
* Security_ComboBox_KeyType2
;
41 QComboBox
* Security_ComboBox_KeyType3
;
42 QComboBox
* Security_ComboBox_KeyType4
;
43 QLineEdit
* Security_LineEdit_Key1Hex
;
44 QLineEdit
* Security_LineEdit_Key1Ascii
;
45 QLineEdit
* Security_LineEdit_Key2Hex
;
46 QLineEdit
* Security_LineEdit_Key2Ascii
;
47 QLineEdit
* Security_LineEdit_Key3Hex
;
48 QLineEdit
* Security_LineEdit_Key3Ascii
;
49 QLineEdit
* Security_LineEdit_Key4Hex
;
50 QLineEdit
* Security_LineEdit_Key4Ascii
;
51 QPushButton
* PushButton_OK
;
52 QPushButton
* PushButton_Cancel
;
54 QHexValidator
* m_hexValidator
;
57 bool Security_IsClickOk();
58 int Security_GetWepKeyType(int index
);
59 QString
Security_GetWepKeyString(int index
);
60 QString
Security_GetPSKString();
61 NDIS_802_11_AUTHENTICATION_MODE
Security_GetAuthticationMode();
62 NDIS_802_11_ENCRYPTION_STATUS
Security_GetEncryptType();
63 void Security_SetAuthModeAndEncryType(NDIS_802_11_AUTHENTICATION_MODE mode
, NDIS_802_11_ENCRYPTION_STATUS type
);
64 int Security_GetDefaultKeyId();
65 void Security_SetDefaultKeyId(int keyId
);
66 void Security_SetKeyTypeAndKeyString(int keyIndex
, int keyType
, char *keyString
);
69 virtual void Do_NotThing() { };
71 virtual void OnCancel();
72 virtual void Security_OnSelectAuthenType(int id
);
73 virtual void Security_OnSelectEncryptType(int id
);
74 virtual void Security_OnSelectKey1Type(int id
);
75 virtual void Security_OnSelectKey2Type(int id
);
76 virtual void Security_OnSelectKey3Type(int id
);
77 virtual void Security_OnSelectKey4Type(int id
);
80 #endif // AUTHSECUDLG_H