email/mail/group/MsgMailEditor.rss
branchRCL_3
changeset 60 7fdbb852d323
equal deleted inserted replaced
57:ebe688cedc25 60:7fdbb852d323
       
     1 /*
       
     2 * Copyright (c) 2002-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 module MsgMailEditor
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  RESOURCE IDENTIFIER
       
    20 NAME    CAME // From Mail Editor
       
    21 
       
    22 //  INCLUDES
       
    23 
       
    24 #include <eikon.rh>
       
    25 #include <eikon.hrh>
       
    26 #include <appinfo.rh>
       
    27 #include <data_caging_paths_strings.hrh>
       
    28 #include <AvkonIcons.hrh> // Avkon icon files
       
    29 #include "msgmaileditor.hrh"
       
    30 #include <msgmaileditor.loc>
       
    31 #include <avkon.rsg>
       
    32 #include <avkon.rh>
       
    33 #include <avkon.mbg>
       
    34 #include <avkon.loc>
       
    35 #include <drmcommon.loc>
       
    36 #include <messaging.loc>
       
    37 #include <muiu.mbg>
       
    38 
       
    39 #include <MsgEditor.rh>
       
    40 #include <MsgEditorAppUi.hrh>
       
    41 #include <MsgEditor.hrh>
       
    42 #include <messaging.loc>
       
    43 
       
    44 //  RESOURCE DEFINITIONS 
       
    45 
       
    46 //------------------------------------------------------------------------------
       
    47 //   Standard resource signature.
       
    48 //------------------------------------------------------------------------------
       
    49 RESOURCE RSS_SIGNATURE { }
       
    50 
       
    51 //------------------------------------------------------------------------------
       
    52 //   Application caption and default filename.
       
    53 //------------------------------------------------------------------------------
       
    54 RESOURCE TBUF { buf="Mail Editor"; }
       
    55 
       
    56 //------------------------------------------------------------------------------
       
    57 //   Constants
       
    58 //------------------------------------------------------------------------------
       
    59 #define MUIU_ICON_FILE          BITMAP_DIR"\\muiu.mif"
       
    60 #define MAIL_EDITOR_ICON_FILE   APP_BITMAP_DIR"\\MsgMailEditor_aif.mif"
       
    61 
       
    62 //------------------------------------------------------------------------------
       
    63 //   Mail Editor application info
       
    64 //------------------------------------------------------------------------------
       
    65 RESOURCE EIK_APP_INFO
       
    66     {	
       
    67     menubar = r_msgmaileditor_menubar; // application specific menubar
       
    68     cba     = r_maileditor_options_close; // softkeys
       
    69     custom_app_info_extension = r_msgmaileditor_app_info_extension;
       
    70     }
       
    71 
       
    72 //------------------------------------------------------------------------------
       
    73 //   Application resource info extension
       
    74 //------------------------------------------------------------------------------
       
    75 RESOURCE EIK_APP_INFO_EXT r_msgmaileditor_app_info_extension
       
    76     {
       
    77     popup_toolbar = r_maileditor_toolbar;
       
    78     }
       
    79     
       
    80 //------------------------------------------------------------------------------
       
    81 //   Application caption and default filename.
       
    82 //------------------------------------------------------------------------------
       
    83 RESOURCE LOCALISABLE_APP_INFO r_msgmaileditor_localisable_app_info
       
    84     {
       
    85     short_caption = qtn_mail_title_mail;
       
    86     caption_and_icon = CAPTION_AND_ICON_INFO
       
    87         {
       
    88         caption = qtn_mail_title_mail;
       
    89         number_of_icons = 1;
       
    90         icon_file = MAIL_EDITOR_ICON_FILE;
       
    91         };
       
    92     }
       
    93 
       
    94 //------------------------------------------------------------------------------
       
    95 //   r_maileditor_app_toolbar.
       
    96 //------------------------------------------------------------------------------
       
    97 //
       
    98 RESOURCE AVKON_TOOLBAR r_maileditor_toolbar
       
    99 	{
       
   100     flags = KAknToolbarFixed;
       
   101     items =
       
   102         {
       
   103         TBAR_CTRL
       
   104             {
       
   105             type = EAknCtButton;
       
   106             id = EMsgMailEditorCmdSend;
       
   107             control = AVKON_BUTTON
       
   108                 {
       
   109                 flags = KAknButtonSizeFitText;
       
   110                 states =
       
   111                     {
       
   112                     AVKON_BUTTON_STATE
       
   113                         {
       
   114                         helptxt = qtn_msg_tb_tooltip_send;
       
   115 					    bmpfile = MUIU_ICON_FILE;
       
   116 					    bmpid=EMbmMuiuQgn_indi_tb_msg_send;
       
   117 					    bmpmask=EMbmMuiuQgn_indi_tb_msg_send_mask;                        
       
   118 //					    bmpid=EMbmMuiuQgn_indi_tb_send_msg;
       
   119 //					    bmpmask=EMbmMuiuQgn_indi_tb_send_msg_mask;                             }  
       
   120                         }  
       
   121                     };            
       
   122                 };
       
   123             },
       
   124         TBAR_CTRL
       
   125             {
       
   126             type = EAknCtButton;
       
   127             id = EMsgMailEditorCmdAddRecipient;
       
   128             control = AVKON_BUTTON
       
   129                 {
       
   130                 flags = KAknButtonSizeFitText;
       
   131                 states =
       
   132                     {
       
   133                     AVKON_BUTTON_STATE
       
   134                         {
       
   135                         helptxt = qtn_msg_tb_tooltip_add_recipient;
       
   136 					    bmpfile = MUIU_ICON_FILE;
       
   137 					    bmpid=EMbmMuiuQgn_indi_tb_add_recipient;
       
   138 					    bmpmask=EMbmMuiuQgn_indi_tb_add_recipient_mask;                        
       
   139                         }  
       
   140                     };            
       
   141                 };
       
   142             },  
       
   143         TBAR_CTRL
       
   144             {
       
   145             type = EAknCtToolbarExtension;
       
   146             id = EMsgMailEditorCmdExpandInsert;
       
   147             control = AVKON_TOOLBAR_EXTENSION
       
   148                 {
       
   149                 helptxt = qtn_msg_tb_tooltip_insert;
       
   150                 bmpFile = MUIU_ICON_FILE;
       
   151                 bmpId = EMbmMuiuQgn_indi_tb_expand_insert;
       
   152                 bmpMask = EMbmMuiuQgn_indi_tb_expand_insert_mask;
       
   153                 items =
       
   154                     {
       
   155 				    TBAR_CTRL
       
   156 				        {
       
   157 				        type = EAknCtButton;
       
   158 				        id = EMsgMailEditorCmdInsertImage;
       
   159 				        control = AVKON_BUTTON
       
   160 				        	{
       
   161 				            flags = KAknButtonRequestExitOnButtonUpEvent;
       
   162 				            states =
       
   163 				                {
       
   164 				                AVKON_BUTTON_STATE
       
   165 				                    {
       
   166                                     txt = qtn_msg_insert_tb_image;
       
   167                                     helptxt = qtn_msg_insert_tb_tooltip_image;
       
   168 								    bmpfile = MUIU_ICON_FILE;
       
   169 								    bmpid=EMbmMuiuQgn_indi_mce_tb_image;
       
   170 								    bmpmask=EMbmMuiuQgn_indi_mce_tb_image_mask;                        
       
   171 				                    }  
       
   172 				                };            
       
   173 				            };
       
   174 				        },
       
   175 				    TBAR_CTRL
       
   176 				        {
       
   177 				        type = EAknCtButton;
       
   178 				        id = EMsgMailEditorCmdInsertVideo;
       
   179 				        control = AVKON_BUTTON
       
   180 				            {
       
   181 				            flags = KAknButtonRequestExitOnButtonUpEvent;
       
   182 				            states =
       
   183 				                {
       
   184 				                AVKON_BUTTON_STATE
       
   185 				                    {
       
   186                                     txt = qtn_msg_insert_tb_video;
       
   187                                     helptxt = qtn_msg_insert_tb_tooltip_video;
       
   188 								    bmpfile = MUIU_ICON_FILE;
       
   189 								    bmpid=EMbmMuiuQgn_indi_mce_tb_video;
       
   190 								    bmpmask=EMbmMuiuQgn_indi_mce_tb_video_mask;                        
       
   191 				                    }  
       
   192 				                };            
       
   193 				            };
       
   194 				        },                                    
       
   195 				    TBAR_CTRL
       
   196 				        {
       
   197 				        type = EAknCtButton;
       
   198 				        id = EMsgMailEditorCmdInsertAudio;
       
   199 				        control = AVKON_BUTTON
       
   200 				            {
       
   201 				            flags = KAknButtonRequestExitOnButtonUpEvent;
       
   202 				            states =
       
   203 				                {
       
   204 				                AVKON_BUTTON_STATE
       
   205 				                    {
       
   206                                     txt = qtn_msg_insert_tb_sound;
       
   207                                     helptxt = qtn_msg_insert_tb_tooltip_sound;
       
   208 								    bmpfile = MUIU_ICON_FILE;
       
   209 								    bmpid=EMbmMuiuQgn_indi_mce_tb_audio;
       
   210 								    bmpmask=EMbmMuiuQgn_indi_mce_tb_audio_mask;                        
       
   211 				                    }  
       
   212 				                };            
       
   213 				            };
       
   214 				        },
       
   215 				    TBAR_CTRL
       
   216 				        {
       
   217 				        type = EAknCtButton;
       
   218 				        id = EMsgMailEditorCmdInsertTemplate;
       
   219 				        control = AVKON_BUTTON
       
   220 				            {
       
   221 				            flags = KAknButtonRequestExitOnButtonUpEvent;
       
   222 				            states =
       
   223 				                {
       
   224 				                AVKON_BUTTON_STATE
       
   225 				                    {
       
   226                                     txt = qtn_msg_insert_tb_template;
       
   227                                     helptxt = qtn_msg_insert_tb_tooltip_template;
       
   228 								    bmpfile = MUIU_ICON_FILE;
       
   229 								    bmpid=EMbmMuiuQgn_indi_tb_template;
       
   230 								    bmpmask=EMbmMuiuQgn_indi_tb_template_mask;                        
       
   231 				                    }  
       
   232 				                };            
       
   233 				            };
       
   234 				        },
       
   235 				    TBAR_CTRL
       
   236 				        {
       
   237 				        type = EAknCtButton;
       
   238 				        id = EMsgMailEditorCmdInsertNote;
       
   239 				        control = AVKON_BUTTON
       
   240 				            {
       
   241 				            flags = KAknButtonRequestExitOnButtonUpEvent;
       
   242 				            states =
       
   243 				                {
       
   244 				                AVKON_BUTTON_STATE
       
   245 				                    {
       
   246                                     txt = qtn_msg_insert_tb_note;
       
   247                                     helptxt = qtn_msg_insert_tb_tooltip_note_att;
       
   248 								    bmpfile = MUIU_ICON_FILE;
       
   249 								    bmpid=EMbmMuiuQgn_indi_tb_note;
       
   250 								    bmpmask=EMbmMuiuQgn_indi_tb_note_mask;                        
       
   251 				                    }  
       
   252 				                };            
       
   253 				            };
       
   254 				        },  
       
   255 #ifdef EMAIL_PRESENTATION_SUPPORT
       
   256 				    TBAR_CTRL
       
   257 				        {
       
   258 				        type = EAknCtButton;
       
   259 				        id = EMsgMailEditorCmdInsertPresentation;
       
   260 				        control = AVKON_BUTTON
       
   261 				            {
       
   262 				            flags = KAknButtonRequestExitOnButtonUpEvent;
       
   263 				            states =
       
   264 				                {
       
   265 				                AVKON_BUTTON_STATE
       
   266 				                    {
       
   267                                     txt = qtn_msg_insert_tb_presentation;
       
   268                                     helptxt = qtn_msg_insert_tb_tooltip_presentation;
       
   269 								    bmpfile = MUIU_ICON_FILE;
       
   270 								    bmpid=EMbmMuiuQgn_indi_mce_tb_pres;
       
   271 								    bmpmask=EMbmMuiuQgn_indi_mce_tb_pres_mask;                        
       
   272 				                    }  
       
   273 				                };            
       
   274 				            };
       
   275 				        },
       
   276 #endif //EMAIL_PRESENTATION_SUPPORT
       
   277 				    TBAR_CTRL
       
   278 				        {
       
   279 				        type = EAknCtButton;
       
   280 				        id = EMsgMailEditorCmdInsertOther;
       
   281 				        control = AVKON_BUTTON
       
   282 				            {
       
   283 				            flags = KAknButtonRequestExitOnButtonUpEvent;
       
   284 				            states =
       
   285 				                {
       
   286 				                AVKON_BUTTON_STATE
       
   287 				                    {
       
   288                                     txt = qtn_msg_insert_tb_other;
       
   289                                     helptxt = qtn_msg_insert_tb_tooltip_other;
       
   290 								    bmpfile = MUIU_ICON_FILE;
       
   291 								    bmpid=EMbmMuiuQgn_indi_mce_tb_other;
       
   292 								    bmpmask=EMbmMuiuQgn_indi_mce_tb_other_mask;                        
       
   293 				                    }  
       
   294 				                };            
       
   295 				            };
       
   296 				        }
       
   297 				  	}; // eof extension items
       
   298                 }; // eof AVKON_TOOLBAR_EXTENSION control
       
   299            }
       
   300         };
       
   301 	}
       
   302 
       
   303 //------------------------------------------------------------------------------
       
   304 //   Selection list for Insert in MailEditor
       
   305 //------------------------------------------------------------------------------
       
   306 //
       
   307 RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_maileditor_insert_selectionlist
       
   308 	{
       
   309 	flags = EGeneralQueryFlags;
       
   310 	softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
       
   311 	items =
       
   312 		{
       
   313 		AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE 
       
   314 			{
       
   315 			control = AVKON_LIST_QUERY_CONTROL
       
   316 				{
       
   317 				listtype = EAknCtSinglePopupMenuListBox;
       
   318 				listbox = AVKON_LIST_QUERY_LIST
       
   319 					{
       
   320 					array_id = r_maileditor_insert_selectionlist_items;
       
   321 					};
       
   322 				heading = qtn_msg_insert_title;
       
   323 				};
       
   324 			}
       
   325 		};
       
   326 	}
       
   327 
       
   328 RESOURCE ARRAY r_maileditor_insert_selectionlist_items
       
   329     {
       
   330     items =
       
   331         {
       
   332         LBUF { txt = qtn_msg_insert_qry_image; },
       
   333         LBUF { txt = qtn_msg_insert_qry_video; },
       
   334         LBUF { txt = qtn_msg_insert_qry_sound; },
       
   335         LBUF { txt = qtn_msg_insert_qry_note; },
       
   336         LBUF { txt = qtn_msg_insert_qry_template; },
       
   337 #ifdef EMAIL_PRESENTATION_SUPPORT
       
   338         LBUF { txt = qtn_msg_insert_qry_presentation; },
       
   339 #endif //EMAIL_PRESENTATION_SUPPORT
       
   340         LBUF { txt = qtn_msg_insert_qry_other_files; }
       
   341         };
       
   342     }
       
   343 
       
   344 
       
   345 
       
   346 
       
   347 
       
   348 //------------------------------------------------------------------------------
       
   349 //   Selection list for Insert in AttachmentView
       
   350 //------------------------------------------------------------------------------
       
   351 //
       
   352 RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_maileditor_attachmentview_insert_selectionlist
       
   353 	{
       
   354 	flags = EGeneralQueryFlags;
       
   355 	softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
       
   356 	items =
       
   357 		{
       
   358 		AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE 
       
   359 			{
       
   360 			control = AVKON_LIST_QUERY_CONTROL
       
   361 				{
       
   362 				listtype = EAknCtSinglePopupMenuListBox;
       
   363 				listbox = AVKON_LIST_QUERY_LIST
       
   364 					{
       
   365 					array_id = r_maileditor_attachmentview_insert_selectionlist_items;
       
   366 					};
       
   367 				heading = qtn_msg_insert_title;
       
   368 				};
       
   369 			}
       
   370 		};
       
   371 	}
       
   372 
       
   373 RESOURCE ARRAY r_maileditor_attachmentview_insert_selectionlist_items
       
   374     {
       
   375     items =
       
   376         {
       
   377         LBUF { txt = qtn_msg_insert_qry_image; },
       
   378         LBUF { txt = qtn_msg_insert_qry_video; },
       
   379         LBUF { txt = qtn_msg_insert_qry_sound; },
       
   380 #ifdef EMAIL_PRESENTATION_SUPPORT
       
   381         LBUF { txt = qtn_msg_insert_qry_presentation; },
       
   382 #endif //EMAIL_PRESENTATION_SUPPORT
       
   383         LBUF { txt = qtn_msg_insert_qry_other_files; }
       
   384         };
       
   385     }
       
   386 
       
   387 
       
   388 //------------------------------------------------------------------------------
       
   389 //    r_maileditor_toolbar_choicelist
       
   390 //------------------------------------------------------------------------------
       
   391 //
       
   392 RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_maileditor_toolbar_choicelist
       
   393     {
       
   394     flags = EGeneralQueryFlags;
       
   395     softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
       
   396     items =
       
   397         {
       
   398         AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE 
       
   399             {
       
   400             control = AVKON_LIST_QUERY_CONTROL
       
   401                 {
       
   402                 listtype = EAknCtSinglePopupMenuListBox;
       
   403                 listbox = AVKON_LIST_QUERY_LIST
       
   404                     {
       
   405                     array_id = r_maileditor_toolbar_choicelist_items;
       
   406                     };
       
   407                 heading = qtn_msg_insert_others_title;
       
   408                 };
       
   409             }
       
   410         };
       
   411     }
       
   412 
       
   413 //------------------------------------------------------------------------------
       
   414 //    r_maileditor_toolbar_choicelist_items
       
   415 //------------------------------------------------------------------------------
       
   416 //
       
   417 RESOURCE ARRAY r_maileditor_toolbar_choicelist_items
       
   418     {
       
   419     items =
       
   420         {
       
   421         LBUF { txt = qtn_msg_insert_note; },
       
   422         LBUF { txt = qtn_msg_insert_other_files; }
       
   423         };
       
   424     }
       
   425 
       
   426 
       
   427 #ifdef RD_SCALABLE_UI_V2    
       
   428 //------------------------------------------------------------------------------
       
   429 //    r_maileditor_toolbar_touch_choicelist
       
   430 //------------------------------------------------------------------------------
       
   431 //
       
   432 RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_maileditor_toolbar_touch_choicelist
       
   433     {
       
   434     flags = EGeneralQueryFlags;
       
   435     softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
       
   436     items =
       
   437         {
       
   438         AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE 
       
   439             {
       
   440             control = AVKON_LIST_QUERY_CONTROL
       
   441                 {
       
   442                 listtype = EAknCtSinglePopupMenuListBox;
       
   443                 listbox = AVKON_LIST_QUERY_LIST
       
   444                     {
       
   445                     array_id = r_maileditor_toolbar_choicelist_touch_items;
       
   446                     };
       
   447                 heading = qtn_msg_insert_others_title;
       
   448                 };
       
   449             }
       
   450         };
       
   451     }
       
   452     
       
   453  //------------------------------------------------------------------------------
       
   454 //    r_maileditor_toolbar_choicelist_touch_items
       
   455 //------------------------------------------------------------------------------
       
   456 //
       
   457 RESOURCE ARRAY r_maileditor_toolbar_choicelist_touch_items
       
   458     {
       
   459     items =
       
   460         {
       
   461         //Do not change order unless you also modify DoShowToolBarOtherL()!!        
       
   462         LBUF { txt = qtn_msg_insert_text; }, 
       
   463         LBUF { txt = qtn_msg_insert_note_as_text; }, 
       
   464         LBUF { txt = qtn_msg_insert_note_as_att; },
       
   465 #ifdef EMAIL_PRESENTATION_SUPPORT
       
   466         LBUF { txt = qtn_msg_insert_presentation; },
       
   467 #endif //EMAIL_PRESENTATION_SUPPORT
       
   468         LBUF { txt = qtn_msg_insert_other_files; } 
       
   469         
       
   470         };
       
   471     }
       
   472 
       
   473 #endif //RD_SCALABLE_UI_V2
       
   474 
       
   475 //------------------------------------------------------------------------------
       
   476 //    r_maileditor_toolbar_text_choicelist
       
   477 //------------------------------------------------------------------------------
       
   478 //
       
   479 RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_maileditor_toolbar_text_choicelist
       
   480     {
       
   481     flags = EGeneralQueryFlags;
       
   482     softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
       
   483     items =
       
   484         {
       
   485         AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE 
       
   486             {
       
   487             control = AVKON_LIST_QUERY_CONTROL
       
   488                 {
       
   489                 listtype = EAknCtSinglePopupMenuListBox;
       
   490                 listbox = AVKON_LIST_QUERY_LIST
       
   491                     {
       
   492                     array_id = r_maileditor_toolbar_text_choicelist_items;
       
   493                     };
       
   494                 heading = qtn_msg_insert_phrase_title;
       
   495                 };
       
   496             }
       
   497         };
       
   498     }
       
   499 
       
   500 //------------------------------------------------------------------------------
       
   501 //    r_maileditor_toolbar_choicelist_items
       
   502 //------------------------------------------------------------------------------
       
   503 //
       
   504 RESOURCE ARRAY r_maileditor_toolbar_text_choicelist_items
       
   505     {
       
   506     items =
       
   507         {
       
   508         LBUF { txt = qtn_msg_insert_text; },
       
   509         LBUF { txt = qtn_msg_insert_note; }
       
   510         };
       
   511     }
       
   512 
       
   513 
       
   514 //------------------------------------------------------------------------------
       
   515 //    r_maileditor_options_close
       
   516 //------------------------------------------------------------------------------
       
   517 //
       
   518 RESOURCE CBA r_maileditor_options_close
       
   519     {
       
   520     buttons =
       
   521         {
       
   522         CBA_BUTTON { id = EAknSoftkeyOptions;   txt = text_softkey_option; },
       
   523         CBA_BUTTON { id = EAknSoftkeyClose;     txt = text_softkey_close; },
       
   524         CBA_BUTTON { id = EAknSoftkeyContextOptions; txt=text_softkey_option;}
       
   525         };
       
   526     }
       
   527 
       
   528 //------------------------------------------------------------------------------
       
   529 //    r_maileditor_options_back_change
       
   530 //------------------------------------------------------------------------------
       
   531 //
       
   532 RESOURCE CBA r_maileditor_options_back_change
       
   533     {
       
   534     buttons =
       
   535         {
       
   536         CBA_BUTTON { id = EAknSoftkeyOptions;   txt = text_softkey_option; },
       
   537         CBA_BUTTON { id = EAknSoftkeyBack;     txt = text_softkey_back; },
       
   538         CBA_BUTTON { id = EMsgMailSendOptionsChange; txt=qtn_msk_change;}
       
   539         };
       
   540     }
       
   541 
       
   542 
       
   543 //------------------------------------------------------------------------------
       
   544 //    Title text for attachments dialog
       
   545 //------------------------------------------------------------------------------
       
   546 //
       
   547 RESOURCE TBUF r_title_attachments { buf = qtn_mail_title_attachments; }
       
   548 
       
   549 //------------------------------------------------------------------------------ 
       
   550 //    r_send_options_title_text
       
   551 //    
       
   552 //    Title text for send options dialog
       
   553 //------------------------------------------------------------------------------
       
   554 //
       
   555 RESOURCE TITLE_PANE r_send_options_title_text
       
   556     {
       
   557     txt = qtn_mail_title_sending_options;
       
   558     }
       
   559 
       
   560 //------------------------------------------------------------------------------
       
   561 //    r_msgmaileditor_menubar
       
   562 //    Application specific menubar.
       
   563 //------------------------------------------------------------------------------
       
   564 //
       
   565 RESOURCE MENU_BAR r_msgmaileditor_menubar
       
   566 {
       
   567     titles =
       
   568     {
       
   569         MENU_TITLE { menu_pane = r_msgmaileditor_options_menu3; },
       
   570         MENU_TITLE { menu_pane = r_msgmaileditor_options_menu2; },
       
   571         MENU_TITLE  { menu_pane = r_msgmaileditor_options_menu1; } 
       
   572     };
       
   573 }
       
   574 
       
   575 //------------------------------------------------------------------------------
       
   576 //    r_msgmaileditor_options_menu1
       
   577 //------------------------------------------------------------------------------
       
   578 //
       
   579 RESOURCE MENU_PANE r_msgmaileditor_options_menu1
       
   580 {
       
   581     items =
       
   582     {
       
   583         MENU_ITEM { command = EMsgMailEditorCmdSend; txt=qtn_msg_om_send; },
       
   584         MENU_ITEM { command = EMsgMailEditorCmdAddRecipient; 
       
   585             txt=qtn_msg_om_add_recipient; },
       
   586         MENU_ITEM { command = EMsgMailEditorCmdInsertMenu;
       
   587             txt=qtn_mail_om_insert;
       
   588             flags = EEikMenuItemDimmed; },
       
   589         MENU_ITEM { command = EMsgMailEditorCmdInsertSubMenu;
       
   590             txt=qtn_mail_om_insert; 
       
   591             cascade=r_msgmaileditor_insert_menu;
       
   592             flags = EEikMenuItemDimmed; },
       
   593 	MENU_ITEM { command = EMsgMailEditorCmdAddHeaders;
       
   594 	    txt=qtn_msg_om_change_headers;}
       
   595     };
       
   596 }
       
   597 
       
   598 //------------------------------------------------------------------------------
       
   599 //    r_msgmaileditor_options_menu2
       
   600 //------------------------------------------------------------------------------
       
   601 //
       
   602 RESOURCE MENU_PANE r_msgmaileditor_options_menu2
       
   603 {
       
   604     items =
       
   605     {
       
   606         MENU_ITEM { command = EMsgMailEditorCmdAttachments; 
       
   607             txt = qtn_mail_om_attachments; },                
       
   608         MENU_ITEM { command = EMsgMailEditorCmdSendingOptions; 
       
   609             txt = qtn_mail_om_sending_options; }
       
   610     };	
       
   611 }
       
   612 
       
   613 //------------------------------------------------------------------------------
       
   614 //    r_msgmaileditor_options_menu3
       
   615 //------------------------------------------------------------------------------
       
   616 //
       
   617 RESOURCE MENU_PANE r_msgmaileditor_options_menu3
       
   618 {
       
   619     items = 
       
   620     {
       
   621         MENU_ITEM { command = EMsgMailEditorCmdMessageInfo; 
       
   622             txt=qtn_msg_om_message_info; },
       
   623         MENU_ITEM   { command = EMsgMailEditorSubmenuZoomCommands;  
       
   624                         txt = qtn_options_text_size;
       
   625                         cascade = r_msgmaileditor_zoom_submenu;
       
   626                     },
       
   627 	    MENU_ITEM { command = EAknCmdHelp; txt=qtn_options_help; },                                   
       
   628 
       
   629         MENU_ITEM { command = EAknCmdExit; txt=qtn_options_exit; }
       
   630     };
       
   631 }
       
   632 
       
   633 //------------------------------------------------------------------------------
       
   634 //    r_msgmaileditor_insert_menu
       
   635 //------------------------------------------------------------------------------
       
   636 //
       
   637 RESOURCE MENU_PANE r_msgmaileditor_insert_menu
       
   638 {
       
   639     items=
       
   640     {
       
   641         MENU_ITEM { command = EMsgMailEditorCmdInsertImage; 
       
   642             txt = qtn_mail_sm_insert_image; },              // Image
       
   643         MENU_ITEM { command = EMsgMailEditorCmdInsertAudio; 
       
   644             txt = qtn_mail_sm_insert_audio; },              // Audio 
       
   645         MENU_ITEM { command = EMsgMailEditorCmdInsertVideo; 
       
   646             txt = qtn_mail_sm_insert_video; },              // Video
       
   647 	    MENU_ITEM { command = EMsgMailEditorCmdInsertNote; 
       
   648             txt = qtn_mail_sm_insert_note; },               // Note
       
   649         MENU_ITEM { command = EMsgMailEditorCmdInsertOther; 
       
   650             txt = qtn_mail_sm_insert_other; },               // Other
       
   651         MENU_ITEM { command = EMsgMailEditorCmdInsertTemplate; 
       
   652             txt = qtn_mail_sm_insert_template_text;
       
   653             flags = EEikMenuItemDimmed;  }   // Template text
       
   654     };
       
   655 }
       
   656 
       
   657 //------------------------------------------------------------------------------
       
   658 //    r_msgmaileditor_context_menubar
       
   659 //------------------------------------------------------------------------------
       
   660 //
       
   661 RESOURCE MENU_BAR r_msgmaileditor_context_menubar
       
   662 {
       
   663     titles=
       
   664     {
       
   665         MENU_TITLE { menu_pane = r_msgmaileditor_context_menupane; }
       
   666     };
       
   667 }
       
   668 
       
   669 //------------------------------------------------------------------------------
       
   670 //    r_msgmaileditor_context_menupane
       
   671 //------------------------------------------------------------------------------
       
   672 //
       
   673 RESOURCE MENU_PANE r_msgmaileditor_context_menupane
       
   674 {
       
   675     items=
       
   676     {
       
   677         MENU_ITEM { command=EMsgMailEditorCmdSend; txt = qtn_msg_om_send; },
       
   678         MENU_ITEM { command = EMsgMailEditorCmdInsertMenu;
       
   679             txt=qtn_mail_om_insert;
       
   680             flags = EEikMenuItemDimmed; },
       
   681         MENU_ITEM { command = EMsgMailEditorCmdInsertSubMenu;
       
   682             txt=qtn_mail_om_insert; 
       
   683             cascade=r_msgmaileditor_insert_menu;
       
   684             flags = EEikMenuItemDimmed; },
       
   685         MENU_ITEM { command=EMsgMailEditorCmdAddRecipient; 
       
   686             txt = qtn_msg_om_add_recipient; }
       
   687     };
       
   688 }
       
   689 
       
   690 //------------------------------------------------------------------------------   
       
   691 //    R_MAIL_EDITOR_TO
       
   692 //    'To' field in mail editor's scrollable form.
       
   693 //------------------------------------------------------------------------------
       
   694 //
       
   695 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_mail_editor_to
       
   696     {
       
   697     prompt = qtn_msg_to;       // To
       
   698     id = EMsgComponentIdTo;
       
   699     distance = 0;    
       
   700     default_case = EAknEditorLowerCase;
       
   701     allowed_case_modes = EAknEditorAllCaseModes;
       
   702     default_input_mode = EAknEditorTextInputMode;
       
   703     allowed_input_modes = EAknEditorTextInputMode | 
       
   704         EAknEditorNumericInputMode;
       
   705 	numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
   706     avkon_flags = EAknEditorFlagNoT9 | EAknEditorFlagUseSCTNumericCharmap;
       
   707     }
       
   708 
       
   709 //------------------------------------------------------------------------------     
       
   710 //    R_MAIL_EDITOR_CC
       
   711 //    'Cc' field in mail editor's scrollable form.
       
   712 //------------------------------------------------------------------------------ 
       
   713 //
       
   714 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_mail_editor_cc
       
   715     {
       
   716     prompt = qtn_msg_cc;       // Cc
       
   717     id = EMsgComponentIdCc;
       
   718     distance = 0;   
       
   719     default_case = EAknEditorLowerCase;
       
   720     allowed_case_modes = EAknEditorAllCaseModes;
       
   721     default_input_mode = EAknEditorTextInputMode;
       
   722     allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
   723     numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
   724 	avkon_flags = EAknEditorFlagNoT9 | EAknEditorFlagUseSCTNumericCharmap;
       
   725     }
       
   726 
       
   727 //------------------------------------------------------------------------------     
       
   728 //    R_MAIL_EDITOR_BCC
       
   729 //    'Bcc' field in mail editor's scrollable form.
       
   730 //------------------------------------------------------------------------------ 
       
   731 //
       
   732 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_mail_editor_bcc
       
   733     {
       
   734     prompt = qtn_msg_bcc;       // Bcc
       
   735     id = EMsgComponentIdBcc;
       
   736     distance = 0;   
       
   737     default_case = EAknEditorLowerCase;
       
   738     allowed_case_modes = EAknEditorAllCaseModes;
       
   739     default_input_mode = EAknEditorTextInputMode;
       
   740     allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
   741     numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
   742 	avkon_flags = EAknEditorFlagNoT9 | EAknEditorFlagUseSCTNumericCharmap;
       
   743     }
       
   744 
       
   745 //------------------------------------------------------------------------------     
       
   746 //    R_MAIL_EDITOR_REPLYTO
       
   747 //------------------------------------------------------------------------------ 
       
   748 //
       
   749 RESOURCE MSG_EDITOR_ADDRESS_CONTROL r_mail_editor_replyto
       
   750     {
       
   751     prompt = qtn_msg_replyto;  // Reply-to
       
   752     id = EMailEditorControlReplyTo;
       
   753     distance = 0;    
       
   754     }
       
   755 
       
   756 //------------------------------------------------------------------------------     
       
   757 //    R_MAIL_EDITOR_SUBJECT
       
   758 //    'Subject' field in mail editor's scrollable form.
       
   759 //------------------------------------------------------------------------------ 
       
   760 //
       
   761 RESOURCE MSG_EDITOR_EXPANDABLE_CONTROL r_mail_editor_subject
       
   762     {
       
   763     prompt = qtn_msg_subject;  // Subject
       
   764     id = EMsgComponentIdSubject;
       
   765     distance = 0;
       
   766     maxchars = 950;
       
   767     default_case = EAknEditorTextCase; 
       
   768     allowed_case_modes = EAknEditorAllCaseModes;
       
   769     default_input_mode = EAknEditorTextInputMode;
       
   770     allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
   771 	avkon_flags = EAknEditorFlagUseSCTNumericCharmap;
       
   772     } 
       
   773 
       
   774 //------------------------------------------------------------------------------     
       
   775 //    R_MAIL_EDITOR_SEND_OPTIONS
       
   776 //    Send Options setting dialog.
       
   777 //------------------------------------------------------------------------------ 
       
   778 //
       
   779 RESOURCE DIALOG r_mail_editor_send_options
       
   780     {
       
   781     flags = EEikDialogFlagWait | 
       
   782         EEikDialogFlagNotifyEsc | 
       
   783         EEikDialogFlagCbaButtons| 
       
   784         EEikDialogFlagNoDrag | 
       
   785         EEikDialogFlagNoTitleBar | 
       
   786         EEikDialogFlagNoShadow 
       
   787         | EEikDialogFlagNoBorder | EEikDialogFlagFillAppClientRect;
       
   788     buttons=r_maileditor_options_back_change;
       
   789     items=
       
   790         {
       
   791         DLG_LINE
       
   792             {
       
   793             id=EMsgMailSendingProfile;
       
   794             type=EAknCtSettingListBox;      
       
   795             itemflags=EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
   796             control=LISTBOX 
       
   797                 {
       
   798 
       
   799                 height   = 8;
       
   800                 
       
   801                 };
       
   802             }
       
   803         };
       
   804     }
       
   805 
       
   806 //------------------------------------------------------------------------------   
       
   807 //    r_send_options_menubar
       
   808 //    menubar for Send Options 
       
   809 //------------------------------------------------------------------------------
       
   810 //
       
   811 RESOURCE MENU_BAR r_send_options_menubar
       
   812     {
       
   813     titles=
       
   814         { 
       
   815         MENU_TITLE { menu_pane=r_send_options_menu; txt=""; }
       
   816         };
       
   817     }
       
   818  
       
   819 //-------------------------------------------------------------------------------   
       
   820 //    r_send_options_menu
       
   821 //    menu items for Send Options 
       
   822 //-------------------------------------------------------------------------------
       
   823 //
       
   824 RESOURCE MENU_PANE r_send_options_menu
       
   825     {
       
   826     items=
       
   827         {
       
   828         MENU_ITEM 
       
   829             { 
       
   830             command = EMsgMailSendOptionsChange; 
       
   831             txt=qtn_mail_om_change; 
       
   832             },
       
   833             
       
   834         MENU_ITEM { command = EAknCmdHelp; txt=qtn_options_help; },
       
   835 
       
   836         MENU_ITEM 
       
   837             { 
       
   838             command = EMsgMailEditorSendOptionsCmdExit; 
       
   839             txt=qtn_options_exit; 
       
   840             }
       
   841         };
       
   842     }
       
   843 
       
   844 //------------------------------------------------------------------------------   
       
   845 //    r_attachments_menu
       
   846 //    menu items for Attachments dialog 
       
   847 //------------------------------------------------------------------------------
       
   848 //
       
   849 RESOURCE MENU_PANE r_attachments_menu
       
   850     {
       
   851     items=
       
   852         {
       
   853             MENU_ITEM { command = EMsgViewAttachmentCmdOpen; 
       
   854                 txt=qtn_mail_om_open; },
       
   855             MENU_ITEM { command = EMsgMailEditorCmdInsertMenu;
       
   856                 txt=qtn_mail_om_insert;
       
   857                 flags = EEikMenuItemDimmed; },
       
   858             MENU_ITEM { command = EMsgMailEditorCmdInsertSubMenu;
       
   859                 txt=qtn_mail_om_insert; 
       
   860                 cascade=r_msgmaileditor_insert_menu;
       
   861                 flags = EEikMenuItemDimmed; },
       
   862             MENU_ITEM { command = EMsgViewAttachmentCmdRemove; 
       
   863                 txt=qtn_mail_om_remove; },
       
   864         	MENU_ITEM { command = EAknCmdHelp; txt=qtn_options_help; },
       
   865 
       
   866             MENU_ITEM { command = EMsgMailEditorAttachmentsCmdExit; 
       
   867                 txt=qtn_options_exit; }
       
   868         };
       
   869     }
       
   870 
       
   871 //------------------------------------------------------------------------------
       
   872 //   r_mail_editor_saved_draft_note_text.
       
   873 //------------------------------------------------------------------------------
       
   874 //
       
   875 RESOURCE TBUF r_mail_editor_saved_draft_note_text
       
   876     { buf = qtn_mail_info_msg_saved_drafts; }
       
   877 
       
   878 //------------------------------------------------------------------------------
       
   879 //   r_mail_editor_added_attach_text.
       
   880 //------------------------------------------------------------------------------
       
   881 //
       
   882 RESOURCE TBUF r_mail_editor_added_attach_text
       
   883     { buf = qtn_mail_conf_added_attach; }
       
   884 
       
   885 //------------------------------------------------------------------------------
       
   886 //    r_mail_settings_encode_false_note
       
   887 //------------------------------------------------------------------------------
       
   888 //
       
   889 RESOURCE TBUF r_mail_settings_encode_false_note
       
   890     { buf = qtn_mail_settings_encode_false_not; }
       
   891 
       
   892 //------------------------------------------------------------------------------
       
   893 //   r_mail_editor_delete_message.
       
   894 //------------------------------------------------------------------------------
       
   895 //
       
   896 RESOURCE DIALOG r_mail_editor_delete_message
       
   897     {
       
   898     flags=EGeneralQueryFlags;
       
   899     buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
   900     items=
       
   901         {
       
   902         DLG_LINE
       
   903             {
       
   904             type=EAknCtQuery;
       
   905             id=EGeneralQuery;
       
   906             control = AVKON_CONFIRMATION_QUERY 
       
   907                 { 
       
   908                     layout = EConfirmationLayout;
       
   909                     label = qtn_mail_quest_delete_msg;
       
   910                     animation = R_QGN_NOTE_QUERY_ANIM;
       
   911                 };
       
   912             }
       
   913         };
       
   914     }
       
   915 
       
   916 
       
   917 //------------------------------------------------------------------------------
       
   918 //   r_replyto_addr_edwin.
       
   919 //------------------------------------------------------------------------------
       
   920 //
       
   921 RESOURCE EDWIN r_replyto_addr_edwin 
       
   922     {
       
   923     flags = 
       
   924         EEikEdwinAutoSelection | 
       
   925         EEikEdwinNoLineOrParaBreaks;
       
   926     width = 9;
       
   927     lines = 5;
       
   928     maxlength = 100; // KStringLength
       
   929     default_case = EAknEditorLowerCase;
       
   930     allowed_case_modes = EAknEditorAllCaseModes;
       
   931     
       
   932     default_input_mode = EAknEditorTextInputMode;
       
   933     allowed_input_modes = 
       
   934         EAknEditorTextInputMode | 
       
   935         EAknEditorNumericInputMode;
       
   936     
       
   937     avkon_flags = 
       
   938         EAknEditorFlagNoT9 | 
       
   939         EAknEditorFlagLatinInputModesOnly |
       
   940         EAknEditorFlagUseSCTNumericCharmap;
       
   941     
       
   942     }
       
   943 
       
   944 //------------------------------------------------------------------------------
       
   945 //   r_mail_remote_listbox.
       
   946 //------------------------------------------------------------------------------
       
   947 //
       
   948 RESOURCE LISTBOX r_mail_remote_listbox 
       
   949     {
       
   950     flags = EAknListBoxMarkableList;
       
   951     }
       
   952 
       
   953 //------------------------------------------------------------------------------
       
   954 //   r_mail_remote_mbox_setting.
       
   955 //   Note: In addition to "mailbox in use" this same resource is used also 
       
   956 //   for other Sending option settings, label is changed dynamically.
       
   957 //------------------------------------------------------------------------------
       
   958 //
       
   959 RESOURCE AVKON_SETTING_PAGE r_mail_remote_mbox_setting
       
   960     { 
       
   961     label= qtn_mail_settings_rm_in_use;
       
   962     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   963     type =  EAknSetListBox;
       
   964     editor_resource_id= r_mail_remote_listbox;
       
   965     }
       
   966  
       
   967 //------------------------------------------------------------------------------
       
   968 //   r_mail_send_setting_page.
       
   969 //------------------------------------------------------------------------------
       
   970 //    
       
   971 RESOURCE AVKON_SETTING_PAGE r_mail_send_setting_page
       
   972     { 
       
   973     label= qtn_mail_settings_send_msg;
       
   974     softkey_resource = R_AVKON_SOFTKEYS_POPUP_SETTING_ITEM;
       
   975     type =  EAknSetListBox;
       
   976     editor_resource_id= r_mail_remote_listbox;
       
   977     }    
       
   978 
       
   979 //------------------------------------------------------------------------------
       
   980 //   r_mail_priority_setting.
       
   981 //------------------------------------------------------------------------------
       
   982 //    
       
   983 RESOURCE AVKON_SETTING_PAGE r_mail_priority_setting
       
   984     { 
       
   985     label= qtn_mail_settings_priority;
       
   986     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   987     type =  EAknSetListBox;
       
   988     editor_resource_id= r_mail_remote_listbox;
       
   989     }     
       
   990 
       
   991 //------------------------------------------------------------------------------
       
   992 //   r_mail_encode_setting.
       
   993 //------------------------------------------------------------------------------
       
   994 //
       
   995 RESOURCE AVKON_SETTING_PAGE r_mail_encode_setting
       
   996     { 
       
   997     label= qtn_mail_settings_encode;
       
   998     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   999     type =  EAknSetListBox;
       
  1000     editor_resource_id= r_mail_remote_listbox;
       
  1001     } 
       
  1002   
       
  1003 //------------------------------------------------------------------------------
       
  1004 //   r_mail_reply_to_setting.
       
  1005 //------------------------------------------------------------------------------
       
  1006 //    
       
  1007 RESOURCE AVKON_SETTING_PAGE r_mail_reply_to_setting
       
  1008     { 
       
  1009     label= qtn_mail_settings_replyto;
       
  1010     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
  1011     type =  EEikCtEdwin;
       
  1012     editor_resource_id= r_replyto_addr_edwin;
       
  1013     }     
       
  1014 
       
  1015 //------------------------------------------------------------------------------
       
  1016 
       
  1017 //   r_mail_remote_mbox_setting_empty_list.
       
  1018 //   Empty list. Note: In addition to "mailbox in use" this same resource is
       
  1019 //   used also for other Sending option settings, label is changed dynamically.
       
  1020 //------------------------------------------------------------------------------
       
  1021 //
       
  1022 RESOURCE AVKON_SETTING_PAGE r_mail_remote_mbox_setting_empty_list
       
  1023     { 
       
  1024     label= qtn_mail_settings_rm_in_use;
       
  1025     softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
       
  1026     type =  EAknSetListBox;
       
  1027     editor_resource_id= r_mail_remote_listbox;
       
  1028     }
       
  1029 
       
  1030 //------------------------------------------------------------------------------
       
  1031 //   r_mail_editor_mailbox_in_use_text.
       
  1032 //------------------------------------------------------------------------------
       
  1033 // 
       
  1034 RESOURCE TBUF r_mail_editor_mailbox_in_use_text 
       
  1035     { 
       
  1036     buf = qtn_mail_info_this_mailbox; 
       
  1037     }
       
  1038 
       
  1039 //------------------------------------------------------------------------------
       
  1040 //   r_text_no_rmbox.
       
  1041 //------------------------------------------------------------------------------
       
  1042 //
       
  1043 RESOURCE TBUF r_text_no_rmbox {buf = qtn_selec_set_pane_empty;}
       
  1044 
       
  1045 //------------------------------------------------------------------------------
       
  1046 //   r_text_shed_now.
       
  1047 //------------------------------------------------------------------------------
       
  1048 //
       
  1049 RESOURCE TBUF r_text_shed_now { 
       
  1050     buf = qtn_mail_setting_immediately;}
       
  1051 
       
  1052 //------------------------------------------------------------------------------
       
  1053 //   r_text_shed_next.
       
  1054 //------------------------------------------------------------------------------
       
  1055 //
       
  1056 RESOURCE TBUF r_text_shed_next {
       
  1057     buf = qtn_mail_setting_next_connect;}
       
  1058 
       
  1059 //-------------------------------------------------------------------------------   
       
  1060 //    R_MAIL_EDITOR_MESSAGE_DELETED
       
  1061 //    Note displayed after deleting message
       
  1062 //-------------------------------------------------------------------------------
       
  1063 //
       
  1064 RESOURCE TBUF r_mail_editor_message_deleted_text
       
  1065     { buf = qtn_mail_info_message_deleted; }
       
  1066 
       
  1067 //------------------------------------------------------------------------------
       
  1068 //   r_text_sending_mail.
       
  1069 //------------------------------------------------------------------------------
       
  1070 //
       
  1071 RESOURCE TBUF r_text_sending_mail {buf = qtn_mail_wait_start_send_msg; }
       
  1072 
       
  1073 //------------------------------------------------------------------------------
       
  1074 //   r_text_sending_mail_nextcon.
       
  1075 //------------------------------------------------------------------------------
       
  1076 //
       
  1077 RESOURCE TBUF r_text_sending_mail_nextcon 
       
  1078     {
       
  1079     buf = qtn_mail_wait_send_dur_nextcon; 
       
  1080     }
       
  1081 
       
  1082 //------------------------------------------------------------------------------
       
  1083 //   r_mail_editor_incorrect_address.
       
  1084 //------------------------------------------------------------------------------
       
  1085 //
       
  1086 RESOURCE TBUF r_mail_editor_incorrect_address 
       
  1087     {
       
  1088     buf = qtn_mail_info_incorrect_addr; 
       
  1089     }
       
  1090     
       
  1091 //------------------------------------------------------------------------------
       
  1092 //   qtn_mce_error_missing_character.
       
  1093 //------------------------------------------------------------------------------
       
  1094 //
       
  1095 RESOURCE TBUF r_qtn_mce_error_missing_character 
       
  1096     {
       
  1097     buf = qtn_mce_error_missing_character; 
       
  1098     }    
       
  1099     
       
  1100 //------------------------------------------------------------------------------
       
  1101 //   r_mail_editor_incorrect_address_no_alias.
       
  1102 //------------------------------------------------------------------------------
       
  1103 //
       
  1104 RESOURCE TBUF r_mail_editor_incorrect_address_no_alias 
       
  1105     { buf = qtn_mail_info_recipien_no_alias; }
       
  1106 
       
  1107 //------------------------------------------------------------------------------
       
  1108 //   r_wait_send_note.
       
  1109 //------------------------------------------------------------------------------
       
  1110 //
       
  1111 RESOURCE DIALOG r_wait_send_note
       
  1112     {
       
  1113     flags = EAknWaitNoteFlags;
       
  1114     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
  1115     items =
       
  1116         {
       
  1117         DLG_LINE
       
  1118             { 
       
  1119             type = EAknCtNote;
       
  1120             id = EGeneralNote;
       
  1121             control = AVKON_NOTE
       
  1122                 {
       
  1123                 layout = EWaitLayout;
       
  1124                 imagefile = AVKON_ICON_FILE;
       
  1125                 imageid = EMbmAvkonQgn_note_mail;
       
  1126                 imagemask = EMbmAvkonQgn_note_mail_mask;
       
  1127                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
  1128                 };
       
  1129             }
       
  1130         };
       
  1131     }
       
  1132 
       
  1133 //------------------------------------------------------------------------------
       
  1134 //   r_wait_save_new_note.
       
  1135 //------------------------------------------------------------------------------
       
  1136 //
       
  1137 RESOURCE TBUF r_wait_save_new_note { buf = qtn_wait_saving_message_new; }
       
  1138 
       
  1139 //------------------------------------------------------------------------------
       
  1140 //   r_wait_save_note.
       
  1141 //------------------------------------------------------------------------------
       
  1142 //
       
  1143 RESOURCE TBUF r_wait_save_note { buf = qtn_wait_saving_message; }
       
  1144   
       
  1145 //------------------------------------------------------------------------------
       
  1146 //   r_wait_opening.
       
  1147 //------------------------------------------------------------------------------
       
  1148 //
       
  1149 RESOURCE TBUF r_wait_opening { buf = qtn_mail_wait_opening_editor; }
       
  1150 
       
  1151 //------------------------------------------------------------------------------
       
  1152 //   r_wait_inserting_attachment.
       
  1153 //------------------------------------------------------------------------------
       
  1154 //
       
  1155 RESOURCE TBUF r_wait_inserting_attachment { buf = qtn_gen_note_inserting; }
       
  1156 
       
  1157 
       
  1158 RESOURCE AVKON_SETTING_ITEM_LIST r_service_settings_list
       
  1159     {
       
  1160     title = "";
       
  1161     initial_number = 0;
       
  1162     items = 
       
  1163     	{
       
  1164     	AVKON_SETTING_ITEM
       
  1165             {
       
  1166             identifier = ESettingMailboxInUse;
       
  1167             name = qtn_mail_settings_rm_in_use;
       
  1168             setting_page_resource = r_mail_remote_mbox_setting;
       
  1169             },
       
  1170 
       
  1171     	AVKON_SETTING_ITEM
       
  1172             {
       
  1173             identifier = ESettingPriority;
       
  1174             name = qtn_mail_settings_priority;
       
  1175             setting_page_resource = r_mail_priority_setting;
       
  1176             },
       
  1177             
       
  1178     	AVKON_SETTING_ITEM
       
  1179             {
       
  1180             identifier = ESettingSendMessage;
       
  1181             name = qtn_mail_settings_send_msg;
       
  1182             setting_page_resource = r_mail_send_setting_page;
       
  1183             },
       
  1184             
       
  1185     	AVKON_SETTING_ITEM
       
  1186             {
       
  1187             identifier = ESettingReplyTo;
       
  1188             name = qtn_mail_settings_replyto;
       
  1189             empty_item_text = qtn_mail_settings_replyto_none;
       
  1190             setting_page_resource = r_mail_reply_to_setting;
       
  1191             },     
       
  1192             
       
  1193     	AVKON_SETTING_ITEM
       
  1194             {
       
  1195             identifier = ESettingEncoding;
       
  1196             name = qtn_mail_settings_encode;
       
  1197             setting_page_resource = r_mail_encode_setting;
       
  1198             }                   
       
  1199     	};
       
  1200     }
       
  1201 
       
  1202 //------------------------------------------------------------------------------
       
  1203 //   r_mail_mailbox_missing.
       
  1204 //------------------------------------------------------------------------------
       
  1205 RESOURCE TBUF r_mail_mailbox_missing
       
  1206     {
       
  1207     buf = qtn_mail_info_cannot_send_rm_missing;
       
  1208     }
       
  1209 
       
  1210 //------------------------------------------------------------------------------
       
  1211 //   r_mail_remove_attachment.
       
  1212 //------------------------------------------------------------------------------
       
  1213 RESOURCE TBUF r_mail_remove_attachment
       
  1214     {
       
  1215     buf = qtn_query_common_conf_remove;
       
  1216     }
       
  1217 //------------------------------------------------------------------------------
       
  1218 //   r_mail_address_query.
       
  1219 //------------------------------------------------------------------------------
       
  1220 RESOURCE DIALOG r_mail_address_query
       
  1221     {
       
  1222     flags=EGeneralQueryFlags;
       
  1223     buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
  1224     items=
       
  1225         {
       
  1226         DLG_LINE
       
  1227             {
       
  1228             type=EAknCtQuery;
       
  1229             id=EGeneralQuery;
       
  1230             control= AVKON_DATA_QUERY 
       
  1231                 { 
       
  1232                     layout = EDataLayout;
       
  1233                     label = qtn_mail_prmpt_add_mail_address;
       
  1234                     control = EDWIN
       
  1235                         {
       
  1236                         maxlength=100;
       
  1237                         default_case = EAknEditorLowerCase;
       
  1238                         allowed_case_modes = EAknEditorAllCaseModes;
       
  1239                         default_input_mode = EAknEditorTextInputMode;
       
  1240                         allowed_input_modes = 
       
  1241                             EAknEditorTextInputMode | 
       
  1242                             EAknEditorNumericInputMode;
       
  1243                         avkon_flags = EAknEditorFlagNoT9;
       
  1244                         special_character_table = 
       
  1245                             R_AVKON_EMAIL_ADDR_SPECIAL_CHARACTER_TABLE_DIALOG;
       
  1246                         };
       
  1247                 };
       
  1248             }
       
  1249         };
       
  1250     }
       
  1251 //------------------------------------------------------------------------------
       
  1252 //   r_mail_invalid_attachment.
       
  1253 //------------------------------------------------------------------------------
       
  1254 RESOURCE TBUF r_mail_invalid_attachment
       
  1255     {
       
  1256     buf = qtn_mail_info_invalid_attach;
       
  1257     }
       
  1258 
       
  1259 RESOURCE TBUF r_mail_one_invalid_attachment
       
  1260     {
       
  1261     buf = qtn_mail_info_one_file_err;
       
  1262     }
       
  1263 
       
  1264 RESOURCE TBUF r_mail_few_invalid_attachments
       
  1265     {
       
  1266     buf = qtn_mail_info_few_files_err;
       
  1267     }
       
  1268 
       
  1269 RESOURCE TBUF r_mail_all_invalid_attachments
       
  1270     {
       
  1271     buf = qtn_mail_info_all_invalid;
       
  1272     }
       
  1273 
       
  1274 RESOURCE TBUF r_qtn_mail_close_nosave
       
  1275     {
       
  1276     buf = qtn_mail_close_nosave;
       
  1277     }
       
  1278 
       
  1279 // DRM strings
       
  1280 RESOURCE TBUF r_qtn_mail_send_wo_rights_sd_1
       
  1281     {
       
  1282     buf = qtn_drm_send_wo_rights_sd_1;
       
  1283     }
       
  1284 
       
  1285 RESOURCE TBUF r_qtn_mail_send_forbid
       
  1286     {
       
  1287     buf = qtn_drm_send_forbid;
       
  1288     }
       
  1289 RESOURCE TBUF r_qtn_mail_send_forbid_1
       
  1290     {
       
  1291     buf = qtn_drm_info_send_forbid_one;
       
  1292     }
       
  1293     
       
  1294 RESOURCE LISTBOX r_additional_headers_dlg_listbox 
       
  1295     {
       
  1296     flags = EEikListBoxMultipleSelection;
       
  1297     }
       
  1298 
       
  1299 RESOURCE TBUF r_qtn_msg_om_change_headers
       
  1300     {
       
  1301     buf = qtn_msg_om_change_headers;
       
  1302     }
       
  1303 
       
  1304 RESOURCE TBUF r_qtn_msg_qry_header_remove
       
  1305     {
       
  1306     buf = qtn_msg_qry_header_remove;
       
  1307     }
       
  1308 
       
  1309 RESOURCE TBUF r_qtn_msg_qry_headers_remove
       
  1310     {
       
  1311     buf = qtn_msg_qry_headers_remove;
       
  1312     }
       
  1313 
       
  1314 RESOURCE TBUF r_text_softkey_option
       
  1315     {
       
  1316     buf = text_softkey_option;
       
  1317     }
       
  1318 
       
  1319 RESOURCE TBUF r_qtn_msk_attachment
       
  1320     {
       
  1321     buf = qtn_msk_attachment;
       
  1322     }     
       
  1323 
       
  1324 //------------------------------------------------------------------------------
       
  1325 //   priority values.
       
  1326 //------------------------------------------------------------------------------
       
  1327 RESOURCE TBUF r_qtn_mail_setting_priority_high
       
  1328     {
       
  1329     buf = qtn_mail_setting_priority_high;
       
  1330     }
       
  1331 
       
  1332 RESOURCE TBUF r_qtn_mail_setting_priority_normal
       
  1333     {
       
  1334     buf = qtn_mail_setting_priority_normal;
       
  1335     }
       
  1336 
       
  1337 RESOURCE TBUF r_qtn_mail_setting_priority_low
       
  1338     {
       
  1339     buf = qtn_mail_setting_priority_low;
       
  1340     }  
       
  1341 
       
  1342 //------------------------------------------------------------------------------
       
  1343 //   r_qtn_mbxs_sett_defenc_automatic.
       
  1344 //------------------------------------------------------------------------------
       
  1345 RESOURCE TBUF r_qtn_mbxs_sett_defenc_automatic
       
  1346     {
       
  1347     buf = qtn_mbxs_sett_defenc_automatic;
       
  1348     }
       
  1349 
       
  1350 //------------------------------------------------------------------------------
       
  1351 //   r_mail_softkeys_ok_cancel.
       
  1352 //------------------------------------------------------------------------------
       
  1353 RESOURCE CBA r_mail_softkeys_ok_cancel
       
  1354     {
       
  1355     buttons =
       
  1356         {
       
  1357         // replace EAknSoftkeyOk with EAknSoftkeySelect to prevent list box 
       
  1358         // "force selection"
       
  1359         CBA_BUTTON {id=EAknSoftkeySelect; txt=text_softkey_ok;},
       
  1360         CBA_BUTTON {id=EAknSoftkeyCancel; txt= text_softkey_cancel;},
       
  1361         CBA_BUTTON {id=EAknSoftkeyMark; txt=text_softkey_mark;}
       
  1362         };
       
  1363     }
       
  1364         
       
  1365 //------------------------------------------------------------------------------
       
  1366 //   r_additional_headers_list_query.
       
  1367 //------------------------------------------------------------------------------
       
  1368 RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_additional_headers_list_query
       
  1369    {
       
  1370    softkeys = r_mail_softkeys_ok_cancel;
       
  1371 
       
  1372    items =
       
  1373 		{
       
  1374 		AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE
       
  1375 			{
       
  1376 			control = AVKON_LIST_QUERY_CONTROL
       
  1377 				{
       
  1378 				listtype = EAknCtSingleGraphicPopupMenuListBox;
       
  1379 				
       
  1380 				listbox = AVKON_MULTISELECTION_LIST_QUERY_LIST
       
  1381 					{
       
  1382 					flags = EAknListBoxStylusMultiselectionList;
       
  1383 					};
       
  1384 				heading = qtn_msg_prompt_headers;
       
  1385 				};
       
  1386 			}
       
  1387 		};
       
  1388 	}
       
  1389 
       
  1390 //------------------------------------------------------------------------------
       
  1391 //   r_qtn_msg_headers_cc.
       
  1392 //------------------------------------------------------------------------------	
       
  1393 RESOURCE TBUF r_qtn_msg_headers_cc
       
  1394     {
       
  1395     buf = "1\t"qtn_msg_headers_cc;
       
  1396     }
       
  1397 //------------------------------------------------------------------------------
       
  1398 //   r_qtn_msg_headers_bcc.
       
  1399 //------------------------------------------------------------------------------
       
  1400 RESOURCE TBUF r_qtn_msg_headers_bcc
       
  1401     {
       
  1402     buf = "1\t"qtn_msg_headers_bcc;
       
  1403     }
       
  1404 //------------------------------------------------------------------------------
       
  1405 //   r_qtn_msg_headers_subject.
       
  1406 //------------------------------------------------------------------------------
       
  1407 RESOURCE TBUF r_qtn_msg_headers_subject
       
  1408     {
       
  1409     buf = "1\t"qtn_msg_headers_subject;
       
  1410     }	
       
  1411 
       
  1412 //------------------------------------------------------------------------------
       
  1413 //   r_qtn_memlo_not_enough_memory.
       
  1414 //------------------------------------------------------------------------------
       
  1415 RESOURCE TBUF r_qtn_memlo_not_enough_memory
       
  1416     {
       
  1417     buf = qtn_memlo_not_enough_memory;
       
  1418     }	
       
  1419 
       
  1420 //----------------------------------------------------
       
  1421 //
       
  1422 //    r_mail_confirm_not_enough_memory
       
  1423 //
       
  1424 //----------------------------------------------------
       
  1425 //
       
  1426 RESOURCE DIALOG r_mail_confirm_not_enough_memory
       
  1427     {
       
  1428     flags = EGeneralQueryFlags;
       
  1429     buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
       
  1430     items=
       
  1431         {
       
  1432         DLG_LINE
       
  1433             {
       
  1434             type=EAknCtQuery;
       
  1435             id=EGeneralQuery;
       
  1436             control = AVKON_CONFIRMATION_QUERY
       
  1437                 {
       
  1438                 layout = EConfirmationQueryLayout;
       
  1439                 label = qtn_memlo_not_enough_memory;
       
  1440                 };
       
  1441             }
       
  1442         };
       
  1443     }
       
  1444 //----------------------------------------------------
       
  1445 //
       
  1446 //    r_msgmaileditor_zoom_submenu
       
  1447 //
       
  1448 //----------------------------------------------------
       
  1449 //
       
  1450 RESOURCE MENU_PANE r_msgmaileditor_zoom_submenu
       
  1451     {
       
  1452     items=
       
  1453         {
       
  1454         
       
  1455         MENU_ITEM   { command = EMsgDispSizeAutomatic; 
       
  1456                     txt = qtn_options_auto;
       
  1457                     flags = EEikMenuItemRadioStart;
       
  1458                     }
       
  1459         ,
       
  1460         MENU_ITEM   { command = EMsgDispSizeLarge; 
       
  1461                     txt = qtn_options_large;
       
  1462                     flags = EEikMenuItemRadioMiddle;
       
  1463                     }
       
  1464         ,
       
  1465         MENU_ITEM   { command = EMsgDispSizeNormal; 
       
  1466                     txt = qtn_options_normal;
       
  1467                     flags = EEikMenuItemRadioMiddle;
       
  1468                     }
       
  1469         ,
       
  1470         MENU_ITEM   { command = EMsgDispSizeSmall;
       
  1471                     txt = qtn_options_small;
       
  1472                     flags = EEikMenuItemRadioEnd;
       
  1473                     }
       
  1474         }; 
       
  1475     }
       
  1476 // End of File