|
1 /* |
|
2 * Copyright (c) 2002 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: This file contains all the resources for the Voice Commands UI. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME VCUI // 4 letter ID |
|
21 |
|
22 // INCLUDES |
|
23 #include <uikon.rh> |
|
24 #include <eikon.rsg> |
|
25 #include <eikon.rh> |
|
26 #include <appinfo.rh> |
|
27 #include <avkon.loc> |
|
28 #include <avkon.rsg> |
|
29 #include <avkon.rh> |
|
30 #include <avkon.mbg> |
|
31 #include <AvkonIcons.hrh> |
|
32 #include <data_caging_paths_strings.hrh> |
|
33 |
|
34 |
|
35 //#include <vcommand.mbg> |
|
36 |
|
37 |
|
38 #include "vcommand.hrh" |
|
39 #include "voiceuibldvariant.hrh" |
|
40 #include <vcommand.loc> |
|
41 #include <vuivoicerecognition.loc> |
|
42 |
|
43 // RESOURCE DEFINITIONS |
|
44 |
|
45 RESOURCE RSS_SIGNATURE { } |
|
46 |
|
47 RESOURCE TBUF { buf = r_vc_main_view_title; } |
|
48 |
|
49 RESOURCE EIK_APP_INFO |
|
50 { |
|
51 status_pane=r_vc_main_status_pane; |
|
52 } |
|
53 |
|
54 //----------------------------------------------------------------------------- |
|
55 // |
|
56 // r_vc_main_status_pane |
|
57 // Status pane for main view. |
|
58 // |
|
59 //----------------------------------------------------------------------------- |
|
60 // |
|
61 RESOURCE STATUS_PANE_APP_MODEL r_vc_main_status_pane |
|
62 { |
|
63 layout = R_AVKON_STATUS_PANE_LAYOUT_USUAL; |
|
64 panes = |
|
65 { |
|
66 SPANE_PANE |
|
67 { |
|
68 id = EEikStatusPaneUidTitle; |
|
69 type = EAknCtTitlePane; |
|
70 resource = r_vc_main_view_title; |
|
71 } |
|
72 }; |
|
73 } |
|
74 |
|
75 |
|
76 //----------------------------------------------------------------------------- |
|
77 // |
|
78 // r_vcommand_localisable_app_info |
|
79 // menu captions and application icon |
|
80 // |
|
81 //----------------------------------------------------------------------------- |
|
82 // |
|
83 RESOURCE LOCALISABLE_APP_INFO r_vcommand_localisable_app_info |
|
84 { |
|
85 short_caption = qtn_apps_vcommand_grid; |
|
86 caption_and_icon = |
|
87 CAPTION_AND_ICON_INFO |
|
88 { |
|
89 caption = qtn_apps_vcommand_list; |
|
90 |
|
91 #ifdef __SCALABLE_ICONS |
|
92 number_of_icons = 1; |
|
93 icon_file = APP_BITMAP_DIR"\\VCommand_aif.mif"; |
|
94 #else // __SCALABLE_ICONS |
|
95 number_of_icons = 2; |
|
96 icon_file = APP_BITMAP_DIR"\\VCommand_aif.mbm"; |
|
97 #endif |
|
98 }; |
|
99 } |
|
100 |
|
101 |
|
102 //----------------------------------------------------------------------------- |
|
103 // |
|
104 // r_vc_main_view_title |
|
105 // Main view's title. |
|
106 // |
|
107 //----------------------------------------------------------------------------- |
|
108 // |
|
109 RESOURCE TITLE_PANE r_vc_main_view_title |
|
110 { |
|
111 txt = qtn_vc_title; |
|
112 } |
|
113 |
|
114 |
|
115 //----------------------------------------------------------------------------- |
|
116 // |
|
117 // r_vc_settings_view_title |
|
118 // Setting view's title. |
|
119 // |
|
120 //----------------------------------------------------------------------------- |
|
121 // |
|
122 RESOURCE TITLE_PANE r_vc_settings_view_title |
|
123 { |
|
124 txt = qtn_vc_title_settings; |
|
125 } |
|
126 |
|
127 |
|
128 //----------------------------------------------------------------------------- |
|
129 // |
|
130 // r_vcommand_main_view |
|
131 // Applications main view. |
|
132 // |
|
133 //----------------------------------------------------------------------------- |
|
134 // |
|
135 RESOURCE AVKON_VIEW r_vcommand_main_view |
|
136 { |
|
137 menubar=r_vcommand_menubar; |
|
138 #ifdef __VCOMMAND_CONTROL_PANEL |
|
139 cba=r_softkeys_options_back__select; |
|
140 #else |
|
141 cba=r_softkeys_options_exit__select; |
|
142 #endif |
|
143 } |
|
144 |
|
145 //----------------------------------------------------------------------------- |
|
146 // |
|
147 // r_vcommand_folder_view |
|
148 // Folder view. |
|
149 // |
|
150 //----------------------------------------------------------------------------- |
|
151 // |
|
152 RESOURCE AVKON_VIEW r_vcommand_folder_view |
|
153 { |
|
154 menubar=r_vcommand_menubar; |
|
155 cba=r_softkeys_options_back__select; |
|
156 } |
|
157 |
|
158 //----------------------------------------------------------------------------- |
|
159 // |
|
160 // r_vcommand_menubar |
|
161 // Menubar for VCommand application |
|
162 // |
|
163 //----------------------------------------------------------------------------- |
|
164 // |
|
165 RESOURCE MENU_BAR r_vcommand_menubar |
|
166 { |
|
167 titles= |
|
168 { |
|
169 MENU_TITLE { menu_pane=r_vcommand_menu; txt="View"; } |
|
170 }; |
|
171 } |
|
172 |
|
173 |
|
174 //----------------------------------------------------------------------------- |
|
175 // |
|
176 // r_vcommand_menu |
|
177 // Menu for Main Applications view. |
|
178 // |
|
179 //----------------------------------------------------------------------------- |
|
180 // |
|
181 RESOURCE MENU_PANE r_vcommand_menu |
|
182 { |
|
183 items= |
|
184 { |
|
185 MENU_ITEM |
|
186 { |
|
187 command = EVCCmdOpen; |
|
188 txt = qtn_voice_open; |
|
189 flags = EEikMenuItemAction; |
|
190 }, |
|
191 MENU_ITEM |
|
192 { |
|
193 command = EVCCmdEdit; |
|
194 txt = qtn_vc_edit; |
|
195 flags = EEikMenuItemSpecific; |
|
196 }, |
|
197 MENU_ITEM |
|
198 { |
|
199 command = EVCCmdPlayback; |
|
200 txt = text_voice_replay; |
|
201 flags = EEikMenuItemAction; |
|
202 }, |
|
203 MENU_ITEM |
|
204 { |
|
205 command = EVCCmdDelete; |
|
206 txt = qtn_vc_options_remove_user_text; |
|
207 flags = EEikMenuItemSpecific; |
|
208 }, |
|
209 MENU_ITEM |
|
210 { |
|
211 command = EVCCmdSettings; |
|
212 txt = qtn_vc_settings; |
|
213 }, |
|
214 MENU_ITEM |
|
215 { |
|
216 command = EVCCmdStartVui; |
|
217 txt = qtn_vc_tutorial; |
|
218 }, |
|
219 MENU_ITEM |
|
220 { |
|
221 command = EAknCmdHelp; |
|
222 txt = qtn_options_help; |
|
223 }, |
|
224 MENU_ITEM |
|
225 { |
|
226 command = EAknCmdExit; |
|
227 txt = qtn_options_exit; |
|
228 } |
|
229 }; |
|
230 } |
|
231 |
|
232 //----------------------------------------------------------------------------- |
|
233 // |
|
234 // r__softkeys_options_exit__select |
|
235 // Softkeys with an exit button on the right |
|
236 // |
|
237 //----------------------------------------------------------------------------- |
|
238 // |
|
239 RESOURCE CBA r_softkeys_options_exit__select |
|
240 { |
|
241 buttons = |
|
242 { |
|
243 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
244 CBA_BUTTON {id=EAknSoftkeyExit; txt = text_softkey_exit; }, |
|
245 AVKON_CBA_BUTTON{id=EAknSoftkeySelect; longpressid=0; txt= text_softkey_empty; } |
|
246 }; |
|
247 } |
|
248 |
|
249 //----------------------------------------------------------------------------- |
|
250 // |
|
251 // r_softkeys_options_back__select |
|
252 // Softkeys with a back button on the right |
|
253 // |
|
254 //----------------------------------------------------------------------------- |
|
255 // |
|
256 RESOURCE CBA r_softkeys_options_back__select |
|
257 { |
|
258 buttons = |
|
259 { |
|
260 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
261 CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; }, |
|
262 AVKON_CBA_BUTTON{id=EAknSoftkeySelect; longpressid=0; txt= text_softkey_empty; } |
|
263 }; |
|
264 } |
|
265 |
|
266 //----------------------------------------------------------------------------- |
|
267 // |
|
268 // r_softkeys_quit |
|
269 // Softkey for quitting voice tag playback |
|
270 // |
|
271 //----------------------------------------------------------------------------- |
|
272 // |
|
273 RESOURCE CBA r_softkeys_quit |
|
274 { |
|
275 buttons = |
|
276 { |
|
277 CBA_BUTTON {id=0; txt=""; }, |
|
278 CBA_BUTTON {id=EVCommandSoftKeyQuit; txt=text_softkey_quit;} |
|
279 }; |
|
280 } |
|
281 |
|
282 //----------------------------------------------------------------------------- |
|
283 // |
|
284 // r_playback_voice_command_dialog |
|
285 // Playback voice command dialog |
|
286 // |
|
287 //----------------------------------------------------------------------------- |
|
288 // |
|
289 RESOURCE DIALOG r_playback_voice_command_dialog |
|
290 { |
|
291 flags=EAknProgressNoteFlags | EEikDialogFlagWait; |
|
292 buttons=R_AVKON_SOFTKEYS_QUIT; |
|
293 items= |
|
294 { |
|
295 DLG_LINE |
|
296 { |
|
297 type=EAknCtNote; |
|
298 id=EVoicePlaybackProgressNoteId; |
|
299 control= AVKON_NOTE |
|
300 { |
|
301 layout = EProgressLayout; |
|
302 imagefile = AVKON_ICON_FILE; |
|
303 imageid = EMbmAvkonQgn_note_voice; |
|
304 imagemask = EMbmAvkonQgn_note_voice_mask; |
|
305 }; |
|
306 } |
|
307 }; |
|
308 } |
|
309 |
|
310 |
|
311 //----------------------------------------------------------------------------- |
|
312 // |
|
313 // r_voice_command_too_short_dialog |
|
314 // Voice tag too short dialog |
|
315 // |
|
316 //----------------------------------------------------------------------------- |
|
317 // |
|
318 RESOURCE DIALOG r_voice_command_too_short_dialog |
|
319 { |
|
320 flags=EGeneralQueryFlags; |
|
321 buttons=R_AVKON_SOFTKEYS_YES_NO__YES; |
|
322 items= |
|
323 { |
|
324 DLG_LINE |
|
325 { |
|
326 type=EAknCtQuery; |
|
327 id = EGeneralQuery; |
|
328 control = AVKON_CONFIRMATION_QUERY |
|
329 { |
|
330 layout = EConfirmationLayout; |
|
331 label = text_vc_voice_too_short; |
|
332 bmpfile = AVKON_ICON_FILE; |
|
333 bmpid = EMbmAvkonQgn_note_query; |
|
334 bmpmask = EMbmAvkonQgn_note_query_mask; //0xffff; |
|
335 }; |
|
336 } |
|
337 }; |
|
338 } |
|
339 |
|
340 |
|
341 //----------------------------------------------------------------------------- |
|
342 // |
|
343 // r_remove_application_dialog |
|
344 // Removes user added command from the list |
|
345 // |
|
346 //----------------------------------------------------------------------------- |
|
347 // |
|
348 RESOURCE DIALOG r_remove_application_dialog |
|
349 { |
|
350 flags=EGeneralQueryFlags; |
|
351 buttons=R_AVKON_SOFTKEYS_YES_NO__YES; |
|
352 items= |
|
353 { |
|
354 DLG_LINE |
|
355 { |
|
356 type=EAknCtQuery; |
|
357 id=EGeneralQuery; |
|
358 control= AVKON_CONFIRMATION_QUERY |
|
359 { |
|
360 layout = EConfirmationLayout; |
|
361 label = qtn_query_common_conf_remove; |
|
362 }; |
|
363 } |
|
364 }; |
|
365 } |
|
366 |
|
367 //----------------------------------------------------------------------------- |
|
368 // |
|
369 // r_cannot_delete_note |
|
370 // Information note for %U cannot be deleted |
|
371 // |
|
372 //----------------------------------------------------------------------------- |
|
373 // |
|
374 RESOURCE AKN_NOTE_WRAPPER r_cannot_delete_note |
|
375 { |
|
376 resId = R_AKN_INFORMATION_NOTE_DIALOG_WAIT; |
|
377 timeout = EAknInformationNoteTimeout; |
|
378 tone = EAknNoteDialogWarningTone; |
|
379 text = qtn_vc_info_cannot_del; |
|
380 } |
|
381 |
|
382 // |
|
383 //----------------------------------------------------------------------------- |
|
384 // |
|
385 // r_vc_already_in_use |
|
386 // Information note for name already in use |
|
387 // |
|
388 //----------------------------------------------------------------------------- |
|
389 // |
|
390 RESOURCE AKN_NOTE_WRAPPER r_vc_already_in_use |
|
391 { |
|
392 resId = R_AKN_ERROR_NOTE_DIALOG_WAIT; |
|
393 timeout = EAknErrorNoteTimeout; |
|
394 tone = EAknNoteDialogErrorTone; |
|
395 text = qtn_vc_error_in_use; |
|
396 } |
|
397 |
|
398 //----------------------------------------------------------------------------- |
|
399 // |
|
400 // r_vc_reset_adaptation_dialog |
|
401 // Resets user learnings |
|
402 // |
|
403 //----------------------------------------------------------------------------- |
|
404 // |
|
405 RESOURCE DIALOG r_vc_reset_adaptation_dialog |
|
406 { |
|
407 flags=EGeneralQueryFlags; |
|
408 buttons=R_AVKON_SOFTKEYS_YES_NO__YES; |
|
409 items= |
|
410 { |
|
411 DLG_LINE |
|
412 { |
|
413 type=EAknCtQuery; |
|
414 id=EGeneralQuery; |
|
415 control= AVKON_CONFIRMATION_QUERY |
|
416 { |
|
417 layout = EConfirmationLayout; |
|
418 label = qtn_vc_conf_query_reset; |
|
419 }; |
|
420 } |
|
421 }; |
|
422 } |
|
423 |
|
424 |
|
425 //----------------------------------------------------------------------------- |
|
426 // |
|
427 // r_vc_data_query |
|
428 // Edit text data query. |
|
429 // |
|
430 //----------------------------------------------------------------------------- |
|
431 // |
|
432 RESOURCE DIALOG r_vc_data_query |
|
433 { |
|
434 flags = EEikDialogFlagWait | |
|
435 EEikDialogFlagNoDrag; |
|
436 |
|
437 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
438 items = |
|
439 { |
|
440 DLG_LINE |
|
441 { |
|
442 type = EAknCtQuery; |
|
443 id = EGeneralQuery; |
|
444 control = AVKON_DATA_QUERY |
|
445 { |
|
446 layout = EStaticSizeDataLayout; |
|
447 label = qtn_vc_heading_edit; |
|
448 control = EDWIN |
|
449 { |
|
450 flags = EEikEdwinNoLineOrParaBreaks | |
|
451 EEikEdwinResizable | |
|
452 EEikEdwinAutoSelection; |
|
453 |
|
454 width = KMaxEditWidthLength; |
|
455 lines = 1; |
|
456 maxlength = KMaxEditableTextLength; |
|
457 numeric_keymap = EAknEditorStandardNumberModeKeymap; |
|
458 default_input_mode = EAknEditorTextInputMode; |
|
459 allowed_input_modes = EAknEditorTextInputMode | |
|
460 EAknEditorNumericInputMode; |
|
461 allowed_case_modes = EAknEditorAllCaseModes; |
|
462 }; |
|
463 }; |
|
464 } |
|
465 }; |
|
466 } |
|
467 |
|
468 //----------------------------------------------------------------------------- |
|
469 // |
|
470 // r_vc_data_query |
|
471 // Edit text data query. |
|
472 // |
|
473 //----------------------------------------------------------------------------- |
|
474 // |
|
475 RESOURCE DIALOG r_vc_data_query_japanese |
|
476 { |
|
477 flags = EEikDialogFlagWait | |
|
478 EEikDialogFlagNoDrag; |
|
479 |
|
480 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
481 items = |
|
482 { |
|
483 DLG_LINE |
|
484 { |
|
485 type = EAknCtQuery; |
|
486 id = EGeneralQuery; |
|
487 control = AVKON_DATA_QUERY |
|
488 { |
|
489 layout = EStaticSizeDataLayout; |
|
490 label = qtn_vc_heading_edit; |
|
491 control = EDWIN |
|
492 { |
|
493 flags = EEikEdwinNoLineOrParaBreaks | |
|
494 EEikEdwinResizable | |
|
495 EEikEdwinAutoSelection; |
|
496 |
|
497 width = KMaxEditWidthLength; |
|
498 lines = 1; |
|
499 maxlength = KMaxEditableTextLength; |
|
500 numeric_keymap = EAknEditorStandardNumberModeKeymap; |
|
501 default_input_mode = EAknEditorKatakanaInputMode; |
|
502 allowed_input_modes = EAknEditorNumericInputMode | |
|
503 EAknEditorKatakanaInputMode | |
|
504 EAknEditorHalfWidthTextInputMode; |
|
505 allowed_case_modes = EAknEditorTextCase; |
|
506 }; |
|
507 }; |
|
508 } |
|
509 }; |
|
510 } |
|
511 |
|
512 // ----------------------------------------------------------------------------- |
|
513 // |
|
514 // r_vc_wait_note |
|
515 // Wait note "Opening.." for main view and profiles view. |
|
516 // |
|
517 // ----------------------------------------------------------------------------- |
|
518 // |
|
519 |
|
520 RESOURCE DIALOG r_vc_wait_note |
|
521 { |
|
522 flags = EAknWaitNoteFlags; |
|
523 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
524 items = |
|
525 { |
|
526 DLG_LINE |
|
527 { |
|
528 type = EAknCtNote; |
|
529 id = EVCWaitNote; |
|
530 control = AVKON_NOTE |
|
531 { |
|
532 layout = EWaitLayout; |
|
533 singular_label = ""; |
|
534 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
535 }; |
|
536 } |
|
537 }; |
|
538 } |
|
539 |
|
540 |
|
541 //----------------------------------------------------------------------------- |
|
542 // |
|
543 // r_vc_settings_menubar |
|
544 // Menubar visible in the setting view |
|
545 // |
|
546 //----------------------------------------------------------------------------- |
|
547 // |
|
548 RESOURCE MENU_BAR r_vc_settings_menubar |
|
549 { |
|
550 titles = |
|
551 { |
|
552 MENU_TITLE |
|
553 { |
|
554 menu_pane = r_vc_settings_menu; |
|
555 } |
|
556 }; |
|
557 } |
|
558 |
|
559 |
|
560 //----------------------------------------------------------------------------- |
|
561 // |
|
562 // r_vc_setting_list_view |
|
563 // Settings view |
|
564 // |
|
565 //----------------------------------------------------------------------------- |
|
566 // |
|
567 RESOURCE AVKON_VIEW r_vc_setting_list_view |
|
568 { |
|
569 menubar = r_vc_settings_menubar; |
|
570 |
|
571 cba = r_softkeys_options_back__change; |
|
572 } |
|
573 |
|
574 //----------------------------------------------------------------------------- |
|
575 // |
|
576 // r_softkeys_options_back__change |
|
577 // Softkeys for main view |
|
578 // |
|
579 //----------------------------------------------------------------------------- |
|
580 // |
|
581 RESOURCE CBA r_softkeys_options_back__change |
|
582 { |
|
583 buttons = |
|
584 { |
|
585 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
586 CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; }, |
|
587 AVKON_CBA_BUTTON{id=EVCCmdChange; longpressid=0; txt = text_softkey_empty; } |
|
588 }; |
|
589 } |
|
590 |
|
591 //----------------------------------------------------------------------------- |
|
592 // |
|
593 // r_vc_setting_item_list |
|
594 // |
|
595 //----------------------------------------------------------------------------- |
|
596 // |
|
597 RESOURCE AVKON_SETTING_ITEM_LIST r_vc_setting_item_list |
|
598 { |
|
599 items = |
|
600 { |
|
601 // Synthesizer |
|
602 AVKON_SETTING_ITEM |
|
603 { |
|
604 identifier = EVCSynthesizerItem; |
|
605 setting_page_resource = r_vc_setting_synthesizer; |
|
606 associated_resource = r_vc_setting_synthesizer_texts; |
|
607 name = qtn_vc_set_synt; |
|
608 }, |
|
609 // Volume control |
|
610 AVKON_SETTING_ITEM |
|
611 { |
|
612 identifier = EVCVolumeItem; |
|
613 setting_page_resource = r_vc_setting_volume; |
|
614 name = qtn_vc_set_volume; |
|
615 }, |
|
616 // Rejection sensitivity |
|
617 AVKON_SETTING_ITEM |
|
618 { |
|
619 identifier = EVCRejectionItem; |
|
620 setting_page_resource = r_vc_setting_rejection; |
|
621 name = qtn_vc_set_rejection; |
|
622 }, |
|
623 // Command verification |
|
624 AVKON_SETTING_ITEM |
|
625 { |
|
626 identifier = EVCVerificationItem; |
|
627 setting_page_resource = r_vc_setting_verification; |
|
628 associated_resource = r_vc_setting_verification_texts; |
|
629 name = qtn_vc_set_verification; |
|
630 }, |
|
631 // User learnings |
|
632 AVKON_SETTING_ITEM |
|
633 { |
|
634 identifier = EVCResetItem; |
|
635 name = qtn_vc_set_reset; |
|
636 } |
|
637 }; |
|
638 } |
|
639 |
|
640 |
|
641 //----------------------------------------------------------------------------- |
|
642 // |
|
643 // r_vc_setting_syntheriser |
|
644 // Synthesizer setting page |
|
645 // |
|
646 //----------------------------------------------------------------------------- |
|
647 // |
|
648 RESOURCE AVKON_SETTING_PAGE r_vc_setting_synthesizer |
|
649 { |
|
650 label = qtn_vc_set_synt2; |
|
651 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
652 type = EAknCtPopupSettingList; |
|
653 editor_resource_id = r_vc_setting_listbox; |
|
654 } |
|
655 |
|
656 |
|
657 //----------------------------------------------------------------------------- |
|
658 // |
|
659 // r_vc_setting_synthesizer_texts |
|
660 // Defines list for setting page |
|
661 // |
|
662 //----------------------------------------------------------------------------- |
|
663 // |
|
664 RESOURCE AVKON_POPUP_SETTING_TEXTS r_vc_setting_synthesizer_texts |
|
665 { |
|
666 setting_texts_resource = r_vc_setting_synthesizer_text_array; |
|
667 popped_up_texts_resource = r_binary_switch_on_off_texts_popped_up; |
|
668 } |
|
669 |
|
670 |
|
671 //----------------------------------------------------------------------------- |
|
672 // |
|
673 // r_vc_setting_synthesizer_text_array |
|
674 // Choices for synthesizer setting |
|
675 // |
|
676 //----------------------------------------------------------------------------- |
|
677 // |
|
678 RESOURCE ARRAY r_vc_setting_synthesizer_text_array |
|
679 { |
|
680 items = |
|
681 { |
|
682 AVKON_ENUMERATED_TEXT |
|
683 { |
|
684 value = ESynthesizerOn; |
|
685 text = qtn_vc_set_on; |
|
686 }, |
|
687 AVKON_ENUMERATED_TEXT |
|
688 { |
|
689 value = ESynthesizerOff; |
|
690 text = qtn_vc_set_off; |
|
691 } |
|
692 }; |
|
693 } |
|
694 |
|
695 RESOURCE ARRAY r_binary_switch_on_off_texts_popped_up |
|
696 { |
|
697 items = |
|
698 { |
|
699 LBUF { txt = qtn_vc_set_on; }, |
|
700 LBUF { txt = qtn_vc_set_off; } |
|
701 }; |
|
702 } |
|
703 |
|
704 |
|
705 //----------------------------------------------------------------------------- |
|
706 // |
|
707 // r_vc_setting_listbox |
|
708 // Listbox of setting page |
|
709 // |
|
710 //----------------------------------------------------------------------------- |
|
711 // |
|
712 RESOURCE POPUP_SETTING_LIST r_vc_setting_listbox |
|
713 { |
|
714 flags = 0; |
|
715 } |
|
716 |
|
717 |
|
718 // ----------------------------------------------------------------------------- |
|
719 // |
|
720 // r_vc_setting_volume |
|
721 // Volume setting page |
|
722 // |
|
723 // ----------------------------------------------------------------------------- |
|
724 // |
|
725 RESOURCE AVKON_SETTING_PAGE r_vc_setting_volume |
|
726 { |
|
727 label = qtn_vc_set_volume2; |
|
728 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
729 type = EAknCtVolumeControl; |
|
730 editor_resource_id = r_vc_setting_volume_control; |
|
731 } |
|
732 |
|
733 |
|
734 // ----------------------------------------------------------------------------- |
|
735 // |
|
736 // r_vc_setting_volume_control |
|
737 // ?description |
|
738 // |
|
739 // ----------------------------------------------------------------------------- |
|
740 // |
|
741 RESOURCE VOLUME r_vc_setting_volume_control |
|
742 { |
|
743 flags = ESettingsVolumeControl; |
|
744 value = 7; // Has to have a value, otherwise crashes |
|
745 } |
|
746 |
|
747 |
|
748 // ----------------------------------------------------------------------------- |
|
749 // |
|
750 // r_vc_setting_rejection |
|
751 // Rejection setting page |
|
752 // |
|
753 // ----------------------------------------------------------------------------- |
|
754 // |
|
755 RESOURCE AVKON_SETTING_PAGE r_vc_setting_rejection |
|
756 { |
|
757 number = EAknSettingPageNoOrdinalDisplayed; |
|
758 label = qtn_vc_set_rejection2; |
|
759 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
760 type = EAknCtSlider; |
|
761 editor_resource_id = r_vc_setting_rejection_control; |
|
762 } |
|
763 |
|
764 |
|
765 //----------------------------------------------------------------------------- |
|
766 // |
|
767 // r_vc_setting_rejection_control |
|
768 // Slider resource setting page. |
|
769 // |
|
770 //----------------------------------------------------------------------------- |
|
771 // |
|
772 RESOURCE SLIDER r_vc_setting_rejection_control |
|
773 { |
|
774 layout = EAknSettingsItemSliderLayout; |
|
775 minvalue = 0; |
|
776 maxvalue = 10; |
|
777 step = 1; |
|
778 valuetype = EAknSliderValueBareFigure; |
|
779 minlabel = qtn_vc_rejection_low; |
|
780 maxlabel = qtn_vc_rejection_high; |
|
781 } |
|
782 |
|
783 |
|
784 //----------------------------------------------------------------------------- |
|
785 // |
|
786 // r_vc_setting_verification |
|
787 // Verification setting page |
|
788 // |
|
789 //----------------------------------------------------------------------------- |
|
790 // |
|
791 RESOURCE AVKON_SETTING_PAGE r_vc_setting_verification |
|
792 { |
|
793 label = qtn_vc_set_verification2; |
|
794 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
795 type = EAknCtPopupSettingList; |
|
796 editor_resource_id = r_vc_setting_listbox; |
|
797 } |
|
798 |
|
799 |
|
800 //----------------------------------------------------------------------------- |
|
801 // |
|
802 // r_vc_setting_verification_texts |
|
803 // Defines list for setting page |
|
804 // |
|
805 //----------------------------------------------------------------------------- |
|
806 // |
|
807 RESOURCE AVKON_POPUP_SETTING_TEXTS r_vc_setting_verification_texts |
|
808 { |
|
809 setting_texts_resource = r_vc_setting_verification_text_array; |
|
810 } |
|
811 |
|
812 |
|
813 //----------------------------------------------------------------------------- |
|
814 // |
|
815 // r_vc_setting_verification_text_array |
|
816 // Choices for verification setting |
|
817 // |
|
818 //----------------------------------------------------------------------------- |
|
819 // |
|
820 RESOURCE ARRAY r_vc_setting_verification_text_array |
|
821 { |
|
822 items = |
|
823 { |
|
824 AVKON_ENUMERATED_TEXT |
|
825 { |
|
826 value = EAutomatic; |
|
827 text = qtn_vc_set_verification_automatic; |
|
828 }, |
|
829 AVKON_ENUMERATED_TEXT |
|
830 { |
|
831 value = EManual; |
|
832 text = qtn_vc_set_verification_manual; |
|
833 }, |
|
834 AVKON_ENUMERATED_TEXT |
|
835 { |
|
836 value = EVoice; |
|
837 text = qtn_vc_set_verification_voice; |
|
838 } |
|
839 }; |
|
840 } |
|
841 |
|
842 |
|
843 //----------------------------------------------------------------------------- |
|
844 // |
|
845 // r_vc_settings_menu |
|
846 // Menu visible in the setting view |
|
847 // |
|
848 //----------------------------------------------------------------------------- |
|
849 // |
|
850 RESOURCE MENU_PANE r_vc_settings_menu |
|
851 { |
|
852 items = |
|
853 { |
|
854 MENU_ITEM |
|
855 { |
|
856 command = EVCMenuCmdChange; |
|
857 txt = qtn_options_change; |
|
858 flags = EEikMenuItemAction; |
|
859 }, |
|
860 MENU_ITEM |
|
861 { |
|
862 command = EVCCmdReset; |
|
863 txt = qtn_vc_options_reset; |
|
864 flags = EEikMenuItemAction; |
|
865 }, |
|
866 MENU_ITEM |
|
867 { |
|
868 command = EAknCmdHelp; |
|
869 txt = qtn_options_help; |
|
870 }, |
|
871 MENU_ITEM |
|
872 { |
|
873 command = EAknCmdExit; |
|
874 txt = qtn_options_exit; |
|
875 } |
|
876 }; |
|
877 } |
|
878 |
|
879 |
|
880 RESOURCE TBUF r_text_voice_system_error { buf = text_voice_system_error; } |
|
881 RESOURCE TBUF r_qtn_vc_delete_command { buf = qtn_query_common_conf_remove; } |
|
882 RESOURCE TBUF r_qtn_vc_playing { buf = text_vc_voice_replaying; } |
|
883 RESOURCE TBUF r_qtn_vc_open { buf = qtn_msk_open; } |
|
884 RESOURCE TBUF r_qtn_vc_edit { buf = qtn_msk_edit; } |
|
885 RESOURCE TBUF r_text_call_in_progress { buf = text_call_in_progress; } |
|
886 RESOURCE TBUF r_qtn_vc_wait_note_removing { buf = qtn_vc_wait_note_removing; } |
|
887 RESOURCE TBUF r_qtn_vc_wait_note_creating_command { buf = qtn_vc_wait_note_creating_command; } |
|
888 RESOURCE TBUF r_qtn_vc_info_note_synthesizer_on { buf = qtn_vc_info_note_synthesizer_on; } |
|
889 RESOURCE TBUF r_qtn_vc_info_note_voice_verification_off { buf = qtn_vc_info_note_voice_verification_off; } |
|
890 RESOURCE TBUF r_qtn_vc_error_note_invalid_text { buf = qtn_vc_error_note_invalid_text; } |
|
891 |
|
892 // Command editing error texts |
|
893 RESOURCE TBUF r_qtn_vc_info_cannot_del { buf = qtn_vc_info_cannot_del; } |
|
894 RESOURCE TBUF r_qtn_vc_error_short { buf = qtn_vc_error_short; } |
|
895 RESOURCE TBUF r_qtn_vc_error_in_use { buf = qtn_vc_error_in_use; } |
|
896 |
|
897 // Settings |
|
898 RESOURCE TBUF r_qtn_vc_set_synt { buf = qtn_vc_set_synt; } |
|
899 RESOURCE TBUF r_qtn_vc_set_synt2 { buf = qtn_vc_set_synt2; } |
|
900 RESOURCE TBUF r_qtn_vc_set_volume { buf = qtn_vc_set_volume; } |
|
901 RESOURCE TBUF r_qtn_vc_set_rejection { buf = qtn_vc_set_rejection; } |
|
902 RESOURCE TBUF r_qtn_vc_set_verification { buf = qtn_vc_set_verification; } |
|
903 RESOURCE TBUF r_qtn_vc_set_verification2 { buf = qtn_vc_set_verification2; } |
|
904 RESOURCE TBUF r_qtn_vc_set_reset { buf = qtn_vc_set_reset; } |
|
905 RESOURCE TBUF r_qtn_vc_set_on { buf = qtn_vc_set_on; } |
|
906 RESOURCE TBUF r_qtn_vc_set_off { buf = qtn_vc_set_off; } |
|
907 RESOURCE TBUF r_qtn_vc_set_verification_automatic { buf = qtn_vc_set_verification_automatic; } |
|
908 RESOURCE TBUF r_qtn_vc_set_verification_manual { buf = qtn_vc_set_verification_manual; } |
|
909 RESOURCE TBUF r_qtn_vc_set_verification_voice { buf = qtn_vc_set_verification_voice; } |
|
910 RESOURCE TBUF r_qtn_vc_conf_note_reset { buf = qtn_vc_conf_note_reset; } |
|
911 RESOURCE TBUF r_qtn_set_pers_voicecmd { buf = qtn_set_pers_voicecmd; } |
|
912 RESOURCE TBUF r_qtn_vc_set_msk_change { buf = qtn_msk_change; } |
|
913 RESOURCE TBUF r_qtn_vc_set_msk_reset { buf = qtn_vc_msk_reset; } |
|
914 |
|
915 //---------------------------------------------------- |
|
916 // |
|
917 // r_not_enough_memory_dialog |
|
918 // "No memory" dialog |
|
919 // |
|
920 //---------------------------------------------------- |
|
921 // |
|
922 RESOURCE DIALOG r_not_enough_memory_dialog |
|
923 { |
|
924 flags = EGeneralQueryFlags; |
|
925 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
926 items = |
|
927 { |
|
928 DLG_LINE |
|
929 { |
|
930 type = EAknCtQuery; |
|
931 id = EGeneralQuery; |
|
932 control = AVKON_CONFIRMATION_QUERY |
|
933 { |
|
934 layout = EConfirmationLayout; |
|
935 label = qtn_memlo_not_enough_memory; |
|
936 }; |
|
937 } |
|
938 }; |
|
939 } |
|
940 |
|
941 // End of File |