|
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 WEP Security Settings UI. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME AWSS // 4 letter ID |
|
21 |
|
22 // INCLUDES |
|
23 #include <eikon.rh> |
|
24 #include <avkon.rsg> |
|
25 #include <avkon.rh> |
|
26 #include <avkon.loc> |
|
27 #include <avkon.hrh> |
|
28 |
|
29 #include "WEPSecuritySettingsUI.hrh" |
|
30 #include <wepsecuritysettingsui.loc> |
|
31 |
|
32 |
|
33 // RESOURCE DEFINITIONS |
|
34 |
|
35 RESOURCE RSS_SIGNATURE { } |
|
36 |
|
37 RESOURCE TBUF { buf="WEPSecuritySettings"; } |
|
38 |
|
39 |
|
40 //---------------------------------------------------- |
|
41 // |
|
42 // r_wep_security_settings_menubar |
|
43 // Menubar |
|
44 // |
|
45 //---------------------------------------------------- |
|
46 // |
|
47 RESOURCE MENU_BAR r_wep_security_settings_menubar |
|
48 { |
|
49 titles= |
|
50 { |
|
51 MENU_TITLE |
|
52 { |
|
53 menu_pane = r_wep_security_settings_menu; |
|
54 } |
|
55 }; |
|
56 } |
|
57 |
|
58 |
|
59 |
|
60 //---------------------------------------------------- |
|
61 // |
|
62 // r_wep_security_settings_menu |
|
63 // The Options menu |
|
64 // |
|
65 //---------------------------------------------------- |
|
66 // |
|
67 RESOURCE MENU_PANE r_wep_security_settings_menu |
|
68 { |
|
69 items= |
|
70 { |
|
71 MENU_ITEM |
|
72 { |
|
73 command = EWepSelCmdChange; |
|
74 txt = qtn_set_options_change; |
|
75 flags = EEikMenuItemAction; |
|
76 }, |
|
77 |
|
78 MENU_ITEM |
|
79 { |
|
80 command = EAknCmdHelp; |
|
81 txt = qtn_options_help; |
|
82 }, |
|
83 |
|
84 MENU_ITEM |
|
85 { |
|
86 command = EAknCmdExit; |
|
87 txt = qtn_options_exit; |
|
88 } |
|
89 }; |
|
90 } |
|
91 |
|
92 |
|
93 |
|
94 //---------------------------------------------------- |
|
95 // |
|
96 // r_wepsettings_pane_softkeys_options_back_edit |
|
97 // WEP Security Settings softkeys |
|
98 // |
|
99 //---------------------------------------------------- |
|
100 // |
|
101 RESOURCE CBA r_wepsettings_pane_softkeys_options_back_edit |
|
102 { |
|
103 buttons = |
|
104 { |
|
105 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
106 CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; }, |
|
107 CBA_BUTTON { id = EWepSelCmdChange; txt = qtn_msk_change; } |
|
108 }; |
|
109 } |
|
110 |
|
111 |
|
112 |
|
113 //---------------------------------------------------- |
|
114 // |
|
115 // r_wepsettings_dialog |
|
116 // WEP Security Settings main dialog |
|
117 // |
|
118 //---------------------------------------------------- |
|
119 // |
|
120 RESOURCE DIALOG r_wepsettings_dialog |
|
121 { |
|
122 flags = EEikDialogFlagWait | EEikDialogFlagNoDrag | |
|
123 EEikDialogFlagNoTitleBar | EEikDialogFlagFillAppClientRect | |
|
124 EEikDialogFlagCbaButtons; |
|
125 |
|
126 buttons = r_wepsettings_pane_softkeys_options_back_edit; |
|
127 |
|
128 items = |
|
129 { |
|
130 DLG_LINE |
|
131 { |
|
132 type = EAknCtSettingListBox; |
|
133 id = KWepMainSettingsListboxId; |
|
134 control = LISTBOX |
|
135 { |
|
136 flags = EAknListBoxSelectionList; |
|
137 }; |
|
138 } |
|
139 }; |
|
140 } |
|
141 |
|
142 |
|
143 |
|
144 //---------------------------------------------------- |
|
145 // |
|
146 // r_setting_app_edwin_key_data |
|
147 // Window to enter key data |
|
148 // |
|
149 //---------------------------------------------------- |
|
150 // |
|
151 RESOURCE EDWIN r_setting_app_edwin_key_data |
|
152 { |
|
153 avkon_flags = EAknEditorFlagNoT9 | EAknEditorFlagLatinInputModesOnly; |
|
154 lines = 8; |
|
155 } |
|
156 |
|
157 |
|
158 //---------------------------------------------------- |
|
159 // |
|
160 // r_text_setting_page_key_data |
|
161 // Setting page for entering key data |
|
162 // |
|
163 //---------------------------------------------------- |
|
164 // |
|
165 RESOURCE AVKON_SETTING_PAGE r_text_setting_page_key_data |
|
166 { |
|
167 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
168 number= EAknSettingPageNoOrdinalDisplayed; |
|
169 label= qtn_wlan_sett_wep_key_data; |
|
170 type = EEikCtEdwin; |
|
171 editor_resource_id = r_setting_app_edwin_key_data; |
|
172 } |
|
173 |
|
174 |
|
175 |
|
176 //---------------------------------------------------- |
|
177 // |
|
178 // r_setting_app_listbox |
|
179 // Listbox for setting page |
|
180 // |
|
181 //---------------------------------------------------- |
|
182 // |
|
183 RESOURCE LISTBOX r_setting_app_listbox |
|
184 { |
|
185 flags = EEikListBoxMultipleSelection; |
|
186 } |
|
187 |
|
188 |
|
189 |
|
190 //---------------------------------------------------- |
|
191 // |
|
192 // r_wepsettings_pane_softkeys_ok_cancel_select |
|
193 // WEP Security Settings softkeys |
|
194 // |
|
195 //---------------------------------------------------- |
|
196 // |
|
197 RESOURCE CBA r_wepsettings_pane_softkeys_ok_cancel_select |
|
198 { |
|
199 buttons = |
|
200 { |
|
201 CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_ok; }, |
|
202 CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; }, |
|
203 CBA_BUTTON { id = EAknSoftkeyOk; txt = qtn_msk_select; } |
|
204 }; |
|
205 } |
|
206 |
|
207 |
|
208 //---------------------------------------------------- |
|
209 // |
|
210 // r_radio_button_setting_page |
|
211 // Setting page with radio buttons |
|
212 // |
|
213 //---------------------------------------------------- |
|
214 // |
|
215 RESOURCE AVKON_SETTING_PAGE r_radio_button_setting_page |
|
216 { |
|
217 number = EAknSettingPageNoOrdinalDisplayed; |
|
218 softkey_resource = r_wepsettings_pane_softkeys_ok_cancel_select; |
|
219 type = EAknSetListBox; |
|
220 editor_resource_id= r_setting_app_listbox; |
|
221 } |
|
222 |
|
223 |
|
224 |
|
225 //---------------------------------------------------- |
|
226 // |
|
227 // r_wep_sec_sett_conf_query |
|
228 // ConfirmationQuery dialog |
|
229 // |
|
230 //---------------------------------------------------- |
|
231 // |
|
232 RESOURCE DIALOG r_wep_sec_sett_conf_query |
|
233 { |
|
234 flags = EGeneralQueryFlags; |
|
235 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
236 items = |
|
237 { |
|
238 DLG_LINE |
|
239 { |
|
240 type = EAknCtQuery; |
|
241 id = EGeneralQuery; |
|
242 control = AVKON_CONFIRMATION_QUERY |
|
243 { |
|
244 layout = EConfirmationQueryLayout; |
|
245 }; |
|
246 } |
|
247 }; |
|
248 } |
|
249 |
|
250 |
|
251 |
|
252 RESOURCE TBUF r_wep_view_text_cannot_access_db |
|
253 { |
|
254 buf = qtn_set_err_db_inaccessible; |
|
255 } |
|
256 |
|
257 RESOURCE TBUF r_wep_key_in_use |
|
258 { |
|
259 buf = qtn_wlan_sett_wep_key_in_use; |
|
260 } |
|
261 |
|
262 RESOURCE TBUF r_wep_authentication |
|
263 { |
|
264 buf = qtn_wlan_sett_wep_auth_mode; |
|
265 } |
|
266 |
|
267 RESOURCE TBUF r_wep_key_configuration |
|
268 { |
|
269 buf = qtn_wlan_sett_wep_key_settings; |
|
270 } |
|
271 |
|
272 RESOURCE TBUF r_wep_key_number_1 |
|
273 { |
|
274 buf = qtn_wlan_sett_wep_key_1; |
|
275 } |
|
276 |
|
277 RESOURCE TBUF r_wep_key_number_2 |
|
278 { |
|
279 buf = qtn_wlan_sett_wep_key_2; |
|
280 } |
|
281 |
|
282 RESOURCE TBUF r_wep_key_number_3 |
|
283 { |
|
284 buf = qtn_wlan_sett_wep_key_3; |
|
285 } |
|
286 |
|
287 RESOURCE TBUF r_wep_key_number_4 |
|
288 { |
|
289 buf = qtn_wlan_sett_wep_key_4; |
|
290 } |
|
291 |
|
292 RESOURCE TBUF r_wep_tab_key_1 |
|
293 { |
|
294 buf = qtn_wlan_tab_wep_key_1; |
|
295 } |
|
296 |
|
297 RESOURCE TBUF r_wep_tab_key_2 |
|
298 { |
|
299 buf = qtn_wlan_tab_wep_key_2; |
|
300 } |
|
301 |
|
302 RESOURCE TBUF r_wep_tab_key_3 |
|
303 { |
|
304 buf = qtn_wlan_tab_wep_key_3; |
|
305 } |
|
306 |
|
307 RESOURCE TBUF r_wep_tab_key_4 |
|
308 { |
|
309 buf = qtn_wlan_tab_wep_key_4; |
|
310 } |
|
311 |
|
312 RESOURCE TBUF r_wep_authentication_open |
|
313 { |
|
314 buf = qtn_wlan_sett_wep_auth_mode_open; |
|
315 } |
|
316 |
|
317 RESOURCE TBUF r_wep_authentication_shared |
|
318 { |
|
319 buf = qtn_wlan_sett_wep_auth_mode_shared; |
|
320 } |
|
321 |
|
322 RESOURCE TBUF r_wep_key_length |
|
323 { |
|
324 buf = qtn_wlan_sett_wep_key_length; |
|
325 } |
|
326 |
|
327 RESOURCE TBUF r_wep_key_format |
|
328 { |
|
329 buf = qtn_wlan_sett_wep_key_format; |
|
330 } |
|
331 |
|
332 RESOURCE TBUF r_wep_key_data |
|
333 { |
|
334 buf = qtn_wlan_sett_wep_key_data; |
|
335 } |
|
336 |
|
337 RESOURCE TBUF r_wep_key_length_64_bits |
|
338 { |
|
339 buf = qtn_wlan_sett_wep_key_length_64_bits; |
|
340 } |
|
341 |
|
342 RESOURCE TBUF r_wep_key_length_128_bits |
|
343 { |
|
344 buf = qtn_wlan_sett_wep_key_length_128_bits; |
|
345 } |
|
346 |
|
347 RESOURCE TBUF r_wep_key_length_256_bits |
|
348 { |
|
349 buf = qtn_wlan_sett_wep_key_length_256_bits; |
|
350 } |
|
351 |
|
352 RESOURCE TBUF r_wep_key_format_ascii |
|
353 { |
|
354 buf = qtn_wlan_sett_wep_key_format_ascii; |
|
355 } |
|
356 |
|
357 RESOURCE TBUF r_wep_key_format_hex |
|
358 { |
|
359 buf = qtn_wlan_sett_wep_key_format_hexa; |
|
360 } |
|
361 |
|
362 RESOURCE TBUF r_wep_key_data_must_be_defined |
|
363 { |
|
364 buf = qtn_selec_setting_compulsory; |
|
365 } |
|
366 |
|
367 RESOURCE TBUF r_wep_key_data_stars |
|
368 { |
|
369 buf = qtn_wlan_sett_wep_key_format_hexa; |
|
370 } |
|
371 |
|
372 RESOURCE TBUF r_wep_data_missing |
|
373 { |
|
374 buf = qtn_wlan_quest_wep_key_data_missing; |
|
375 } |
|
376 |
|
377 RESOURCE TBUF r_info_wep_key_too_short |
|
378 { |
|
379 buf = qtn_wlan_info_wep_key_too_short; |
|
380 } |
|
381 |
|
382 RESOURCE TBUF r_info_wep_key_illegal_chars |
|
383 { |
|
384 buf = qtn_wlan_info_wep_key_illegal_chars; |
|
385 } |
|
386 |
|
387 // End of File |