1 /* |
|
2 * Copyright (c) 2005-2006 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 "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: Resource definitions for Shortcut plug-in settings |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <eikon.rh> |
|
20 #include <avkon.rsg> |
|
21 #include <avkon.rh> |
|
22 #include <avkon.mbg> |
|
23 #include <eikcore.rsg> |
|
24 #include <eikon.rsg> |
|
25 #include <appinfo.rh> |
|
26 #include <avkon.loc> |
|
27 #include <data_caging_paths_strings.hrh> |
|
28 #include <gscommon.rh> |
|
29 #include <gs.loc> |
|
30 |
|
31 #include <ai3scutsettings.loc> |
|
32 |
|
33 #include "aiscutsettings.hrh" |
|
34 |
|
35 |
|
36 NAME SCSE |
|
37 |
|
38 RESOURCE RSS_SIGNATURE { } |
|
39 |
|
40 RESOURCE TBUF { buf="SCSE"; } |
|
41 |
|
42 //---------------------------------------------------- |
|
43 // EIK_APP_INFO |
|
44 // Contains application information. |
|
45 //---------------------------------------------------- |
|
46 // |
|
47 RESOURCE EIK_APP_INFO |
|
48 { |
|
49 } |
|
50 |
|
51 //---------------------------------------------------- |
|
52 // r_scutsettings_menubar |
|
53 // |
|
54 //---------------------------------------------------- |
|
55 // |
|
56 RESOURCE MENU_BAR r_scutsettings_menubar |
|
57 { |
|
58 titles = |
|
59 { |
|
60 MENU_TITLE { menu_pane = r_scutsettings_menupane; } |
|
61 }; |
|
62 } |
|
63 |
|
64 //---------------------------------------------------- |
|
65 // r_scutsettings_menupane |
|
66 // Options menu. |
|
67 //---------------------------------------------------- |
|
68 // |
|
69 RESOURCE MENU_PANE r_scutsettings_menupane |
|
70 { |
|
71 items = |
|
72 { |
|
73 MENU_ITEM |
|
74 { |
|
75 command = EAiScutSettingsCmdChange; |
|
76 txt = qtn_options_change; |
|
77 } |
|
78 |
|
79 #ifdef __SERIES60_HELP |
|
80 , |
|
81 MENU_ITEM |
|
82 { |
|
83 command = EAknCmdHelp; |
|
84 txt = qtn_options_help; |
|
85 } |
|
86 #endif // __SERIES60_HELP |
|
87 , |
|
88 MENU_ITEM |
|
89 { |
|
90 command = EAknCmdExit; |
|
91 txt = qtn_options_exit; |
|
92 } |
|
93 }; |
|
94 } |
|
95 |
|
96 //---------------------------------------------------- |
|
97 // r_scut_settings_view |
|
98 // Settings views. |
|
99 //---------------------------------------------------- |
|
100 // |
|
101 RESOURCE AVKON_VIEW r_scut_settings_view |
|
102 { |
|
103 menubar = r_scutsettings_menubar; |
|
104 //cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
105 cba = r_scut_softkeys_options_back_change; |
|
106 } |
|
107 |
|
108 //---------------------------------------------------- |
|
109 // r_setting_listbox |
|
110 // Common listbox editor resource for setting pages. |
|
111 //---------------------------------------------------- |
|
112 // |
|
113 RESOURCE LISTBOX r_setting_listbox |
|
114 { |
|
115 flags = EEikListBoxMultipleSelection; |
|
116 } |
|
117 |
|
118 //---------------------------------------------------- |
|
119 // r_scut_settings_applist_page |
|
120 // Selection key idle softkey setting page. |
|
121 //---------------------------------------------------- |
|
122 // |
|
123 RESOURCE AVKON_SETTING_PAGE r_scut_settings_applist_page |
|
124 { |
|
125 number = EAknSettingPageNoOrdinalDisplayed; |
|
126 // label = qtn_set_idle_selec_key; |
|
127 // note: default cba resource is ok_cancel_select |
|
128 //softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
129 type = EAknSetListBox; |
|
130 editor_resource_id = r_setting_listbox; |
|
131 } |
|
132 |
|
133 //---------------------------------------------------------- |
|
134 // r_scut_type_url_page |
|
135 // Setting page editing an url. |
|
136 //---------------------------------------------------------- |
|
137 // |
|
138 RESOURCE AVKON_SETTING_PAGE r_scut_type_url_page |
|
139 { |
|
140 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
141 number= EAknSettingPageNoOrdinalDisplayed; |
|
142 label= qtn_ai_shorts_type_url; |
|
143 type = EEikCtEdwin; |
|
144 editor_resource_id = r_scut_url_editor; |
|
145 } |
|
146 |
|
147 //---------------------------------------------------------- |
|
148 // r_scut_edit_url_page |
|
149 // Setting page editing an url. |
|
150 //---------------------------------------------------------- |
|
151 // |
|
152 RESOURCE AVKON_SETTING_PAGE r_scut_edit_url_page |
|
153 { |
|
154 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
155 number= EAknSettingPageNoOrdinalDisplayed; |
|
156 label= qtn_ai_shorts_edit_url; |
|
157 type = EEikCtEdwin; |
|
158 editor_resource_id = r_scut_url_editor; |
|
159 } |
|
160 |
|
161 //---------------------------------------------------------- |
|
162 // r_scut_url_editor |
|
163 // URL editor. |
|
164 //---------------------------------------------------------- |
|
165 // |
|
166 RESOURCE EDWIN r_scut_url_editor |
|
167 { |
|
168 width = 10; |
|
169 lines = 2; |
|
170 maxlength = 1000; |
|
171 numeric_keymap = EAknEditorCalculatorNumberModeKeymap; |
|
172 allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode; |
|
173 default_input_mode = EAknEditorTextInputMode; |
|
174 special_character_table = R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG; |
|
175 default_case = EAknEditorLowerCase; |
|
176 flags = EEikEdwinAutoSelection | EAknEditorLowerCase | EEikEdwinNoLineOrParaBreaks; |
|
177 avkon_flags = EAknEditorFlagNoT9 | EAknEditorFlagLatinInputModesOnly; |
|
178 } |
|
179 |
|
180 //---------------------------------------------------- |
|
181 // r_scut_change_to_page |
|
182 // "Change To" setting page. |
|
183 //---------------------------------------------------- |
|
184 // |
|
185 RESOURCE ARRAY r_scut_change_to_page_lbx |
|
186 { |
|
187 items = |
|
188 { |
|
189 LBUF { txt = qtn_sc_set_change_apps; }, |
|
190 LBUF { txt = qtn_sc_set_change_bookmark; } |
|
191 |
|
192 // Only this menu option disabled. |
|
193 // The implementation of url functionality still exists in code, |
|
194 // even though this option has been decided to remove due to better |
|
195 // usability. Affects lots of code if removed entirely. |
|
196 /*, |
|
197 LBUF { txt = qtn_sc_set_change_url; }*/ |
|
198 }; |
|
199 } |
|
200 |
|
201 //---------------------------------------------------- |
|
202 // r_scut_listquery_change_to_page |
|
203 // "Change To" setting page. |
|
204 //---------------------------------------------------- |
|
205 // |
|
206 RESOURCE AVKON_LIST_QUERY r_scut_listquery_change_to_page |
|
207 { |
|
208 softkeys=R_AVKON_SOFTKEYS_SELECT_CANCEL; |
|
209 items = |
|
210 { |
|
211 AVKON_LIST_QUERY_DLG_LINE |
|
212 { |
|
213 control = AVKON_LIST_QUERY_CONTROL |
|
214 { |
|
215 listtype = EAknCtSinglePopupMenuListBox; |
|
216 heading = qtn_sc_set_change_prompt; |
|
217 listbox = AVKON_LIST_QUERY_LIST |
|
218 { |
|
219 // array of items will be defined dynamically |
|
220 }; |
|
221 }; |
|
222 } |
|
223 }; |
|
224 } |
|
225 |
|
226 //---------------------------------------------------------- |
|
227 // r_scut_wait_note |
|
228 // |
|
229 //---------------------------------------------------------- |
|
230 // |
|
231 RESOURCE DIALOG r_scut_wait_note |
|
232 { |
|
233 flags = EAknWaitNoteFlags | EEikDialogFlagWait; |
|
234 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
235 items= |
|
236 { |
|
237 DLG_LINE |
|
238 { |
|
239 type = EAknCtNote; |
|
240 id = EGeneralNote; |
|
241 control= AVKON_NOTE |
|
242 { |
|
243 layout = EWaitLayout; |
|
244 singular_label = qtn_gen_note_opening; |
|
245 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
246 }; |
|
247 } |
|
248 }; |
|
249 } |
|
250 |
|
251 //---------------------------------------------------- |
|
252 // r_scut_settings_view_caption |
|
253 // View caption for plug-in. max 256 |
|
254 //---------------------------------------------------- |
|
255 // |
|
256 RESOURCE TBUF r_scut_settings_view_caption |
|
257 { |
|
258 buf = qtn_set_pers_shortcuts; |
|
259 } |
|
260 |
|
261 //---------------------------------------------------- |
|
262 // r_scut_settings_view_title |
|
263 // View title. |
|
264 //---------------------------------------------------- |
|
265 // |
|
266 RESOURCE TITLE_PANE r_scut_settings_view_title |
|
267 { |
|
268 txt = qtn_set_title_pers_shortcuts; |
|
269 } |
|
270 |
|
271 //---------------------------------------------------- |
|
272 // r_ai_settings_txt_fixed_item |
|
273 // Text used in information note when attempting |
|
274 // to change a read-only shortcut |
|
275 //---------------------------------------------------- |
|
276 // |
|
277 RESOURCE TBUF r_scut_settings_txt_fixed_item |
|
278 { |
|
279 buf = qtn_ai_set_app_note_fixed; |
|
280 } |
|
281 |
|
282 //---------------------------------------------------- |
|
283 // r_scut_settings_txt_all_fixed |
|
284 // Text for empty listbox item |
|
285 //---------------------------------------------------- |
|
286 // |
|
287 RESOURCE TBUF r_scut_settings_txt_all_fixed |
|
288 { |
|
289 buf = qtn_ai_sc_set_all_fixed; |
|
290 } |
|
291 |
|
292 //---------------------------------------------------- |
|
293 // r_scut_settings_txt_linkn |
|
294 // |
|
295 //---------------------------------------------------- |
|
296 // |
|
297 RESOURCE TBUF r_scut_settings_txt_linkn |
|
298 { |
|
299 buf = qtn_ai_set_myt_linkn; |
|
300 } |
|
301 |
|
302 //---------------------------------------------------- |
|
303 // r_scut_settings_softkey_left |
|
304 // |
|
305 //---------------------------------------------------- |
|
306 // |
|
307 RESOURCE TBUF r_scut_settings_softkey_left |
|
308 { |
|
309 buf = qtn_set_left_idle_softkey; |
|
310 } |
|
311 |
|
312 //---------------------------------------------------- |
|
313 // r_scut_settings_softkey_right |
|
314 // |
|
315 //---------------------------------------------------- |
|
316 // |
|
317 RESOURCE TBUF r_scut_settings_softkey_right |
|
318 { |
|
319 buf = qtn_set_right_idle_softkey; |
|
320 } |
|
321 |
|
322 //---------------------------------------------------- |
|
323 // r_scut_settings_scroll_left |
|
324 // |
|
325 //---------------------------------------------------- |
|
326 // |
|
327 RESOURCE TBUF r_scut_settings_scroll_left |
|
328 { |
|
329 buf = qtn_set_idle_left_scroll; |
|
330 } |
|
331 |
|
332 //---------------------------------------------------- |
|
333 // r_scut_settings_scroll_right |
|
334 // |
|
335 //---------------------------------------------------- |
|
336 // |
|
337 RESOURCE TBUF r_scut_settings_scroll_right |
|
338 { |
|
339 buf = qtn_set_idle_right_scroll; |
|
340 } |
|
341 |
|
342 //---------------------------------------------------- |
|
343 // r_scut_settings_scroll_up |
|
344 // |
|
345 //---------------------------------------------------- |
|
346 // |
|
347 RESOURCE TBUF r_scut_settings_scroll_up |
|
348 { |
|
349 buf = qtn_set_idle_up_scroll; |
|
350 } |
|
351 |
|
352 //---------------------------------------------------- |
|
353 // r_scut_settings_scroll_down |
|
354 // |
|
355 //---------------------------------------------------- |
|
356 // |
|
357 RESOURCE TBUF r_scut_settings_scroll_down |
|
358 { |
|
359 buf = qtn_set_idle_down_scroll; |
|
360 } |
|
361 |
|
362 //---------------------------------------------------- |
|
363 // r_scut_settings_selection_key |
|
364 // |
|
365 //---------------------------------------------------- |
|
366 // |
|
367 RESOURCE TBUF r_scut_settings_selection_key |
|
368 { |
|
369 buf = qtn_set_idle_selec_key; |
|
370 } |
|
371 |
|
372 // ----------------------------------------------------------------------------- |
|
373 // r_scut_settings_no_effect |
|
374 // |
|
375 // ----------------------------------------------------------------------------- |
|
376 // |
|
377 RESOURCE TBUF r_scut_settings_no_effect |
|
378 { |
|
379 buf = qtn_set_idle_skeys_no_effect; |
|
380 } |
|
381 |
|
382 // ----------------------------------------------------------------------------- |
|
383 // r_scut_msk_edit |
|
384 // |
|
385 // ----------------------------------------------------------------------------- |
|
386 // |
|
387 RESOURCE TBUF r_scut_msk_edit |
|
388 { |
|
389 buf = qtn_msk_edit; |
|
390 } |
|
391 |
|
392 // ----------------------------------------------------------------------------- |
|
393 // r_scut_msk_change |
|
394 // |
|
395 // ----------------------------------------------------------------------------- |
|
396 // |
|
397 RESOURCE TBUF r_scut_msk_change |
|
398 { |
|
399 buf = qtn_msk_change; |
|
400 } |
|
401 |
|
402 /* |
|
403 //---------------------------------------------------- |
|
404 // r_scut_settings_key_press |
|
405 // |
|
406 //---------------------------------------------------- |
|
407 // |
|
408 //RESOURCE TBUF r_scut_settings_key_press |
|
409 // { |
|
410 // buf = qtn_ai_shorts_key_press; |
|
411 // } |
|
412 |
|
413 */ |
|
414 |
|
415 // ----------------------------------------------------------------------------- |
|
416 // |
|
417 // ----------------------------------------------------------------------------- |
|
418 // |
|
419 RESOURCE CBA r_scut_softkeys_options_back_change |
|
420 { |
|
421 buttons = |
|
422 { |
|
423 CBA_BUTTON {id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
424 CBA_BUTTON {id = EAknSoftkeyBack; txt = text_softkey_back; }, |
|
425 CBA_BUTTON {id = EAiScutSettingsCmdChange; txt = qtn_msk_change; } |
|
426 }; |
|
427 } |
|
428 |
|
429 // ----------------------------------------------------------------------------- |
|
430 // |
|
431 // ----------------------------------------------------------------------------- |
|
432 // |
|
433 RESOURCE CBA r_scut_softkeys_options_exit_change |
|
434 { |
|
435 buttons = |
|
436 { |
|
437 CBA_BUTTON {id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
438 CBA_BUTTON {id = EAknSoftkeyExit; txt = text_softkey_exit; }, |
|
439 CBA_BUTTON {id = EAiScutSettingsCmdChange; txt = qtn_msk_change; } |
|
440 }; |
|
441 } |
|
442 |
|
443 // End of File. |
|