|
1 /* |
|
2 * Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: This file contains all the resources for the WPA Security Settings UI. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME AWAS // 4 letter ID |
|
21 |
|
22 // INCLUDES |
|
23 #include <eikon.rh> |
|
24 #include <avkon.rsg> |
|
25 #include <avkon.rh> |
|
26 #include <avkon.loc> |
|
27 |
|
28 #include "WPASecuritySettingsUI.hrh" |
|
29 #include <wpasecuritysettingsui.loc> |
|
30 |
|
31 |
|
32 // RESOURCE DEFINITIONS |
|
33 |
|
34 RESOURCE RSS_SIGNATURE { } |
|
35 |
|
36 RESOURCE TBUF { buf="WPASecuritySettings"; } |
|
37 |
|
38 |
|
39 //---------------------------------------------------- |
|
40 // |
|
41 // r_wpa_security_settings_menubar |
|
42 // Menubar |
|
43 // |
|
44 //---------------------------------------------------- |
|
45 // |
|
46 RESOURCE MENU_BAR r_wpa_security_settings_menubar |
|
47 { |
|
48 titles= |
|
49 { |
|
50 MENU_TITLE |
|
51 { |
|
52 menu_pane = r_wpa_security_settings_menu; |
|
53 } |
|
54 }; |
|
55 } |
|
56 |
|
57 |
|
58 |
|
59 //---------------------------------------------------- |
|
60 // |
|
61 // r_wpa_security_settings_menu |
|
62 // The Options menu |
|
63 // |
|
64 //---------------------------------------------------- |
|
65 // |
|
66 RESOURCE MENU_PANE r_wpa_security_settings_menu |
|
67 { |
|
68 items= |
|
69 { |
|
70 MENU_ITEM |
|
71 { |
|
72 command = EWpaSelCmdChange; |
|
73 txt = qtn_set_options_change; |
|
74 flags = EEikMenuItemAction; |
|
75 }, |
|
76 |
|
77 MENU_ITEM |
|
78 { |
|
79 command = EAknCmdHelp; |
|
80 txt = qtn_options_help; |
|
81 }, |
|
82 |
|
83 MENU_ITEM |
|
84 { |
|
85 command = EAknCmdExit; |
|
86 txt = qtn_options_exit; |
|
87 } |
|
88 }; |
|
89 } |
|
90 |
|
91 |
|
92 |
|
93 //---------------------------------------------------- |
|
94 // |
|
95 // r_wpasettings_pane_softkeys_options_back_edit |
|
96 // WPA Security Settings softkeys |
|
97 // |
|
98 //---------------------------------------------------- |
|
99 // |
|
100 RESOURCE CBA r_wpasettings_pane_softkeys_options_back_edit |
|
101 { |
|
102 buttons = |
|
103 { |
|
104 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
105 CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; }, |
|
106 CBA_BUTTON { id = EWpaSelCmdChange; txt = qtn_msk_change; } |
|
107 }; |
|
108 } |
|
109 |
|
110 |
|
111 |
|
112 //---------------------------------------------------- |
|
113 // |
|
114 // r_wpasettings_dialog |
|
115 // WPA Security Settings main dialog |
|
116 // |
|
117 //---------------------------------------------------- |
|
118 // |
|
119 RESOURCE DIALOG r_wpasettings_dialog |
|
120 { |
|
121 flags = EEikDialogFlagWait | EEikDialogFlagNoDrag | |
|
122 EEikDialogFlagNoTitleBar | EEikDialogFlagFillAppClientRect | |
|
123 EEikDialogFlagCbaButtons; |
|
124 |
|
125 buttons = r_wpasettings_pane_softkeys_options_back_edit; |
|
126 |
|
127 items = |
|
128 { |
|
129 DLG_LINE |
|
130 { |
|
131 type = EAknCtSettingListBox; |
|
132 id = KWpaMainSettingsListboxId; |
|
133 control = LISTBOX |
|
134 { |
|
135 flags = EAknListBoxSelectionList; |
|
136 }; |
|
137 } |
|
138 }; |
|
139 } |
|
140 |
|
141 |
|
142 //---------------------------------------------------- |
|
143 // |
|
144 // r_setting_app_edwin_key_data |
|
145 // Window to enter key data |
|
146 // |
|
147 //---------------------------------------------------- |
|
148 // |
|
149 RESOURCE EDWIN r_setting_app_edwin_key_data |
|
150 { |
|
151 avkon_flags = EAknEditorFlagNoT9; |
|
152 allowed_input_modes = EAknEditorTextInputMode | |
|
153 EAknEditorNumericInputMode | |
|
154 EAknEditorHalfWidthTextInputMode; |
|
155 default_case = EAknEditorLowerCase; |
|
156 maxlength = EMaxLengthOfPreSharedKey; |
|
157 lines = 8; |
|
158 } |
|
159 |
|
160 |
|
161 //---------------------------------------------------- |
|
162 // |
|
163 // r_text_setting_page_key_data |
|
164 // Setting page for entering key data |
|
165 // |
|
166 //---------------------------------------------------- |
|
167 // |
|
168 RESOURCE AVKON_SETTING_PAGE r_text_setting_page_key_data |
|
169 { |
|
170 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
171 number= EAknSettingPageNoOrdinalDisplayed; |
|
172 label= qtn_wlan_sett_preshared_key; |
|
173 type = EEikCtEdwin; |
|
174 editor_resource_id = r_setting_app_edwin_key_data; |
|
175 } |
|
176 |
|
177 |
|
178 |
|
179 //---------------------------------------------------- |
|
180 // |
|
181 // r_setting_app_listbox |
|
182 // Listbox for setting page |
|
183 // |
|
184 //---------------------------------------------------- |
|
185 // |
|
186 RESOURCE LISTBOX r_setting_app_listbox |
|
187 { |
|
188 flags = EEikListBoxMultipleSelection; |
|
189 } |
|
190 |
|
191 |
|
192 |
|
193 //---------------------------------------------------- |
|
194 // |
|
195 // r_wpasettings_pane_softkeys_ok_cancel_select |
|
196 // WEP Security Settings softkeys |
|
197 // |
|
198 //---------------------------------------------------- |
|
199 // |
|
200 RESOURCE CBA r_wpasettings_pane_softkeys_ok_cancel_select |
|
201 { |
|
202 buttons = |
|
203 { |
|
204 CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_ok; }, |
|
205 CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; }, |
|
206 CBA_BUTTON { id = EAknSoftkeyOk; txt = qtn_msk_select; } |
|
207 }; |
|
208 } |
|
209 |
|
210 |
|
211 |
|
212 //---------------------------------------------------- |
|
213 // |
|
214 // r_radio_button_setting_page |
|
215 // Setting page with radio buttons |
|
216 // |
|
217 //---------------------------------------------------- |
|
218 // |
|
219 RESOURCE AVKON_SETTING_PAGE r_radio_button_setting_page |
|
220 { |
|
221 number = EAknSettingPageNoOrdinalDisplayed; |
|
222 softkey_resource = r_wpasettings_pane_softkeys_ok_cancel_select; |
|
223 type = EAknSetListBox; |
|
224 editor_resource_id= r_setting_app_listbox; |
|
225 } |
|
226 |
|
227 |
|
228 |
|
229 //---------------------------------------------------- |
|
230 // |
|
231 // r_wpa_sec_sett_conf_query |
|
232 // ConfirmationQuery dialog |
|
233 // |
|
234 //---------------------------------------------------- |
|
235 // |
|
236 RESOURCE DIALOG r_wpa_sec_sett_conf_query |
|
237 { |
|
238 flags = EGeneralQueryFlags; |
|
239 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
240 items = |
|
241 { |
|
242 DLG_LINE |
|
243 { |
|
244 type = EAknCtQuery; |
|
245 id = EGeneralQuery; |
|
246 control = AVKON_CONFIRMATION_QUERY |
|
247 { |
|
248 layout = EConfirmationQueryLayout; |
|
249 }; |
|
250 } |
|
251 }; |
|
252 } |
|
253 |
|
254 |
|
255 |
|
256 |
|
257 RESOURCE TBUF r_wpa_mode |
|
258 { |
|
259 buf = qtn_wlan_sett_wpa_mode; |
|
260 } |
|
261 |
|
262 RESOURCE TBUF r_wpa_eap_config |
|
263 { |
|
264 buf = qtn_wlan_sett_eap_plugin_config; |
|
265 } |
|
266 |
|
267 RESOURCE TBUF r_wpa_tkip_cipher |
|
268 { |
|
269 buf = qtn_wlan_sett_allow_tkip; |
|
270 } |
|
271 |
|
272 RESOURCE TBUF r_wpa_mode_eap |
|
273 { |
|
274 buf = qtn_wlan_sett_wpa_mode_eap; |
|
275 } |
|
276 |
|
277 RESOURCE TBUF r_wpa_mode_preshared_key |
|
278 { |
|
279 buf = qtn_wlan_sett_wpa_mode_preshared_key; |
|
280 } |
|
281 |
|
282 RESOURCE TBUF r_wpa_cipher_allowed |
|
283 { |
|
284 buf = qtn_wlan_sett_tkip_allowed; |
|
285 } |
|
286 |
|
287 RESOURCE TBUF r_wpa_cipher_not_allowed |
|
288 { |
|
289 buf = qtn_wlan_sett_tkip_not_allowed; |
|
290 } |
|
291 |
|
292 RESOURCE TBUF r_wpa_preshared_key_must_be_defined |
|
293 { |
|
294 buf = qtn_selec_setting_compulsory; |
|
295 } |
|
296 |
|
297 RESOURCE TBUF r_info_preshared_key_too_short |
|
298 { |
|
299 buf = qtn_wlan_info_preshared_key_too_short; |
|
300 } |
|
301 |
|
302 RESOURCE TBUF r_info_preshared_key_not_hex |
|
303 { |
|
304 buf = qtn_wlan_info_preshared_key_not_hex; |
|
305 } |
|
306 |
|
307 RESOURCE TBUF r_wpa_preshared_keydata_missing |
|
308 { |
|
309 buf = qtn_wlan_quest_preshared_key_data_missing; |
|
310 } |
|
311 |
|
312 // End of File |