meetingrequest/mrgui/data/mrguiattachmentresources.rss
branchRCL_3
changeset 16 4ce476e64c59
child 24 b5fbb9b25d57
equal deleted inserted replaced
13:0396474f30f5 16:4ce476e64c59
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "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 mrgui attachment ui resources
       
    15 *
       
    16 */
       
    17 
       
    18 #include <avkon.loc>
       
    19 #include <commondialogs.rh>
       
    20 
       
    21 RESOURCE AVKON_LIST_QUERY r_attachment_type_query_dialog
       
    22 	{
       
    23 	flags = EGeneralQueryFlags;
       
    24 	softkeys = R_AVKON_SOFTKEYS_OK_CANCEL;
       
    25 	items =
       
    26 		{
       
    27 		AVKON_LIST_QUERY_DLG_LINE
       
    28 			{
       
    29 			control = AVKON_LIST_QUERY_CONTROL
       
    30 				{
       
    31 					listtype = EAknCtSinglePopupMenuListBox;
       
    32 					listbox =
       
    33 						AVKON_LIST_QUERY_LIST
       
    34 							{
       
    35 							};
       
    36 					// TODO: loc string
       
    37 					heading = "Select Option";
       
    38 				};
       
    39 			}
       
    40 		};
       
    41 	}
       
    42 
       
    43 RESOURCE DIALOG r_attachment_progress_note
       
    44     {
       
    45     flags = EAknProgressNoteFlags;
       
    46     buttons = R_AVKON_SOFTKEYS_CANCEL;
       
    47     items =
       
    48         {
       
    49         DLG_LINE
       
    50             {
       
    51             type = EAknCtNote;
       
    52             id = EMrAttachmentProgressNoteId;
       
    53             control = AVKON_NOTE
       
    54                 {
       
    55                 layout = EProgressLayout;
       
    56                 singular_label ="Progressing";
       
    57                 };
       
    58             }
       
    59         };
       
    60     }
       
    61 
       
    62 // ---------------------------------------------------------
       
    63 // r_mr_attachment_memory_selection_dialog
       
    64 // ---------------------------------------------------------
       
    65 //
       
    66 RESOURCE MEMORYSELECTIONDIALOG r_mr_attachment_memory_selection_dialog
       
    67     {
       
    68     locations =
       
    69         {
       
    70         LOCATION { root_path = text_phone_memory_root_path; },
       
    71         LOCATION { root_path = text_memory_card_root_path; }
       
    72         };
       
    73     }
       
    74 
       
    75 // ---------------------------------------------------------
       
    76 // r_mr_editor_attachment_menu
       
    77 // Editor attachment field context menu pane
       
    78 // ---------------------------------------------------------
       
    79 //
       
    80 RESOURCE MENU_PANE r_mr_editor_attachment_menu
       
    81     {
       
    82     items =
       
    83         {
       
    84         MENU_ITEM
       
    85             {
       
    86             command = EESMREditorAddAttachment;
       
    87             txt = qtn_meet_req_add_attachment;
       
    88             },
       
    89         MENU_ITEM
       
    90             {
       
    91             command = EESMREditorOpenAttachment;
       
    92             txt = qtn_meet_req_open_attachment;
       
    93             },
       
    94         MENU_ITEM
       
    95             {
       
    96             command = EESMREditorRemoveAttachment;
       
    97             txt = qtn_meet_req_remove_attachment;
       
    98             },
       
    99         MENU_ITEM
       
   100             {
       
   101             command = EESMREditorRemoveAllAttachments;
       
   102             txt = qtn_meet_req_remove_all_attachments;
       
   103             }
       
   104         };
       
   105     }
       
   106 
       
   107 // ---------------------------------------------------------
       
   108 // r_mr_editor_attachment_context_menu
       
   109 // Editor attachment field context menu bar
       
   110 // ---------------------------------------------------------
       
   111 //
       
   112 RESOURCE MENU_BAR r_mr_editor_attachment_context_menu
       
   113     {
       
   114     titles =
       
   115         {
       
   116         MENU_TITLE
       
   117             {
       
   118             menu_pane = r_mr_editor_attachment_menu;
       
   119             }
       
   120         };
       
   121     }
       
   122 
       
   123 // ---------------------------------------------------------
       
   124 // r_mr_viewer_attachment_menu
       
   125 // Viewer attachment field context menu pane
       
   126 // ---------------------------------------------------------
       
   127 //
       
   128 RESOURCE MENU_PANE r_mr_viewer_attachment_menu
       
   129     {
       
   130     items =
       
   131         {
       
   132         MENU_ITEM
       
   133             {
       
   134             command = EESMRViewerOpenAttachment;
       
   135             txt = qtn_meet_req_open_attachment;
       
   136             },
       
   137         MENU_ITEM
       
   138             {
       
   139             command = EESMRViewerSaveAttachment;
       
   140             txt = qtn_meet_req_save_attachment;
       
   141             },
       
   142         MENU_ITEM
       
   143             {
       
   144             command = EESMRViewerSaveAllAttachments;
       
   145             txt = qtn_meet_req_save_all_attachments;
       
   146             },
       
   147         MENU_ITEM
       
   148             {
       
   149             command = EESMRViewerCancelAttachmentDownload;
       
   150             txt = qtn_meet_req_cancel_attachment_download;
       
   151             }
       
   152         };
       
   153     }
       
   154 
       
   155 // ---------------------------------------------------------
       
   156 // r_mr_viewer_attachment_context_menu
       
   157 // Viewer attachment field context menu bar
       
   158 // ---------------------------------------------------------
       
   159 //
       
   160 RESOURCE MENU_BAR r_mr_viewer_attachment_context_menu
       
   161     {
       
   162     titles =
       
   163         {
       
   164         MENU_TITLE
       
   165             {
       
   166             menu_pane = r_mr_viewer_attachment_menu;
       
   167             }
       
   168         };
       
   169     }
       
   170 
       
   171 /// Text buffers
       
   172 RESOURCE TBUF r_qtn_meet_req_editor_header_attachments
       
   173     {
       
   174     buf = qtn_meet_req_editor_header_attachments;
       
   175     }
       
   176 RESOURCE TBUF r_meet_req_note_attachment_progress_megabyte
       
   177     {
       
   178     buf = qtn_meet_req_note_attachment_progress_megabyte;
       
   179     }
       
   180 RESOURCE TBUF r_meet_req_note_attachment_progress_kilobyte
       
   181     {
       
   182     buf = qtn_meet_req_note_attachment_progress_kilobyte;
       
   183     }
       
   184 RESOURCE TBUF r_meet_req_attachment_file_kilobyte
       
   185     {
       
   186     buf = qtn_meet_req_note_attachment_progress_kilobyte; // TODO: qtn_meet_req_attachment_file_kilobyte;
       
   187     }
       
   188 RESOURCE TBUF r_meet_req_attachment_file_megabyte
       
   189     {
       
   190     buf = qtn_meet_req_note_attachment_progress_megabyte; //TODO: qtn_meet_req_attachment_file_megabyte;
       
   191     }
       
   192 RESOURCE TBUF r_qtn_meet_req_info_already_attached
       
   193     {
       
   194     buf = qtn_meet_req_info_already_attached;
       
   195     }
       
   196 RESOURCE TBUF r_qtn_meet_req_query_heading_select_attachment_type
       
   197     {
       
   198     buf = qtn_meet_req_query_heading_select_attachment_type;
       
   199     }
       
   200 RESOURCE TBUF r_qtn_meet_req_attachment_type_image
       
   201     {
       
   202     buf = qtn_meet_req_attachment_type_image;
       
   203     }
       
   204 RESOURCE TBUF r_qtn_meet_req_attachment_type_video
       
   205     {
       
   206     buf = qtn_meet_req_attachment_type_video;
       
   207     }
       
   208 RESOURCE TBUF r_qtn_meet_req_attachment_type_soundclip
       
   209     {
       
   210     buf = qtn_meet_req_attachment_type_soundclip;
       
   211     }
       
   212 RESOURCE TBUF r_qtn_meet_req_attachment_type_note
       
   213     {
       
   214     buf = qtn_meet_req_attachment_type_note;
       
   215     }
       
   216 RESOURCE TBUF r_qtn_meet_req_attachment_type_other
       
   217     {
       
   218     buf = qtn_meet_req_attachment_type_other;
       
   219     }
       
   220 
       
   221 /*
       
   222  * Attachment downloading string
       
   223  */
       
   224 RESOURCE TBUF r_qtn_meet_req_attachments_download_prefix
       
   225     {
       
   226     buf = "#%0N% %1U"; //TODO: qtn_meet_req_attachments_download_prefix;
       
   227     }
       
   228 RESOURCE TBUF r_meet_req_info_cannot_open_attachment
       
   229     {
       
   230     buf = qtn_meet_req_info_cannot_open_attachment;
       
   231     }
       
   232 RESOURCE TBUF r_qtn_meet_req_note_attachments_not_supported
       
   233     {
       
   234     buf = qtn_meet_req_note_attachments_not_supported;
       
   235     }
       
   236 
       
   237 RESOURCE TBUF r_meet_req_attachment_file_less_than_kilobyte
       
   238     {
       
   239     buf = qtn_meet_req_attachment_file_less_than_kilobyte;
       
   240     }
       
   241 
       
   242 RESOURCE TBUF r_meet_req_info_note_one_attachment_saved
       
   243     {
       
   244     buf = qtn_meet_req_info_note_one_attachment_saved;
       
   245     }
       
   246 RESOURCE TBUF r_meet_req_info_note_multiple_attachments_saved
       
   247     {
       
   248     buf = qtn_meet_req_info_note_multiple_attachments_saved;
       
   249     }
       
   250