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