|
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 heading = "Select Option"; |
|
37 }; |
|
38 } |
|
39 }; |
|
40 } |
|
41 |
|
42 RESOURCE DIALOG r_attachment_progress_note |
|
43 { |
|
44 flags = EAknProgressNoteFlags; |
|
45 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
46 items = |
|
47 { |
|
48 DLG_LINE |
|
49 { |
|
50 type = EAknCtNote; |
|
51 id = EMrAttachmentProgressNoteId; |
|
52 control = AVKON_NOTE |
|
53 { |
|
54 layout = EProgressLayout; |
|
55 singular_label ="Progressing"; |
|
56 }; |
|
57 } |
|
58 }; |
|
59 } |
|
60 |
|
61 // --------------------------------------------------------- |
|
62 // r_mr_attachment_memory_selection_dialog |
|
63 // --------------------------------------------------------- |
|
64 // |
|
65 RESOURCE MEMORYSELECTIONDIALOG r_mr_attachment_memory_selection_dialog |
|
66 { |
|
67 locations = |
|
68 { |
|
69 LOCATION { root_path = text_phone_memory_root_path; }, |
|
70 LOCATION { root_path = text_memory_card_root_path; } |
|
71 }; |
|
72 } |
|
73 |
|
74 // --------------------------------------------------------- |
|
75 // r_mr_editor_attachment_menu |
|
76 // Editor attachment field context menu pane |
|
77 // --------------------------------------------------------- |
|
78 // |
|
79 RESOURCE MENU_PANE r_mr_editor_attachment_menu |
|
80 { |
|
81 items = |
|
82 { |
|
83 MENU_ITEM |
|
84 { |
|
85 command = EESMREditorAddAttachment; |
|
86 txt = qtn_meet_req_add_attachment; |
|
87 }, |
|
88 MENU_ITEM |
|
89 { |
|
90 command = EESMREditorOpenAttachment; |
|
91 txt = qtn_meet_req_open_attachment; |
|
92 }, |
|
93 MENU_ITEM |
|
94 { |
|
95 command = EESMREditorRemoveAttachment; |
|
96 txt = qtn_meet_req_remove_attachment; |
|
97 }, |
|
98 MENU_ITEM |
|
99 { |
|
100 command = EESMREditorRemoveAllAttachments; |
|
101 txt = qtn_meet_req_remove_all_attachments; |
|
102 } |
|
103 }; |
|
104 } |
|
105 |
|
106 // --------------------------------------------------------- |
|
107 // r_mr_editor_attachment_context_menu |
|
108 // Editor attachment field context menu bar |
|
109 // --------------------------------------------------------- |
|
110 // |
|
111 RESOURCE MENU_BAR r_mr_editor_attachment_context_menu |
|
112 { |
|
113 titles = |
|
114 { |
|
115 MENU_TITLE |
|
116 { |
|
117 menu_pane = r_mr_editor_attachment_menu; |
|
118 } |
|
119 }; |
|
120 } |
|
121 |
|
122 // --------------------------------------------------------- |
|
123 // r_mr_viewer_attachment_menu |
|
124 // Viewer attachment field context menu pane |
|
125 // --------------------------------------------------------- |
|
126 // |
|
127 RESOURCE MENU_PANE r_mr_viewer_attachment_menu |
|
128 { |
|
129 items = |
|
130 { |
|
131 MENU_ITEM |
|
132 { |
|
133 command = EESMRViewerOpenAttachment; |
|
134 txt = qtn_meet_req_open_attachment; |
|
135 }, |
|
136 MENU_ITEM |
|
137 { |
|
138 command = EESMRViewerSaveAttachment; |
|
139 txt = qtn_meet_req_save_attachment; |
|
140 }, |
|
141 MENU_ITEM |
|
142 { |
|
143 command = EESMRViewerSaveAllAttachments; |
|
144 txt = qtn_meet_req_save_all_attachments; |
|
145 }, |
|
146 MENU_ITEM |
|
147 { |
|
148 command = EESMRViewerCancelAttachmentDownload; |
|
149 txt = qtn_meet_req_cancel_attachment_download; |
|
150 } |
|
151 }; |
|
152 } |
|
153 |
|
154 // --------------------------------------------------------- |
|
155 // r_mr_viewer_attachment_context_menu |
|
156 // Viewer attachment field context menu bar |
|
157 // --------------------------------------------------------- |
|
158 // |
|
159 RESOURCE MENU_BAR r_mr_viewer_attachment_context_menu |
|
160 { |
|
161 titles = |
|
162 { |
|
163 MENU_TITLE |
|
164 { |
|
165 menu_pane = r_mr_viewer_attachment_menu; |
|
166 } |
|
167 }; |
|
168 } |
|
169 |
|
170 /// Text buffers |
|
171 RESOURCE TBUF r_qtn_meet_req_editor_header_attachments |
|
172 { |
|
173 buf = qtn_meet_req_editor_header_attachments; |
|
174 } |
|
175 RESOURCE TBUF r_meet_req_note_attachment_progress_megabyte |
|
176 { |
|
177 buf = qtn_meet_req_note_attachment_progress_megabyte; |
|
178 } |
|
179 RESOURCE TBUF r_meet_req_note_attachment_progress_kilobyte |
|
180 { |
|
181 buf = qtn_meet_req_note_attachment_progress_kilobyte; |
|
182 } |
|
183 RESOURCE TBUF r_meet_req_attachment_file_kilobyte |
|
184 { |
|
185 buf = qtn_meet_req_attachment_file_kilobyte; |
|
186 } |
|
187 RESOURCE TBUF r_meet_req_attachment_file_megabyte |
|
188 { |
|
189 buf = qtn_meet_req_attachment_file_megabyte; |
|
190 } |
|
191 RESOURCE TBUF r_qtn_meet_req_info_already_attached |
|
192 { |
|
193 buf = qtn_meet_req_info_already_attached; |
|
194 } |
|
195 RESOURCE TBUF r_qtn_meet_req_query_heading_select_attachment_type |
|
196 { |
|
197 buf = qtn_meet_req_query_heading_select_attachment_type; |
|
198 } |
|
199 RESOURCE TBUF r_qtn_meet_req_attachment_type_image |
|
200 { |
|
201 buf = qtn_meet_req_attachment_type_image; |
|
202 } |
|
203 RESOURCE TBUF r_qtn_meet_req_attachment_type_video |
|
204 { |
|
205 buf = qtn_meet_req_attachment_type_video; |
|
206 } |
|
207 RESOURCE TBUF r_qtn_meet_req_attachment_type_soundclip |
|
208 { |
|
209 buf = qtn_meet_req_attachment_type_soundclip; |
|
210 } |
|
211 RESOURCE TBUF r_qtn_meet_req_attachment_type_note |
|
212 { |
|
213 buf = qtn_meet_req_attachment_type_note; |
|
214 } |
|
215 RESOURCE TBUF r_qtn_meet_req_attachment_type_other |
|
216 { |
|
217 buf = qtn_meet_req_attachment_type_other; |
|
218 } |
|
219 |
|
220 /* |
|
221 * Attachment downloading string |
|
222 */ |
|
223 RESOURCE TBUF r_qtn_meet_req_attachments_download_prefix |
|
224 { |
|
225 buf = qtn_meet_req_attachments_download_prefix; |
|
226 } |
|
227 RESOURCE TBUF r_meet_req_info_cannot_open_attachment |
|
228 { |
|
229 buf = qtn_meet_req_info_cannot_open_attachment; |
|
230 } |
|
231 RESOURCE TBUF r_qtn_meet_req_note_attachments_not_supported |
|
232 { |
|
233 buf = qtn_meet_req_note_attachments_not_supported; |
|
234 } |
|
235 |
|
236 RESOURCE TBUF r_meet_req_attachment_file_less_than_kilobyte |
|
237 { |
|
238 buf = qtn_meet_req_attachment_file_less_than_kilobyte; |
|
239 } |
|
240 |
|
241 RESOURCE TBUF r_meet_req_info_note_one_attachment_saved |
|
242 { |
|
243 buf = qtn_meet_req_info_note_one_attachment_saved; |
|
244 } |
|
245 RESOURCE TBUF r_meet_req_info_note_multiple_attachments_saved |
|
246 { |
|
247 buf = qtn_meet_req_info_note_multiple_attachments_saved; |
|
248 } |
|
249 |