|
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: EAP LEAP UI resource file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 CHARACTER_SET UTF8 |
|
21 |
|
22 // RESOURCE IDENTIFIER |
|
23 NAME EPSI |
|
24 |
|
25 // INCLUDES |
|
26 #include <eikon.rh> |
|
27 #include "EapSimUi.hrh" // Enums for these resources |
|
28 #include <eapsimui.loc> // Localisation file |
|
29 #include <wlaneapsettingsui.loc> |
|
30 #include <eikon.rsg> |
|
31 #include <avkon.rsg> |
|
32 #include <avkon.rh> |
|
33 #include <avkon.mbg> |
|
34 #include <avkon.loc> |
|
35 |
|
36 |
|
37 // CONSTANTS |
|
38 #define KUsernameMaxNameLength 255 |
|
39 |
|
40 |
|
41 // RESOURCE DEFINITIONS |
|
42 |
|
43 RESOURCE RSS_SIGNATURE { } |
|
44 |
|
45 |
|
46 RESOURCE TBUF16 { buf = ""; } |
|
47 |
|
48 |
|
49 RESOURCE CBA r_sim_softkeys_options_back_change |
|
50 { |
|
51 buttons = |
|
52 { |
|
53 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
54 CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; }, |
|
55 CBA_BUTTON { id = ESimUiCmdChange; txt = qtn_msk_change; } |
|
56 }; |
|
57 } |
|
58 |
|
59 |
|
60 RESOURCE DIALOG r_sim_setting_dialog |
|
61 { |
|
62 flags = EAknDialogSelectionList | EEikDialogFlagWait; |
|
63 buttons = r_sim_softkeys_options_back_change; |
|
64 items = |
|
65 { |
|
66 DLG_LINE |
|
67 { |
|
68 id = ESimSettingsListBox; |
|
69 type = EAknCtSettingListBox; |
|
70 control = LISTBOX |
|
71 { |
|
72 flags = EAknListBoxMenuList; |
|
73 }; |
|
74 } |
|
75 }; |
|
76 } |
|
77 |
|
78 |
|
79 RESOURCE AVKON_SETTING_PAGE r_sim_username_page |
|
80 { |
|
81 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
82 label = qtn_wlan_eap_sett_username; |
|
83 type = EEikCtEdwin; |
|
84 editor_resource_id = r_sim_setting_edwin; |
|
85 } |
|
86 |
|
87 |
|
88 RESOURCE AVKON_SETTING_PAGE r_sim_realm_page |
|
89 { |
|
90 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
91 label = qtn_wlan_eap_sett_realm; |
|
92 type = EEikCtEdwin; |
|
93 editor_resource_id = r_sim_setting_edwin; |
|
94 } |
|
95 |
|
96 |
|
97 RESOURCE EDWIN r_sim_setting_edwin |
|
98 { |
|
99 width = 9; |
|
100 lines = 5; |
|
101 maxlength = KUsernameMaxNameLength; |
|
102 allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode; |
|
103 default_input_mode = EAknEditorTextInputMode; |
|
104 flags = EEikEdwinAutoSelection | EEikEdwinNoLineOrParaBreaks; |
|
105 } |
|
106 |
|
107 |
|
108 RESOURCE MENU_BAR r_sim_menubar |
|
109 { |
|
110 titles = |
|
111 { |
|
112 MENU_TITLE { menu_pane = r_sim_menu_pane; txt = ""; } |
|
113 }; |
|
114 } |
|
115 |
|
116 |
|
117 RESOURCE MENU_PANE r_sim_menu_pane |
|
118 { |
|
119 items = |
|
120 { |
|
121 MENU_ITEM |
|
122 { |
|
123 command = ESimUiCmdChange; |
|
124 txt = qtn_options_change; |
|
125 flags = EEikMenuItemAction; |
|
126 }, |
|
127 MENU_ITEM |
|
128 { |
|
129 command = EAknCmdHelp; |
|
130 txt = qtn_options_help; |
|
131 }, |
|
132 MENU_ITEM |
|
133 { |
|
134 command = EAknCmdExit; |
|
135 txt = qtn_options_exit; |
|
136 } |
|
137 }; |
|
138 } |
|
139 |
|
140 |
|
141 // Resource strings |
|
142 RESOURCE TBUF r_sim_settings_title { buf = qtn_wlan_eap_sim_title; } |
|
143 RESOURCE TBUF r_sim_username_inusestring \ |
|
144 { buf = qtn_wlan_eap_sett_username_inuse; } |
|
145 RESOURCE TBUF r_sim_username_inusestring_auto \ |
|
146 { buf = qtn_wlan_eap_sett_username_inuse_from_sim; } |
|
147 RESOURCE TBUF r_sim_username_inusestring_conf \ |
|
148 { buf = qtn_wlan_eap_sett_username_inuse_user; } |
|
149 RESOURCE TBUF r_sim_username_string { buf = qtn_wlan_eap_sett_username; } |
|
150 RESOURCE TBUF r_sim_realm_inusestring \ |
|
151 { buf = qtn_wlan_eap_sett_realm_inuse; } |
|
152 RESOURCE TBUF r_sim_realm_inusestring_auto \ |
|
153 { buf = qtn_wlan_eap_sett_realm_inuse_from_sim; } |
|
154 RESOURCE TBUF r_sim_realm_inusestring_conf \ |
|
155 { buf = qtn_wlan_eap_sett_realm_inuse_user; } |
|
156 RESOURCE TBUF r_sim_realm_string { buf = qtn_wlan_eap_sett_realm; } |
|
157 |
|
158 |
|
159 RESOURCE AVKON_POPUP_SETTING_TEXTS r_sim_username_autouseconf_texts |
|
160 { |
|
161 setting_texts_resource = r_sim_username_autouseconf_texts_resource; |
|
162 popped_up_texts_resource = r_sim_username_automatic_useconfigured_array; |
|
163 } |
|
164 |
|
165 |
|
166 RESOURCE ARRAY r_sim_username_autouseconf_texts_resource |
|
167 { |
|
168 items = |
|
169 { |
|
170 AVKON_ENUMERATED_TEXT |
|
171 { |
|
172 value = 0; |
|
173 text = qtn_wlan_eap_sett_username_inuse_from_sim; |
|
174 }, |
|
175 |
|
176 AVKON_ENUMERATED_TEXT |
|
177 { |
|
178 value = 1; |
|
179 text = qtn_wlan_eap_sett_username_inuse_user; |
|
180 } |
|
181 }; |
|
182 } |
|
183 |
|
184 |
|
185 RESOURCE ARRAY r_sim_username_automatic_useconfigured_array |
|
186 { |
|
187 items = |
|
188 { |
|
189 LBUF { txt = qtn_wlan_eap_sett_username_inuse_from_sim; }, |
|
190 LBUF { txt = qtn_wlan_eap_sett_username_inuse_user; } |
|
191 }; |
|
192 } |
|
193 |
|
194 |
|
195 RESOURCE AVKON_POPUP_SETTING_TEXTS r_sim_realm_autouseconf_texts |
|
196 { |
|
197 setting_texts_resource = r_sim_realm_autouseconf_texts_resource; |
|
198 popped_up_texts_resource = r_sim_realm_automatic_useconfigured_array; |
|
199 } |
|
200 |
|
201 |
|
202 RESOURCE ARRAY r_sim_realm_autouseconf_texts_resource |
|
203 { |
|
204 items= |
|
205 { |
|
206 AVKON_ENUMERATED_TEXT |
|
207 { |
|
208 value = 0; |
|
209 text = qtn_wlan_eap_sett_realm_inuse_from_sim; |
|
210 }, |
|
211 |
|
212 AVKON_ENUMERATED_TEXT |
|
213 { |
|
214 value = 1; |
|
215 text = qtn_wlan_eap_sett_realm_inuse_user; |
|
216 } |
|
217 }; |
|
218 } |
|
219 |
|
220 |
|
221 RESOURCE ARRAY r_sim_realm_automatic_useconfigured_array |
|
222 { |
|
223 items= |
|
224 { |
|
225 LBUF { txt = qtn_wlan_eap_sett_realm_inuse_from_sim; }, |
|
226 LBUF { txt = qtn_wlan_eap_sett_realm_inuse_user; } |
|
227 }; |
|
228 } |
|
229 |
|
230 |
|
231 RESOURCE AVKON_SETTING_PAGE r_sim_display_autouseconf_page |
|
232 { |
|
233 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
234 label = qtn_wlan_eap_sett_realm_inuse; |
|
235 type = EAknCtPopupSettingList; |
|
236 editor_resource_id = r_sim_setting_enumerated_popup; |
|
237 } |
|
238 |
|
239 |
|
240 RESOURCE POPUP_SETTING_LIST r_sim_setting_enumerated_popup |
|
241 { |
|
242 flags = EAknPopupSettingListFlagInitialised; |
|
243 } |
|
244 |
|
245 |
|
246 // End of File |