diff -r a3a1ae9acec6 -r da5135c61bad meetingrequest/mrgui/data/mrguiattachmentresources.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/meetingrequest/mrgui/data/mrguiattachmentresources.rss Wed Mar 31 21:08:33 2010 +0300 @@ -0,0 +1,250 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Resource definitions for mrgui attachment ui resources +* +*/ + +#include +#include + +RESOURCE AVKON_LIST_QUERY r_attachment_type_query_dialog + { + flags = EGeneralQueryFlags; + softkeys = R_AVKON_SOFTKEYS_OK_CANCEL; + items = + { + AVKON_LIST_QUERY_DLG_LINE + { + control = AVKON_LIST_QUERY_CONTROL + { + listtype = EAknCtSinglePopupMenuListBox; + listbox = + AVKON_LIST_QUERY_LIST + { + }; + // TODO: loc string + heading = "Select Option"; + }; + } + }; + } + +RESOURCE DIALOG r_attachment_progress_note + { + flags = EAknProgressNoteFlags; + buttons = R_AVKON_SOFTKEYS_CANCEL; + items = + { + DLG_LINE + { + type = EAknCtNote; + id = EMrAttachmentProgressNoteId; + control = AVKON_NOTE + { + layout = EProgressLayout; + singular_label ="Progressing"; + }; + } + }; + } + +// --------------------------------------------------------- +// r_mr_attachment_memory_selection_dialog +// --------------------------------------------------------- +// +RESOURCE MEMORYSELECTIONDIALOG r_mr_attachment_memory_selection_dialog + { + locations = + { + LOCATION { root_path = text_phone_memory_root_path; }, + LOCATION { root_path = text_memory_card_root_path; } + }; + } + +// --------------------------------------------------------- +// r_mr_editor_attachment_menu +// Editor attachment field context menu pane +// --------------------------------------------------------- +// +RESOURCE MENU_PANE r_mr_editor_attachment_menu + { + items = + { + MENU_ITEM + { + command = EESMREditorAddAttachment; + txt = qtn_meet_req_add_attachment; + }, + MENU_ITEM + { + command = EESMREditorOpenAttachment; + txt = qtn_meet_req_open_attachment; + }, + MENU_ITEM + { + command = EESMREditorRemoveAttachment; + txt = qtn_meet_req_remove_attachment; + }, + MENU_ITEM + { + command = EESMREditorRemoveAllAttachments; + txt = qtn_meet_req_remove_all_attachments; + } + }; + } + +// --------------------------------------------------------- +// r_mr_editor_attachment_context_menu +// Editor attachment field context menu bar +// --------------------------------------------------------- +// +RESOURCE MENU_BAR r_mr_editor_attachment_context_menu + { + titles = + { + MENU_TITLE + { + menu_pane = r_mr_editor_attachment_menu; + } + }; + } + +// --------------------------------------------------------- +// r_mr_viewer_attachment_menu +// Viewer attachment field context menu pane +// --------------------------------------------------------- +// +RESOURCE MENU_PANE r_mr_viewer_attachment_menu + { + items = + { + MENU_ITEM + { + command = EESMRViewerOpenAttachment; + txt = qtn_meet_req_open_attachment; + }, + MENU_ITEM + { + command = EESMRViewerSaveAttachment; + txt = qtn_meet_req_save_attachment; + }, + MENU_ITEM + { + command = EESMRViewerSaveAllAttachments; + txt = qtn_meet_req_save_all_attachments; + }, + MENU_ITEM + { + command = EESMRViewerCancelAttachmentDownload; + txt = qtn_meet_req_cancel_attachment_download; + } + }; + } + +// --------------------------------------------------------- +// r_mr_viewer_attachment_context_menu +// Viewer attachment field context menu bar +// --------------------------------------------------------- +// +RESOURCE MENU_BAR r_mr_viewer_attachment_context_menu + { + titles = + { + MENU_TITLE + { + menu_pane = r_mr_viewer_attachment_menu; + } + }; + } + +/// Text buffers +RESOURCE TBUF r_qtn_meet_req_editor_header_attachments + { + buf = qtn_meet_req_editor_header_attachments; + } +RESOURCE TBUF r_meet_req_note_attachment_progress_megabyte + { + buf = qtn_meet_req_note_attachment_progress_megabyte; + } +RESOURCE TBUF r_meet_req_note_attachment_progress_kilobyte + { + buf = qtn_meet_req_note_attachment_progress_kilobyte; + } +RESOURCE TBUF r_meet_req_attachment_file_kilobyte + { + buf = qtn_meet_req_note_attachment_progress_kilobyte; // TODO: qtn_meet_req_attachment_file_kilobyte; + } +RESOURCE TBUF r_meet_req_attachment_file_megabyte + { + buf = qtn_meet_req_note_attachment_progress_megabyte; //TODO: qtn_meet_req_attachment_file_megabyte; + } +RESOURCE TBUF r_qtn_meet_req_info_already_attached + { + buf = qtn_meet_req_info_already_attached; + } +RESOURCE TBUF r_qtn_meet_req_query_heading_select_attachment_type + { + buf = qtn_meet_req_query_heading_select_attachment_type; + } +RESOURCE TBUF r_qtn_meet_req_attachment_type_image + { + buf = qtn_meet_req_attachment_type_image; + } +RESOURCE TBUF r_qtn_meet_req_attachment_type_video + { + buf = qtn_meet_req_attachment_type_video; + } +RESOURCE TBUF r_qtn_meet_req_attachment_type_soundclip + { + buf = qtn_meet_req_attachment_type_soundclip; + } +RESOURCE TBUF r_qtn_meet_req_attachment_type_note + { + buf = qtn_meet_req_attachment_type_note; + } +RESOURCE TBUF r_qtn_meet_req_attachment_type_other + { + buf = qtn_meet_req_attachment_type_other; + } + +/* + * Attachment downloading string + */ +RESOURCE TBUF r_qtn_meet_req_attachments_download_prefix + { + buf = "#%0N% %1U"; //TODO: qtn_meet_req_attachments_download_prefix; + } +RESOURCE TBUF r_meet_req_info_cannot_open_attachment + { + buf = qtn_meet_req_info_cannot_open_attachment; + } +RESOURCE TBUF r_qtn_meet_req_note_attachments_not_supported + { + buf = qtn_meet_req_note_attachments_not_supported; + } + +RESOURCE TBUF r_meet_req_attachment_file_less_than_kilobyte + { + buf = qtn_meet_req_attachment_file_less_than_kilobyte; + } + +RESOURCE TBUF r_meet_req_info_note_one_attachment_saved + { + buf = qtn_meet_req_info_note_one_attachment_saved; + } +RESOURCE TBUF r_meet_req_info_note_multiple_attachments_saved + { + buf = qtn_meet_req_info_note_multiple_attachments_saved; + } +