voiceui/vcommand/data/vcommand.rss
branchRCL_3
changeset 19 e36f3802f733
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     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 = EVCCmdStartVui;
       
   200             txt = qtn_vc_tutorial;
       
   201             },			
       
   202         MENU_ITEM
       
   203             {
       
   204             command = EVCCmdPlayback;
       
   205             txt = text_voice_replay;
       
   206             flags = EEikMenuItemAction;
       
   207             },
       
   208         MENU_ITEM
       
   209             {
       
   210             command = EVCCmdDelete;
       
   211             txt = qtn_vc_options_remove_user_text;
       
   212             flags = EEikMenuItemSpecific;
       
   213             },
       
   214         MENU_ITEM
       
   215             {
       
   216             command = EVCCmdSettings;
       
   217             txt = qtn_vc_settings;
       
   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         CBA_BUTTON {id=EAknSoftkeyDone; txt=text_softkey_quit;}
       
   280         };
       
   281     }
       
   282 
       
   283 //-----------------------------------------------------------------------------
       
   284 //    
       
   285 //  r_playback_voice_command_dialog
       
   286 //  Playback voice command dialog
       
   287 //
       
   288 //-----------------------------------------------------------------------------
       
   289 //
       
   290 RESOURCE DIALOG r_playback_voice_command_dialog
       
   291     {
       
   292     flags=EAknProgressNoteFlags | EEikDialogFlagWait;
       
   293     buttons=R_AVKON_SOFTKEYS_QUIT;
       
   294      items=
       
   295         {
       
   296         DLG_LINE
       
   297             {
       
   298             type=EAknCtNote;
       
   299             id=EVoicePlaybackProgressNoteId;
       
   300             control= AVKON_NOTE 
       
   301                 { 
       
   302                     layout = EProgressLayout;
       
   303                     imagefile = AVKON_ICON_FILE;
       
   304                     imageid = EMbmAvkonQgn_note_voice;
       
   305                     imagemask = EMbmAvkonQgn_note_voice_mask;   
       
   306                 };
       
   307             }
       
   308         };        
       
   309     }
       
   310 
       
   311 
       
   312 //-----------------------------------------------------------------------------
       
   313 //    
       
   314 //  r_voice_command_too_short_dialog
       
   315 //  Voice tag too short dialog
       
   316 //
       
   317 //-----------------------------------------------------------------------------
       
   318 //
       
   319 RESOURCE DIALOG r_voice_command_too_short_dialog
       
   320     {
       
   321     flags=EGeneralQueryFlags;
       
   322     buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
   323     items=
       
   324         {
       
   325         DLG_LINE
       
   326             {
       
   327             type=EAknCtQuery;
       
   328             id = EGeneralQuery;
       
   329             control = AVKON_CONFIRMATION_QUERY 
       
   330                 { 
       
   331                 layout = EConfirmationLayout;
       
   332                 label = text_vc_voice_too_short;
       
   333                 bmpfile = AVKON_ICON_FILE;
       
   334                 bmpid = EMbmAvkonQgn_note_query;
       
   335                 bmpmask = EMbmAvkonQgn_note_query_mask; //0xffff;
       
   336                 };
       
   337             }
       
   338         };
       
   339     }
       
   340 
       
   341 
       
   342 //-----------------------------------------------------------------------------
       
   343 //    
       
   344 //  r_remove_application_dialog
       
   345 //  Removes user added command from the list
       
   346 //
       
   347 //-----------------------------------------------------------------------------
       
   348 //
       
   349 RESOURCE DIALOG r_remove_application_dialog
       
   350     {
       
   351     flags=EGeneralQueryFlags;
       
   352     buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
   353     items=
       
   354         {
       
   355         DLG_LINE
       
   356             {
       
   357             type=EAknCtQuery;
       
   358             id=EGeneralQuery;
       
   359             control= AVKON_CONFIRMATION_QUERY  
       
   360                 { 
       
   361                     layout = EConfirmationLayout;
       
   362                     label = qtn_query_common_conf_remove;
       
   363                 };
       
   364             }
       
   365         };
       
   366     }
       
   367 
       
   368 //-----------------------------------------------------------------------------
       
   369 //    
       
   370 //  r_cannot_delete_note
       
   371 //  Information note for %U cannot be deleted
       
   372 //
       
   373 //-----------------------------------------------------------------------------
       
   374 //
       
   375 RESOURCE AKN_NOTE_WRAPPER r_cannot_delete_note
       
   376     {
       
   377     resId = R_AKN_INFORMATION_NOTE_DIALOG_WAIT;
       
   378     timeout = EAknInformationNoteTimeout;
       
   379     tone = EAknNoteDialogWarningTone;
       
   380     text = qtn_vc_info_cannot_del;
       
   381     }
       
   382 
       
   383 //
       
   384 //-----------------------------------------------------------------------------
       
   385 //    
       
   386 //  r_vc_already_in_use
       
   387 //  Information note for name already in use
       
   388 //
       
   389 //-----------------------------------------------------------------------------
       
   390 //
       
   391 RESOURCE AKN_NOTE_WRAPPER r_vc_already_in_use
       
   392     {
       
   393     resId = R_AKN_ERROR_NOTE_DIALOG_WAIT;
       
   394     timeout = EAknErrorNoteTimeout;
       
   395     tone = EAknNoteDialogErrorTone;
       
   396     text = qtn_vc_error_in_use;
       
   397     }
       
   398 
       
   399 //-----------------------------------------------------------------------------
       
   400 //    
       
   401 //  r_vc_reset_adaptation_dialog
       
   402 //  Resets user learnings
       
   403 //
       
   404 //-----------------------------------------------------------------------------
       
   405 //
       
   406 RESOURCE DIALOG r_vc_reset_adaptation_dialog
       
   407     {
       
   408     flags=EGeneralQueryFlags;
       
   409     buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
   410     items=
       
   411         {
       
   412         DLG_LINE
       
   413             {
       
   414             type=EAknCtQuery;
       
   415             id=EGeneralQuery;
       
   416             control= AVKON_CONFIRMATION_QUERY  
       
   417                 { 
       
   418                     layout = EConfirmationLayout;
       
   419                     label = qtn_vc_conf_query_reset;
       
   420                 };
       
   421             }
       
   422         };
       
   423     }
       
   424 
       
   425 
       
   426 //-----------------------------------------------------------------------------
       
   427 //    
       
   428 //      r_vc_data_query
       
   429 //      Edit text data query.
       
   430 //
       
   431 //-----------------------------------------------------------------------------
       
   432 //
       
   433 RESOURCE DIALOG r_vc_data_query
       
   434     {
       
   435     flags = EEikDialogFlagWait |
       
   436             EEikDialogFlagNoDrag;
       
   437 
       
   438     buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   439     items =
       
   440         {
       
   441         DLG_LINE
       
   442             {
       
   443             type = EAknCtQuery;
       
   444             id = EGeneralQuery;
       
   445             control = AVKON_DATA_QUERY 
       
   446                 { 
       
   447                 layout = EStaticSizeDataLayout;
       
   448                 label = qtn_vc_heading_edit;
       
   449                 control = EDWIN
       
   450                     {
       
   451                     flags = EEikEdwinNoLineOrParaBreaks |
       
   452                             EEikEdwinResizable | 
       
   453                             EEikEdwinAutoSelection;
       
   454                     
       
   455                     width = KMaxEditWidthLength;
       
   456                     lines = 1;
       
   457                     maxlength = KMaxEditableTextLength;
       
   458                     numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
   459                     default_input_mode = EAknEditorTextInputMode;
       
   460                     allowed_input_modes = EAknEditorTextInputMode |
       
   461 										  EAknEditorNumericInputMode;
       
   462                     allowed_case_modes = EAknEditorAllCaseModes;
       
   463                     };
       
   464                 };
       
   465             }
       
   466         };
       
   467     }
       
   468     
       
   469 //-----------------------------------------------------------------------------
       
   470 //    
       
   471 //      r_vc_data_query
       
   472 //      Edit text data query.
       
   473 //
       
   474 //-----------------------------------------------------------------------------
       
   475 //
       
   476 RESOURCE DIALOG r_vc_data_query_japanese
       
   477     {
       
   478     flags = EEikDialogFlagWait |
       
   479             EEikDialogFlagNoDrag;
       
   480 
       
   481     buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   482     items =
       
   483         {
       
   484         DLG_LINE
       
   485             {
       
   486             type = EAknCtQuery;
       
   487             id = EGeneralQuery;
       
   488             control = AVKON_DATA_QUERY 
       
   489                 { 
       
   490                 layout = EStaticSizeDataLayout;
       
   491                 label = qtn_vc_heading_edit;
       
   492                 control = EDWIN
       
   493                     {
       
   494                     flags = EEikEdwinNoLineOrParaBreaks |
       
   495                             EEikEdwinResizable | 
       
   496                             EEikEdwinAutoSelection;
       
   497                     
       
   498                     width = KMaxEditWidthLength;
       
   499                     lines = 1;
       
   500                     maxlength = KMaxEditableTextLength;
       
   501                     numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
   502                     default_input_mode = EAknEditorKatakanaInputMode;
       
   503                     allowed_input_modes = EAknEditorNumericInputMode |
       
   504 										  EAknEditorKatakanaInputMode |
       
   505 										  EAknEditorHalfWidthTextInputMode;
       
   506                     allowed_case_modes = EAknEditorTextCase;
       
   507                     };
       
   508                 };
       
   509             }
       
   510         };
       
   511     }
       
   512     
       
   513 // -----------------------------------------------------------------------------
       
   514 //
       
   515 // r_vc_wait_note
       
   516 // Wait note "Opening.." for main view and profiles view.
       
   517 //
       
   518 // -----------------------------------------------------------------------------
       
   519 //
       
   520 
       
   521 RESOURCE DIALOG r_vc_wait_note
       
   522     {
       
   523     flags   = EAknWaitNoteFlags;
       
   524     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   525     items   =
       
   526         {
       
   527         DLG_LINE
       
   528             {
       
   529             type    = EAknCtNote;
       
   530             id      = EVCWaitNote;
       
   531             control = AVKON_NOTE
       
   532                 {
       
   533                 layout          = EWaitLayout;
       
   534                 singular_label  = "";
       
   535                 animation       = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   536                 };
       
   537             }
       
   538         };
       
   539     }
       
   540     
       
   541 
       
   542 //-----------------------------------------------------------------------------
       
   543 //   
       
   544 //    r_vc_settings_menubar
       
   545 //    Menubar visible in the setting view
       
   546 //
       
   547 //-----------------------------------------------------------------------------
       
   548 //
       
   549 RESOURCE MENU_BAR r_vc_settings_menubar
       
   550     {
       
   551     titles = 
       
   552         {
       
   553         MENU_TITLE
       
   554             {
       
   555             menu_pane = r_vc_settings_menu;
       
   556             }
       
   557         };
       
   558     }
       
   559 
       
   560 
       
   561 //-----------------------------------------------------------------------------
       
   562 //   
       
   563 //    r_vc_setting_list_view
       
   564 //    Settings view
       
   565 //
       
   566 //-----------------------------------------------------------------------------
       
   567 //
       
   568 RESOURCE AVKON_VIEW r_vc_setting_list_view
       
   569     {
       
   570     menubar = r_vc_settings_menubar;
       
   571 
       
   572     cba = r_softkeys_options_back__change;
       
   573     }
       
   574 
       
   575 //-----------------------------------------------------------------------------
       
   576 //    
       
   577 //  r_softkeys_options_back__change
       
   578 //  Softkeys for main view
       
   579 //
       
   580 //-----------------------------------------------------------------------------
       
   581 //
       
   582 RESOURCE CBA r_softkeys_options_back__change
       
   583     {
       
   584     buttons =
       
   585         {
       
   586         CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
       
   587         CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; },
       
   588         AVKON_CBA_BUTTON{id=EVCCmdChange; longpressid=0; txt = text_softkey_empty; }
       
   589         };
       
   590     }
       
   591 
       
   592 //-----------------------------------------------------------------------------
       
   593 //
       
   594 //    r_vc_setting_item_list
       
   595 //
       
   596 //-----------------------------------------------------------------------------
       
   597 //
       
   598 RESOURCE AVKON_SETTING_ITEM_LIST r_vc_setting_item_list
       
   599     {
       
   600     items =
       
   601         {
       
   602         // Synthesizer
       
   603         AVKON_SETTING_ITEM
       
   604             {
       
   605             identifier = EVCSynthesizerItem;
       
   606             setting_page_resource = r_vc_setting_synthesizer;
       
   607             associated_resource = r_vc_setting_synthesizer_texts;
       
   608             name = qtn_vc_set_synt;
       
   609             },
       
   610         // Volume control
       
   611 		AVKON_SETTING_ITEM
       
   612             {
       
   613             identifier = EVCVolumeItem;
       
   614             setting_page_resource = r_vc_setting_volume;
       
   615             name = qtn_vc_set_volume;
       
   616             },
       
   617         // Rejection sensitivity
       
   618         AVKON_SETTING_ITEM
       
   619             {
       
   620             identifier = EVCRejectionItem;
       
   621             setting_page_resource = r_vc_setting_rejection;
       
   622             name = qtn_vc_set_rejection;
       
   623             },
       
   624         // Command verification
       
   625         AVKON_SETTING_ITEM
       
   626             {
       
   627             identifier = EVCVerificationItem;
       
   628             setting_page_resource = r_vc_setting_verification;
       
   629             associated_resource = r_vc_setting_verification_texts;
       
   630             name = qtn_vc_set_verification;
       
   631             },
       
   632         // User learnings
       
   633         AVKON_SETTING_ITEM
       
   634             {
       
   635             identifier = EVCResetItem;
       
   636             name = qtn_vc_set_reset;
       
   637             }
       
   638    		};
       
   639 	}
       
   640 
       
   641 
       
   642 //-----------------------------------------------------------------------------
       
   643 //
       
   644 //    r_vc_setting_syntheriser
       
   645 //    Synthesizer setting page
       
   646 //
       
   647 //-----------------------------------------------------------------------------
       
   648 //
       
   649 RESOURCE AVKON_SETTING_PAGE r_vc_setting_synthesizer
       
   650     {
       
   651     label = qtn_vc_set_synt2;
       
   652     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   653     type =  EAknCtPopupSettingList;
       
   654     editor_resource_id = r_vc_setting_listbox;
       
   655     }
       
   656 
       
   657 
       
   658 //-----------------------------------------------------------------------------
       
   659 //
       
   660 //    r_vc_setting_synthesizer_texts
       
   661 //    Defines list for setting page
       
   662 //
       
   663 //-----------------------------------------------------------------------------
       
   664 //
       
   665 RESOURCE AVKON_POPUP_SETTING_TEXTS r_vc_setting_synthesizer_texts
       
   666     {
       
   667     setting_texts_resource = r_vc_setting_synthesizer_text_array;
       
   668     popped_up_texts_resource = r_binary_switch_on_off_texts_popped_up;
       
   669     }
       
   670 
       
   671 
       
   672 //-----------------------------------------------------------------------------
       
   673 //
       
   674 //    r_vc_setting_synthesizer_text_array
       
   675 //    Choices for synthesizer setting
       
   676 //
       
   677 //-----------------------------------------------------------------------------
       
   678 //
       
   679 RESOURCE ARRAY r_vc_setting_synthesizer_text_array
       
   680     {
       
   681     items =
       
   682         {
       
   683         AVKON_ENUMERATED_TEXT
       
   684             {
       
   685             value = ESynthesizerOn;
       
   686             text = qtn_vc_set_on;
       
   687             },
       
   688         AVKON_ENUMERATED_TEXT
       
   689             {
       
   690             value = ESynthesizerOff;
       
   691             text = qtn_vc_set_off;
       
   692             }
       
   693         };
       
   694     }
       
   695     
       
   696 RESOURCE ARRAY r_binary_switch_on_off_texts_popped_up
       
   697     {
       
   698     items =
       
   699         {
       
   700         LBUF { txt = qtn_vc_set_on; },
       
   701         LBUF { txt = qtn_vc_set_off; }
       
   702         };
       
   703     }
       
   704 
       
   705 
       
   706 //-----------------------------------------------------------------------------
       
   707 //
       
   708 //    r_vc_setting_listbox
       
   709 //    Listbox of setting page
       
   710 //
       
   711 //-----------------------------------------------------------------------------
       
   712 //
       
   713 RESOURCE POPUP_SETTING_LIST r_vc_setting_listbox
       
   714     {
       
   715     flags = 0;
       
   716     }
       
   717 
       
   718 
       
   719 // -----------------------------------------------------------------------------
       
   720 //
       
   721 // r_vc_setting_volume
       
   722 // Volume setting page
       
   723 //
       
   724 // -----------------------------------------------------------------------------
       
   725 //
       
   726 RESOURCE AVKON_SETTING_PAGE r_vc_setting_volume
       
   727     {
       
   728     label = qtn_vc_set_volume2;
       
   729     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   730     type = EAknCtVolumeControl;
       
   731     editor_resource_id = r_vc_setting_volume_control;
       
   732     }
       
   733     
       
   734     
       
   735 // -----------------------------------------------------------------------------
       
   736 //
       
   737 // r_vc_setting_volume_control
       
   738 // ?description
       
   739 //
       
   740 // -----------------------------------------------------------------------------
       
   741 //
       
   742 RESOURCE VOLUME r_vc_setting_volume_control
       
   743     {
       
   744     flags = ESettingsVolumeControl;
       
   745     value = 7; // Has to have a value, otherwise crashes
       
   746     }
       
   747     
       
   748 
       
   749 // -----------------------------------------------------------------------------
       
   750 //
       
   751 // r_vc_setting_rejection
       
   752 // Rejection setting page
       
   753 //
       
   754 // -----------------------------------------------------------------------------
       
   755 //
       
   756 RESOURCE AVKON_SETTING_PAGE r_vc_setting_rejection
       
   757     {
       
   758     number = EAknSettingPageNoOrdinalDisplayed;
       
   759     label = qtn_vc_set_rejection2;
       
   760     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   761     type = EAknCtSlider;
       
   762     editor_resource_id = r_vc_setting_rejection_control;
       
   763     }
       
   764     
       
   765     
       
   766 //-----------------------------------------------------------------------------
       
   767 //    
       
   768 //  r_vc_setting_rejection_control    
       
   769 //  Slider resource setting page.
       
   770 //
       
   771 //-----------------------------------------------------------------------------
       
   772 //
       
   773 RESOURCE SLIDER_WITH_FEEDBACK_STYLE  r_vc_setting_rejection_control 
       
   774     {
       
   775     feedbackstyle = EAknSliderFbDynamic;
       
   776     layout = EAknSettingsItemSliderLayout;
       
   777     minvalue = 0;
       
   778     maxvalue = 10;
       
   779     step = 1;
       
   780     valuetype = EAknSliderValueBareFigure;
       
   781     minlabel = qtn_vc_rejection_low;
       
   782     maxlabel = qtn_vc_rejection_high;
       
   783     }
       
   784 
       
   785 
       
   786 //-----------------------------------------------------------------------------
       
   787 //
       
   788 //    r_vc_setting_verification
       
   789 //    Verification setting page
       
   790 //
       
   791 //-----------------------------------------------------------------------------
       
   792 //
       
   793 RESOURCE AVKON_SETTING_PAGE r_vc_setting_verification
       
   794     {
       
   795     label = qtn_vc_set_verification2;
       
   796     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   797     type =  EAknCtPopupSettingList;
       
   798     editor_resource_id = r_vc_setting_listbox;
       
   799     }
       
   800 
       
   801 
       
   802 //-----------------------------------------------------------------------------
       
   803 //
       
   804 //    r_vc_setting_verification_texts
       
   805 //    Defines list for setting page
       
   806 //
       
   807 //-----------------------------------------------------------------------------
       
   808 //
       
   809 RESOURCE AVKON_POPUP_SETTING_TEXTS r_vc_setting_verification_texts
       
   810     {
       
   811     setting_texts_resource = r_vc_setting_verification_text_array;
       
   812     }
       
   813 
       
   814 
       
   815 //-----------------------------------------------------------------------------
       
   816 //
       
   817 //    r_vc_setting_verification_text_array
       
   818 //    Choices for verification setting
       
   819 //
       
   820 //-----------------------------------------------------------------------------
       
   821 //
       
   822 RESOURCE ARRAY r_vc_setting_verification_text_array
       
   823     {
       
   824     items =
       
   825         {
       
   826         AVKON_ENUMERATED_TEXT
       
   827             {
       
   828             value = EAutomatic;
       
   829             text = qtn_vc_set_verification_automatic;
       
   830             },
       
   831         AVKON_ENUMERATED_TEXT
       
   832             {
       
   833             value = EManual;
       
   834             text = qtn_vc_set_verification_manual;
       
   835             },
       
   836         AVKON_ENUMERATED_TEXT
       
   837             {
       
   838             value = EVoice;
       
   839             text = qtn_vc_set_verification_voice;
       
   840             }
       
   841         };
       
   842     }
       
   843 
       
   844 
       
   845 //-----------------------------------------------------------------------------
       
   846 //   
       
   847 //    r_vc_settings_menu
       
   848 //    Menu visible in the setting view
       
   849 //
       
   850 //-----------------------------------------------------------------------------
       
   851 //
       
   852 RESOURCE MENU_PANE r_vc_settings_menu
       
   853     {
       
   854     items = 
       
   855         {
       
   856         MENU_ITEM
       
   857             { 
       
   858             command = EVCMenuCmdChange;
       
   859             txt = qtn_options_change;
       
   860             flags = EEikMenuItemAction;
       
   861             },
       
   862         MENU_ITEM
       
   863             { 
       
   864             command = EVCCmdReset;
       
   865             txt = qtn_vc_options_reset;
       
   866             flags = EEikMenuItemAction;
       
   867             },
       
   868         MENU_ITEM
       
   869             {
       
   870             command = EAknCmdHelp;
       
   871             txt = qtn_options_help;
       
   872             },
       
   873         MENU_ITEM 
       
   874             {
       
   875             command = EAknCmdExit;
       
   876             txt = qtn_options_exit;
       
   877             }
       
   878         };
       
   879     }
       
   880 
       
   881 
       
   882 RESOURCE TBUF   r_text_voice_system_error                   { buf = text_voice_system_error; }
       
   883 RESOURCE TBUF   r_qtn_vc_delete_command                     { buf = qtn_query_common_conf_remove; }
       
   884 RESOURCE TBUF   r_qtn_vc_playing                            { buf = text_vc_voice_replaying; }
       
   885 RESOURCE TBUF   r_qtn_vc_open                               { buf = qtn_msk_open; }
       
   886 RESOURCE TBUF   r_qtn_vc_edit                               { buf = qtn_msk_edit; }
       
   887 RESOURCE TBUF   r_text_call_in_progress                     { buf = text_call_in_progress; }
       
   888 RESOURCE TBUF   r_qtn_vc_wait_note_removing                 { buf = qtn_vc_wait_note_removing; }
       
   889 RESOURCE TBUF   r_qtn_vc_wait_note_creating_command         { buf = qtn_vc_wait_note_creating_command; }
       
   890 RESOURCE TBUF   r_qtn_vc_info_note_synthesizer_on           { buf = qtn_vc_info_note_synthesizer_on; }
       
   891 RESOURCE TBUF   r_qtn_vc_info_note_voice_verification_off   { buf = qtn_vc_info_note_voice_verification_off; }
       
   892 RESOURCE TBUF   r_qtn_vc_error_note_invalid_text            { buf = qtn_vc_error_note_invalid_text; }
       
   893 
       
   894 // Command editing error texts
       
   895 RESOURCE TBUF   r_qtn_vc_info_cannot_del                    { buf = qtn_vc_info_cannot_del; }
       
   896 RESOURCE TBUF   r_qtn_vc_error_short                        { buf = qtn_vc_error_short; }
       
   897 RESOURCE TBUF   r_qtn_vc_error_in_use                       { buf = qtn_vc_error_in_use; }
       
   898 
       
   899 // Settings
       
   900 RESOURCE TBUF   r_qtn_vc_set_synt                           { buf = qtn_vc_set_synt; }
       
   901 RESOURCE TBUF   r_qtn_vc_set_synt2                          { buf = qtn_vc_set_synt2; }
       
   902 RESOURCE TBUF   r_qtn_vc_set_volume                         { buf = qtn_vc_set_volume; }
       
   903 RESOURCE TBUF   r_qtn_vc_set_rejection                      { buf = qtn_vc_set_rejection; }
       
   904 RESOURCE TBUF   r_qtn_vc_set_verification                   { buf = qtn_vc_set_verification; }
       
   905 RESOURCE TBUF   r_qtn_vc_set_verification2                  { buf = qtn_vc_set_verification2; }
       
   906 RESOURCE TBUF   r_qtn_vc_set_reset                          { buf = qtn_vc_set_reset; }
       
   907 RESOURCE TBUF   r_qtn_vc_set_on                             { buf = qtn_vc_set_on; }
       
   908 RESOURCE TBUF   r_qtn_vc_set_off                            { buf = qtn_vc_set_off; }
       
   909 RESOURCE TBUF   r_qtn_vc_set_verification_automatic         { buf = qtn_vc_set_verification_automatic; }
       
   910 RESOURCE TBUF   r_qtn_vc_set_verification_manual            { buf = qtn_vc_set_verification_manual; }
       
   911 RESOURCE TBUF   r_qtn_vc_set_verification_voice             { buf = qtn_vc_set_verification_voice; }
       
   912 RESOURCE TBUF   r_qtn_vc_conf_note_reset                    { buf = qtn_vc_conf_note_reset; }
       
   913 RESOURCE TBUF	  r_qtn_set_pers_voicecmd			                { buf = qtn_set_pers_voicecmd; }
       
   914 RESOURCE TBUF	  r_qtn_vc_set_msk_change                     { buf = qtn_msk_change; }
       
   915 RESOURCE TBUF	  r_qtn_vc_set_msk_reset                      { buf = qtn_vc_msk_reset; }
       
   916 
       
   917 //----------------------------------------------------
       
   918 //    
       
   919 //  r_not_enough_memory_dialog
       
   920 //  "No memory" dialog
       
   921 //
       
   922 //----------------------------------------------------
       
   923 //
       
   924 RESOURCE DIALOG r_not_enough_memory_dialog
       
   925     {
       
   926     flags = EGeneralQueryFlags;
       
   927     buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
       
   928     items =
       
   929         {
       
   930         DLG_LINE
       
   931             {
       
   932             type = EAknCtQuery;
       
   933             id = EGeneralQuery;
       
   934             control = AVKON_CONFIRMATION_QUERY 
       
   935                 { 
       
   936                 layout = EConfirmationLayout;
       
   937                 label = qtn_memlo_not_enough_memory;
       
   938                 };
       
   939             }
       
   940         };
       
   941     }    
       
   942 
       
   943 // End of File