|
1 /* |
|
2 * Copyright (c) 2002-2004 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: |
|
15 * This file contains all the resources for the module. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 // RESOURCE IDENTIFIER |
|
22 NAME MSET |
|
23 |
|
24 // INCLUDES |
|
25 #include <eikon.rh> |
|
26 #include <avkon.rsg> |
|
27 #include <avkon.hrh> |
|
28 #include <avkon.rsg> |
|
29 #include <avkon.rh> |
|
30 #include <mtud.rh> |
|
31 #include <MtmExtendedCapabilities.hrh> |
|
32 #include <avkon.loc> |
|
33 #include <muiusettingsarray.rh> |
|
34 |
|
35 #include "MmsSettings.hrh" |
|
36 #include <mmsui.loc> |
|
37 |
|
38 // CONSTANTS |
|
39 |
|
40 // MACROS |
|
41 |
|
42 // RESOURCE DEFINITIONS |
|
43 |
|
44 RESOURCE RSS_SIGNATURE { } |
|
45 |
|
46 RESOURCE TBUF { buf=""; } |
|
47 |
|
48 // Settings |
|
49 RESOURCE TBUF r_mms_settings_none { buf = qtn_mce_settings_mms_none; } |
|
50 RESOURCE TBUF r_mms_settings_compulsory { buf = qtn_selec_setting_compulsory; } |
|
51 |
|
52 // Always enabled setting, used by MsgErrorWatcher!!! |
|
53 RESOURCE TBUF r_mms_settings_enabled_always { buf = qtn_mms_stng_mms_rcpt_enab_alw; } |
|
54 |
|
55 // Settings dialog title |
|
56 RESOURCE TBUF r_mms_settings_title_text { buf = qtn_mce_title_settings_mms ; } |
|
57 |
|
58 // Settings dialog |
|
59 RESOURCE DIALOG r_mmsui_mmssettings |
|
60 { |
|
61 flags = EEikDialogFlagWait | EEikDialogFlagNotifyEsc | EEikDialogFlagCbaButtons |
|
62 | EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagNoShadow |
|
63 | EEikDialogFlagNoBorder | EEikDialogFlagFillAppClientRect; |
|
64 |
|
65 buttons = r_mmsui_softkeys_options_back__change; |
|
66 items = |
|
67 { |
|
68 DLG_LINE |
|
69 { |
|
70 type=EAknCtSettingListBox; |
|
71 itemflags=EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
72 id=EDlgSettingListBox; |
|
73 control=LISTBOX |
|
74 { |
|
75 flags = 0; |
|
76 height = 8; |
|
77 width = 256; |
|
78 }; |
|
79 } |
|
80 }; |
|
81 } |
|
82 |
|
83 |
|
84 RESOURCE CBA r_mmsui_softkeys_options_back__change |
|
85 { |
|
86 buttons = |
|
87 { |
|
88 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
89 CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; }, |
|
90 CBA_BUTTON {id=EChangeItem; txt = qtn_msk_change; } |
|
91 }; |
|
92 } |
|
93 |
|
94 |
|
95 RESOURCE MENU_BAR r_settingsdialog_menubar |
|
96 { |
|
97 titles = { MENU_TITLE { menu_pane=r_settingsdialog_menupane ; txt=""; } }; |
|
98 } |
|
99 |
|
100 RESOURCE MENU_PANE r_settingsdialog_menupane |
|
101 { |
|
102 items = |
|
103 { |
|
104 MENU_ITEM |
|
105 { |
|
106 command = EChangeItem; |
|
107 txt = qtn_mce_settings_change; |
|
108 flags = EEikMenuItemAction; |
|
109 }, |
|
110 |
|
111 MENU_ITEM |
|
112 { |
|
113 command = EAknCmdHelp; |
|
114 txt = qtn_options_help; |
|
115 |
|
116 }, |
|
117 |
|
118 MENU_ITEM |
|
119 { |
|
120 command = EExitItem; |
|
121 txt = qtn_mce_settings_exit; |
|
122 } |
|
123 }; |
|
124 } |
|
125 |
|
126 // Main settings dialog listbox items |
|
127 RESOURCE MUIU_SETTINGS_ARRAY r_mms_service_settings_list |
|
128 { |
|
129 items = |
|
130 { |
|
131 MUIU_SETTINGS_ITEM |
|
132 { |
|
133 title = qtn_mce_mms_image_size; |
|
134 type = EMuiuSettingsSelectionList; |
|
135 array_id = r_mms_image_size_list; |
|
136 }, |
|
137 MUIU_SETTINGS_ITEM |
|
138 { |
|
139 title = qtn_mms_stng_creation_modes; |
|
140 type = EMuiuSettingsSelectionList; |
|
141 array_id = r_mms_creation_mode_list; |
|
142 }, |
|
143 MUIU_SETTINGS_ITEM |
|
144 { |
|
145 title = qtn_mce_mms_pc; |
|
146 type = EMuiuSettingsEditableText; |
|
147 compulsory = EMuiuSettingsCompulsoryYes; |
|
148 }, |
|
149 MUIU_SETTINGS_ITEM |
|
150 { |
|
151 title = qtn_mms_reception_setting; |
|
152 type = EMuiuSettingsSelectionList; |
|
153 array_id = r_receiving_mms_list; |
|
154 }, |
|
155 MUIU_SETTINGS_ITEM |
|
156 { |
|
157 title = qtn_mce_mms_fetch_anonymous; |
|
158 type = EMuiuSettingsSelectionList; |
|
159 array_id = r_mms_yes_no_list; |
|
160 }, |
|
161 MUIU_SETTINGS_ITEM |
|
162 { |
|
163 title = qtn_mce_mms_receive_ad; |
|
164 type = EMuiuSettingsSelectionList; |
|
165 array_id = r_mms_yes_no_list; |
|
166 }, |
|
167 MUIU_SETTINGS_ITEM |
|
168 { |
|
169 title = qtn_mce_mms_reports; |
|
170 type = EMuiuSettingsSelectionList; |
|
171 array_id = r_mce_mms_reports; |
|
172 }, |
|
173 MUIU_SETTINGS_ITEM |
|
174 { |
|
175 title = qtn_mce_mms_deny_reports; |
|
176 type = EMuiuSettingsSelectionList; |
|
177 array_id = r_mms_yes_no_list; |
|
178 }, |
|
179 MUIU_SETTINGS_ITEM |
|
180 { |
|
181 title = qtn_mce_mms_validity_period; |
|
182 type = EMuiuSettingsSelectionList; |
|
183 array_id = r_mms_validity_period_list; |
|
184 } |
|
185 }; |
|
186 } |
|
187 |
|
188 RESOURCE AVKON_SETTING_PAGE r_mms_setting_page |
|
189 { |
|
190 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
191 menubar = R_AVKON_MENUPANE_EMPTY; |
|
192 type = EAknSetListBox; |
|
193 editor_resource_id = r_mms_settings_listbox_list; |
|
194 } |
|
195 |
|
196 RESOURCE LISTBOX r_mms_settings_listbox_list |
|
197 { |
|
198 flags = EEikListBoxMultipleSelection; |
|
199 height = 8; |
|
200 } |
|
201 |
|
202 RESOURCE ARRAY r_receiving_mms_list |
|
203 { |
|
204 items = |
|
205 { |
|
206 LBUF {txt=qtn_mms_recept_sett_auto_always; }, |
|
207 LBUF {txt=qtn_mms_recept_sett_auto_home; }, |
|
208 LBUF {txt=qtn_mms_recept_sett_manual_always; }, |
|
209 LBUF {txt=qtn_mms_stng_mms_rcpt_disenab; } |
|
210 }; |
|
211 } |
|
212 |
|
213 |
|
214 |
|
215 RESOURCE ARRAY r_mms_yes_no_list |
|
216 { |
|
217 items = |
|
218 { |
|
219 LBUF {txt=qtn_mce_settings_mms_yes; }, |
|
220 LBUF {txt=qtn_mce_settings_mms_no; } |
|
221 }; |
|
222 } |
|
223 |
|
224 |
|
225 RESOURCE ARRAY r_mms_validity_period_list |
|
226 { |
|
227 items= |
|
228 { |
|
229 LBUF {txt=qtn_mce_settings_mms_1; }, |
|
230 LBUF {txt=qtn_mce_settings_mms_6; }, |
|
231 LBUF {txt=qtn_mce_settings_mms_24; }, |
|
232 LBUF {txt=qtn_mce_settings_mms_3; }, |
|
233 LBUF {txt=qtn_mce_settings_mms_week; }, |
|
234 LBUF {txt=qtn_mce_settings_mms_maximum; } |
|
235 }; |
|
236 } |
|
237 |
|
238 RESOURCE ARRAY r_mms_image_size_list |
|
239 { |
|
240 items = |
|
241 { |
|
242 LBUF {txt=qtn_mce_settings_mms_small; }, |
|
243 LBUF {txt=qtn_mce_settings_mms_large; } |
|
244 }; |
|
245 } |
|
246 |
|
247 RESOURCE ARRAY r_mce_mms_reports |
|
248 { |
|
249 items = |
|
250 { |
|
251 LBUF {txt=qtn_mce_settings_mms_both_reprts; }, |
|
252 LBUF {txt=qtn_mce_settings_mms_deliv_only; }, |
|
253 LBUF {txt=qtn_mce_settings_mms_no; } |
|
254 }; |
|
255 } |
|
256 |
|
257 RESOURCE ARRAY r_mms_creation_mode_list |
|
258 { |
|
259 items = |
|
260 { |
|
261 LBUF {txt=qtn_mms_stng_restricted_mode; }, |
|
262 LBUF {txt=qtn_mms_stng_guided_mode; }, |
|
263 LBUF {txt=qtn_mms_stng_free_mode; } |
|
264 }; |
|
265 } |
|
266 |
|
267 |
|
268 RESOURCE ARRAY r_mms_mt_message_info_list |
|
269 { |
|
270 items = |
|
271 { |
|
272 LBUF {txt=qtn_msg_from; }, |
|
273 LBUF {txt=qtn_msg_subject; }, |
|
274 LBUF {txt=qtn_mms_date; }, |
|
275 LBUF {txt=qtn_mms_time; }, |
|
276 LBUF {txt=qtn_mms_type; }, |
|
277 LBUF {txt=qtn_mms_size; }, |
|
278 LBUF {txt=qtn_msg_to; } |
|
279 }; |
|
280 } |
|
281 |
|
282 RESOURCE ARRAY r_mms_mo_message_info_list |
|
283 { |
|
284 items = |
|
285 { |
|
286 LBUF {txt=qtn_msg_subject; }, |
|
287 LBUF {txt=qtn_mms_date; }, |
|
288 LBUF {txt=qtn_mms_time; }, |
|
289 LBUF {txt=qtn_mms_type; }, |
|
290 LBUF {txt=qtn_mms_size; }, |
|
291 LBUF {txt=qtn_msg_to; } |
|
292 }; |
|
293 } |
|
294 |
|
295 RESOURCE DIALOG r_mmsui_query_ap_error |
|
296 { |
|
297 flags = EGeneralQueryFlags; |
|
298 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
299 items = |
|
300 { |
|
301 DLG_LINE |
|
302 { |
|
303 type = EAknCtQuery; |
|
304 id = EGeneralQuery; |
|
305 control = AVKON_CONFIRMATION_QUERY |
|
306 { |
|
307 layout = EConfirmationQueryLayout; |
|
308 label = qtn_mce_conf_no_ap; |
|
309 }; |
|
310 } |
|
311 }; |
|
312 } |
|
313 |
|
314 RESOURCE DIALOG r_mmsui_query_always_enabled_confirmation |
|
315 { |
|
316 flags = EGeneralQueryFlags; |
|
317 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
318 items = |
|
319 { |
|
320 DLG_LINE |
|
321 { |
|
322 type = EAknCtQuery; |
|
323 id = EGeneralQuery; |
|
324 control = AVKON_CONFIRMATION_QUERY |
|
325 { |
|
326 layout = EConfirmationQueryLayout; |
|
327 label = qtn_mms_sttng_enabled_conf_q; |
|
328 }; |
|
329 } |
|
330 }; |
|
331 } |
|
332 |
|
333 RESOURCE DIALOG r_mmsui_query_exit_anyway |
|
334 { |
|
335 flags = EGeneralQueryFlags; |
|
336 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
337 items = |
|
338 { |
|
339 DLG_LINE |
|
340 { |
|
341 type = EAknCtQuery; |
|
342 id = EGeneralQuery; |
|
343 control = AVKON_CONFIRMATION_QUERY |
|
344 { |
|
345 layout = EConfirmationQueryLayout; |
|
346 label = qtn_mce_settings_mms_invalid; |
|
347 }; |
|
348 } |
|
349 }; |
|
350 } |
|
351 |
|
352 RESOURCE DIALOG r_mmsui_query_change_to_free |
|
353 { |
|
354 flags = EGeneralQueryFlags; |
|
355 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
356 items = |
|
357 { |
|
358 DLG_LINE |
|
359 { |
|
360 type = EAknCtQuery; |
|
361 id = EGeneralQuery; |
|
362 control = AVKON_CONFIRMATION_QUERY |
|
363 { |
|
364 layout = EConfirmationQueryLayout; |
|
365 label = qtn_mms_query_change_to_free; |
|
366 }; |
|
367 } |
|
368 }; |
|
369 } |
|
370 |
|
371 // Creation mode disabled info note |
|
372 RESOURCE TBUF r_mmsui_info_cannot_change_cmode { buf = qtn_mms_cannot_change_cmode ; } |
|
373 |
|
374 // Image size changed to small info note |
|
375 RESOURCE TBUF r_mmsui_info_image_size_changed { buf = qtn_mms_info_im_size_to_small ; } |
|
376 |
|
377 RESOURCE TBUF r_mms_settings_processing { buf = qtn_gen_note_processing; } |
|
378 |
|
379 // ---------------------------------------------------------------------------- |
|
380 // |
|
381 // saving_wait_note |
|
382 // The wait note when fetch mode is changed to automatic |
|
383 // and lots of notifications are being scheduled |
|
384 // |
|
385 // ---------------------------------------------------------------------------- |
|
386 RESOURCE DIALOG saving_wait_note |
|
387 { |
|
388 flags = EAknWaitNoteFlags; |
|
389 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
390 items= |
|
391 { |
|
392 DLG_LINE |
|
393 { |
|
394 type = EAknCtNote; |
|
395 id = 1; |
|
396 control= AVKON_NOTE |
|
397 { |
|
398 layout = EWaitLayout; |
|
399 animation =R_QGN_GRAF_WAIT_BAR_ANIM; |
|
400 }; |
|
401 } |
|
402 }; |
|
403 } |
|
404 |
|
405 |
|
406 // End of File |