|
1 /* |
|
2 * ============================================================================ |
|
3 * Name : wapisecuritysettingsui.rss |
|
4 * Part of : S60 WAPI Security Settings UI |
|
5 * |
|
6 * Description: |
|
7 * This file contains all the resources for the WAPI Security Settings UI. |
|
8 * Version: %version: 6.1.2 % |
|
9 * |
|
10 * Copyright (C) 2008 Nokia Corporation. |
|
11 * This material, including documentation and any related |
|
12 * computer programs, is protected by copyright controlled by |
|
13 * Nokia Corporation. All rights are reserved. Copying, |
|
14 * including reproducing, storing, adapting or translating, any |
|
15 * or all of this material requires the prior written consent of |
|
16 * Nokia Corporation. This material also contains confidential |
|
17 * information which may not be disclosed to others without the |
|
18 * prior written consent of Nokia Corporation. |
|
19 * |
|
20 * ============================================================================ |
|
21 */ |
|
22 |
|
23 // RESOURCE IDENTIFIER |
|
24 NAME AWST // 4 letter ID |
|
25 |
|
26 // INCLUDES |
|
27 #include <eikon.rh> |
|
28 #include <avkon.rsg> |
|
29 #include <avkon.rh> |
|
30 #include <avkon.loc> |
|
31 #include <avkon.hrh> |
|
32 #include <errorres.loc> |
|
33 |
|
34 #include "wapisecuritysettingsui.hrh" |
|
35 #include <wapisecuritysettingsui.loc> |
|
36 |
|
37 // RESOURCE DEFINITIONS |
|
38 |
|
39 RESOURCE RSS_SIGNATURE { } |
|
40 |
|
41 RESOURCE TBUF { buf="WAPISecuritySettings"; } |
|
42 |
|
43 |
|
44 //---------------------------------------------------- |
|
45 // |
|
46 // r_wapi_security_settings_menubar |
|
47 // Menubar |
|
48 // |
|
49 //---------------------------------------------------- |
|
50 // |
|
51 RESOURCE MENU_BAR r_wapi_security_settings_menubar |
|
52 { |
|
53 titles= |
|
54 { |
|
55 MENU_TITLE |
|
56 { |
|
57 menu_pane = r_wapi_security_settings_menu; |
|
58 } |
|
59 }; |
|
60 } |
|
61 |
|
62 |
|
63 //---------------------------------------------------- |
|
64 // |
|
65 // r_wapi_security_settings_menu |
|
66 // The Options menu |
|
67 // |
|
68 //---------------------------------------------------- |
|
69 // |
|
70 RESOURCE MENU_PANE r_wapi_security_settings_menu |
|
71 { |
|
72 items= |
|
73 { |
|
74 MENU_ITEM |
|
75 { |
|
76 command = EWapiSelCmdChange; |
|
77 txt = qtn_options_change; |
|
78 flags = EEikMenuItemAction; |
|
79 }, |
|
80 |
|
81 MENU_ITEM |
|
82 { |
|
83 command = EWapiSelCmdReset; |
|
84 txt = qtn_wlan_options_reset_wapi_cert_store; |
|
85 }, |
|
86 |
|
87 MENU_ITEM |
|
88 { |
|
89 command = EAknCmdHelp; |
|
90 txt = qtn_options_help; |
|
91 }, |
|
92 |
|
93 MENU_ITEM |
|
94 { |
|
95 command = EAknCmdExit; |
|
96 txt = qtn_options_exit; |
|
97 } |
|
98 }; |
|
99 } |
|
100 |
|
101 |
|
102 |
|
103 //---------------------------------------------------- |
|
104 // |
|
105 // r_wapisettings_pane_softkeys_options_back_edit |
|
106 // WAPI Security Settings softkeys |
|
107 // |
|
108 //---------------------------------------------------- |
|
109 // |
|
110 RESOURCE CBA r_wapisettings_pane_softkeys_options_back_edit |
|
111 { |
|
112 buttons = |
|
113 { |
|
114 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
115 CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; }, |
|
116 CBA_BUTTON { id = EWapiSelCmdChange; txt = qtn_msk_change; } |
|
117 }; |
|
118 } |
|
119 |
|
120 |
|
121 |
|
122 //---------------------------------------------------- |
|
123 // |
|
124 // r_wapisettings_dialog |
|
125 // WAPI Security Settings main dialog |
|
126 // |
|
127 //---------------------------------------------------- |
|
128 // |
|
129 RESOURCE DIALOG r_wapisettings_dialog |
|
130 { |
|
131 flags = EEikDialogFlagWait | EEikDialogFlagNoDrag | |
|
132 EEikDialogFlagNoTitleBar | EEikDialogFlagFillAppClientRect | |
|
133 EEikDialogFlagCbaButtons; |
|
134 |
|
135 buttons = r_wapisettings_pane_softkeys_options_back_edit; |
|
136 |
|
137 items = |
|
138 { |
|
139 DLG_LINE |
|
140 { |
|
141 type = EAknCtSettingListBox; |
|
142 id = KWapiMainSettingsListboxId; |
|
143 control = LISTBOX |
|
144 { |
|
145 flags = EAknListBoxSelectionList; |
|
146 }; |
|
147 } |
|
148 }; |
|
149 } |
|
150 |
|
151 |
|
152 //---------------------------------------------------- |
|
153 // |
|
154 // r_setting_app_listbox |
|
155 // Listbox for setting page |
|
156 // |
|
157 //---------------------------------------------------- |
|
158 // |
|
159 RESOURCE LISTBOX r_setting_app_listbox |
|
160 { |
|
161 flags = EEikListBoxMultipleSelection; |
|
162 } |
|
163 |
|
164 |
|
165 |
|
166 //---------------------------------------------------- |
|
167 // |
|
168 // r_wapisettings_pane_softkeys_ok_cancel_select |
|
169 // WAPI Security Settings softkeys |
|
170 // |
|
171 //---------------------------------------------------- |
|
172 // |
|
173 RESOURCE CBA r_wapisettings_pane_softkeys_ok_cancel_select |
|
174 { |
|
175 buttons = |
|
176 { |
|
177 CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_ok; }, |
|
178 CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; }, |
|
179 CBA_BUTTON { id = EAknSoftkeyOk; txt = qtn_msk_select; } |
|
180 }; |
|
181 } |
|
182 |
|
183 |
|
184 //---------------------------------------------------- |
|
185 // |
|
186 // r_radio_button_setting_page |
|
187 // Setting page with radio buttons |
|
188 // |
|
189 //---------------------------------------------------- |
|
190 // |
|
191 RESOURCE AVKON_SETTING_PAGE r_radio_button_setting_page |
|
192 { |
|
193 number = EAknSettingPageNoOrdinalDisplayed; |
|
194 softkey_resource = r_wapisettings_pane_softkeys_ok_cancel_select; |
|
195 type = EAknSetListBox; |
|
196 editor_resource_id= r_setting_app_listbox; |
|
197 } |
|
198 |
|
199 RESOURCE TBUF r_wapi_auth |
|
200 { |
|
201 buf = qtn_wlan_sett_wapi_auth; |
|
202 } |
|
203 |
|
204 RESOURCE TBUF r_wapi_auth_cert |
|
205 { |
|
206 buf = qtn_wlan_sett_wapi_auth_cert; |
|
207 } |
|
208 |
|
209 RESOURCE TBUF r_wapi_client_cert |
|
210 { |
|
211 buf = qtn_wlan_sett_wapi_client_cert; |
|
212 } |
|
213 |
|
214 RESOURCE TBUF r_wapi_root_cert |
|
215 { |
|
216 buf = qtn_wlan_sett_wapi_root_cert; |
|
217 } |
|
218 |
|
219 RESOURCE TBUF r_wapi_cert_not_defined |
|
220 { |
|
221 buf = qtn_wlan_sett_wapi_cert_not_defined; |
|
222 } |
|
223 |
|
224 RESOURCE TBUF r_wapi_none |
|
225 { |
|
226 buf = qtn_wlan_sett_wapi_cert_none; |
|
227 } |
|
228 |
|
229 RESOURCE TBUF r_wapi_done |
|
230 { |
|
231 buf = text_done; //from avkon.loc |
|
232 } |
|
233 |
|
234 RESOURCE TBUF r_wapi_failure |
|
235 { |
|
236 buf = qtn_err_failure; //from errorres.loc |
|
237 } |
|
238 |
|
239 RESOURCE TBUF r_wapi_preshared_key_format |
|
240 { |
|
241 buf = qtn_wlan_sett_preshared_key_format; |
|
242 } |
|
243 |
|
244 RESOURCE TBUF r_wapi_preshared_key_format_ascii |
|
245 { |
|
246 buf = qtn_wlan_sett_preshared_key_format_ascii; |
|
247 } |
|
248 |
|
249 RESOURCE TBUF r_wapi_preshared_key_format_hex |
|
250 { |
|
251 buf = qtn_wlan_sett_preshared_key_format_hex; |
|
252 } |
|
253 |
|
254 RESOURCE TBUF r_wapi_auth_psk |
|
255 { |
|
256 buf = qtn_wlan_sett_wapi_auth_psk; |
|
257 } |
|
258 |
|
259 //---------------------------------------------------- |
|
260 // |
|
261 // r_psk_setting_page_key_data |
|
262 // Setting page for entering PSK key data |
|
263 // |
|
264 //---------------------------------------------------- |
|
265 // |
|
266 RESOURCE AVKON_SETTING_PAGE r_psk_setting_page_key_data |
|
267 { |
|
268 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
269 number= EAknSettingPageNoOrdinalDisplayed; |
|
270 label= qtn_wlan_sett_preshared_key; |
|
271 type = EEikCtEdwin; |
|
272 editor_resource_id = r_setting_app_edwin_key_data; |
|
273 } |
|
274 |
|
275 //---------------------------------------------------- |
|
276 // |
|
277 // r_setting_app_edwin_key_data |
|
278 // Window to enter key data |
|
279 // |
|
280 //---------------------------------------------------- |
|
281 // |
|
282 RESOURCE EDWIN r_setting_app_edwin_key_data |
|
283 { |
|
284 avkon_flags = EAknEditorFlagNoT9; |
|
285 allowed_input_modes = EAknEditorTextInputMode | |
|
286 EAknEditorNumericInputMode | |
|
287 EAknEditorHalfWidthTextInputMode; |
|
288 default_case = EAknEditorLowerCase; |
|
289 maxlength = KWapiMaxKeyLength; |
|
290 lines = 8; |
|
291 } |
|
292 |
|
293 RESOURCE TBUF r_wapi_preshared_key |
|
294 { |
|
295 buf = qtn_wlan_sett_preshared_key; |
|
296 } |
|
297 |
|
298 RESOURCE TBUF r_wapi_preshared_key_not_defined |
|
299 { |
|
300 buf = qtn_wlan_sett_preshared_key_not_defined; |
|
301 } |
|
302 |
|
303 RESOURCE TBUF r_wapi_info_preshared_key_illegal_chars |
|
304 { |
|
305 buf = qtn_wlan_info_preshared_key_illegal_chars; |
|
306 } |
|
307 |
|
308 RESOURCE TBUF r_wapi_quest_preshared_key_data_missing |
|
309 { |
|
310 buf = qtn_wlan_quest_preshared_key_data_missing; |
|
311 } |
|
312 |
|
313 RESOURCE TBUF r_wapi_info_preshared_key_not_even |
|
314 { |
|
315 buf = qtn_wlan_info_psk_not_even; |
|
316 } |
|
317 //---------------------------------------------------- |
|
318 // |
|
319 // r_wapi_sec_sett_conf_query |
|
320 // ConfirmationQuery dialog |
|
321 // |
|
322 //---------------------------------------------------- |
|
323 // |
|
324 RESOURCE DIALOG r_wapi_sec_sett_conf_query |
|
325 { |
|
326 flags = EGeneralQueryFlags; |
|
327 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
328 items = |
|
329 { |
|
330 DLG_LINE |
|
331 { |
|
332 type = EAknCtQuery; |
|
333 id = EGeneralQuery; |
|
334 control = AVKON_CONFIRMATION_QUERY |
|
335 { |
|
336 layout = EConfirmationQueryLayout; |
|
337 }; |
|
338 } |
|
339 }; |
|
340 } |
|
341 |
|
342 // End of File |