|
1 /* |
|
2 * Copyright (c) 2002-2008 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: This file contains resources for the module. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <data_caging_paths_strings.hrh> |
|
20 #include <bldvariant.hrh> |
|
21 #include <avkon.loc> |
|
22 #include <eikon.rh> |
|
23 #include <avkon.rh> |
|
24 #include <CommonDialogs.rh> |
|
25 #include <avkon.rsg> |
|
26 #include <AvkonIcons.hrh> |
|
27 #include <aknsconstants.hrh> |
|
28 #include <calendar.loc> |
|
29 #include <calendar.mbg> |
|
30 #include <calencommands.hrh> |
|
31 |
|
32 #include "calendar.hrh" |
|
33 |
|
34 NAME CACU |
|
35 RESOURCE RSS_SIGNATURE { } |
|
36 |
|
37 // --------------------------------------------------------- |
|
38 // |
|
39 // r_calen_commonui_qtn_cale_no_subject |
|
40 // The empty text when the item subject is empty |
|
41 // |
|
42 // --------------------------------------------------------- |
|
43 // |
|
44 RESOURCE TBUF r_calen_commonui_qtn_cale_no_subject |
|
45 { |
|
46 buf = qtn_cale_no_subject; |
|
47 } |
|
48 |
|
49 //---------------------------------------------------- |
|
50 // |
|
51 // r_calen_commonui_erasequery_note |
|
52 // Delete confirmation query |
|
53 // |
|
54 //---------------------------------------------------- |
|
55 // |
|
56 RESOURCE DIALOG r_calen_commonui_erasequery_note |
|
57 { |
|
58 flags = EGeneralQueryFlags; |
|
59 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
60 items= |
|
61 { |
|
62 DLG_LINE |
|
63 { |
|
64 type = EAknCtQuery; |
|
65 id = EGeneralQuery; |
|
66 control = AVKON_CONFIRMATION_QUERY |
|
67 { |
|
68 layout = EConfirmationLayout; |
|
69 }; |
|
70 } |
|
71 }; |
|
72 } |
|
73 |
|
74 //---------------------------------------------------- |
|
75 // |
|
76 // r_calen_commonui_qtn_cale_quest_delete_all_notes |
|
77 // Delete all. |
|
78 // |
|
79 //---------------------------------------------------- |
|
80 // |
|
81 RESOURCE TBUF r_calen_commonui_qtn_cale_quest_delete_all_notes |
|
82 { |
|
83 buf = qtn_cale_quest_delete_all_notes; |
|
84 } |
|
85 |
|
86 // --------------------------------------------------------- |
|
87 // |
|
88 // r_calen_commonui_qtn_todo_quest_delete_note |
|
89 // Delete todo. |
|
90 // |
|
91 // --------------------------------------------------------- |
|
92 // |
|
93 RESOURCE TBUF64 r_calen_commonui_qtn_todo_quest_delete_note |
|
94 { |
|
95 buf = qtn_todo_quest_delete_note; |
|
96 } |
|
97 |
|
98 // --------------------------------------------------------- |
|
99 // |
|
100 // r_calen_commonui_qtn_todo_quest_delete_notes |
|
101 // Delete todos. |
|
102 // |
|
103 // --------------------------------------------------------- |
|
104 // |
|
105 RESOURCE TBUF64 r_calen_commonui_qtn_todo_quest_delete_notes |
|
106 { |
|
107 buf = qtn_todo_quest_delete_notes; |
|
108 } |
|
109 |
|
110 //---------------------------------------------------- |
|
111 // |
|
112 // r_calen_commonui_qtn_cale_quest_delete_event |
|
113 // Delete entry. |
|
114 // |
|
115 //---------------------------------------------------- |
|
116 // |
|
117 RESOURCE TBUF r_calen_commonui_qtn_cale_quest_delete_event |
|
118 { |
|
119 buf = qtn_cale_quest_delete_event; |
|
120 } |
|
121 |
|
122 // --------------------------------------------------------- |
|
123 // |
|
124 // r_calen_commonui_qtn_cale_lq_del_repeated_note |
|
125 // Repeatable note Erase prompt |
|
126 // |
|
127 // --------------------------------------------------------- |
|
128 // |
|
129 RESOURCE TBUF r_calen_commonui_qtn_cale_lq_del_repeated_note |
|
130 { |
|
131 buf = qtn_cale_lq_del_repeated_note; |
|
132 } |
|
133 |
|
134 // --------------------------------------------------------- |
|
135 // |
|
136 // r_calen_commonui_qtn_cale_lq_save_chang_repeated |
|
137 // Repeat Note Save prompt |
|
138 // |
|
139 // --------------------------------------------------------- |
|
140 // |
|
141 RESOURCE TBUF r_calen_commonui_qtn_cale_lq_save_chang_repeated |
|
142 { |
|
143 buf = qtn_cale_lq_save_chang_repeated; |
|
144 } |
|
145 |
|
146 // --------------------------------------------------------- |
|
147 // |
|
148 // r_calen_commonui_qtn_cale_lq_edit_recurring |
|
149 // Repeat Note Open prompt |
|
150 // |
|
151 // --------------------------------------------------------- |
|
152 // |
|
153 RESOURCE TBUF r_calen_commonui_qtn_cale_lq_edit_recurring |
|
154 { |
|
155 buf = qtn_cale_lq_edit_recurring; |
|
156 } |
|
157 |
|
158 // --------------------------------------------------------- |
|
159 // |
|
160 // r_calen_commonui_repeatnote_choicelist |
|
161 // Define choice list of saving or deleting repeat note. |
|
162 // |
|
163 // --------------------------------------------------------- |
|
164 // |
|
165 RESOURCE ARRAY r_calen_commonui_repeatnote_choicelist |
|
166 { |
|
167 items = |
|
168 { |
|
169 LBUF |
|
170 { |
|
171 txt = qtn_cale_lq_this_occurence; |
|
172 }, |
|
173 LBUF |
|
174 { |
|
175 txt = qtn_cale_lq_all_occurences; |
|
176 } |
|
177 }; |
|
178 } |
|
179 |
|
180 // --------------------------------------------------------- |
|
181 // |
|
182 // r_calen_commonui_repeatnote_edit_choicelist |
|
183 // Define choice list of editing repeating note. |
|
184 // |
|
185 // --------------------------------------------------------- |
|
186 // |
|
187 RESOURCE ARRAY r_calen_commonui_repeatnote_edit_choicelist |
|
188 { |
|
189 items = |
|
190 { |
|
191 LBUF |
|
192 { |
|
193 txt = qtn_cale_lq_edit_this; |
|
194 }, |
|
195 LBUF |
|
196 { |
|
197 txt = qtn_cale_lq_edit_series; |
|
198 } |
|
199 }; |
|
200 } |
|
201 |
|
202 // --------------------------------------------------------- |
|
203 // |
|
204 // r_calen_new_meeting_note |
|
205 // Define option to create a new meeting |
|
206 // |
|
207 // --------------------------------------------------------- |
|
208 // |
|
209 RESOURCE TBUF r_calen_new_meeting_note |
|
210 { |
|
211 buf = qtn_cale_meeting_note; |
|
212 } |
|
213 |
|
214 // --------------------------------------------------------- |
|
215 // |
|
216 // r_calen_new_meeting_request_note |
|
217 // Define option to create a new meeting request |
|
218 // |
|
219 // --------------------------------------------------------- |
|
220 // |
|
221 RESOURCE TBUF r_calen_new_meeting_request_note |
|
222 { |
|
223 buf = qtn_cale_meeting_request_note; |
|
224 } |
|
225 |
|
226 // --------------------------------------------------------- |
|
227 // |
|
228 // qtn_cale_day_note |
|
229 // Define option to create a new day note |
|
230 // |
|
231 // --------------------------------------------------------- |
|
232 // |
|
233 RESOURCE TBUF r_calen_day_note |
|
234 { |
|
235 buf = qtn_cale_day_note; |
|
236 } |
|
237 |
|
238 // --------------------------------------------------------- |
|
239 // |
|
240 // qtn_cale_note_anniversary |
|
241 // Define option to create a new day note |
|
242 // |
|
243 // --------------------------------------------------------- |
|
244 // |
|
245 RESOURCE TBUF r_calen_note_anniversary |
|
246 { |
|
247 buf = qtn_cale_note_anniversary; |
|
248 } |
|
249 |
|
250 // --------------------------------------------------------- |
|
251 // |
|
252 // qtn_cale_note_todo |
|
253 // Define option to create a new todo note |
|
254 // |
|
255 // --------------------------------------------------------- |
|
256 // |
|
257 RESOURCE TBUF r_calen_note_todo |
|
258 { |
|
259 buf = qtn_cale_note_todo; |
|
260 } |
|
261 |
|
262 // --------------------------------------------------------- |
|
263 // |
|
264 // qtn_cale_view_month |
|
265 // Define option to create switch to month view |
|
266 // |
|
267 // --------------------------------------------------------- |
|
268 // |
|
269 RESOURCE TBUF r_calen_view_month |
|
270 { |
|
271 buf = qtn_cale_opt_change_month; |
|
272 } |
|
273 |
|
274 // --------------------------------------------------------- |
|
275 // |
|
276 // qtn_cale_view_week |
|
277 // Define option to switch to week view |
|
278 // |
|
279 // --------------------------------------------------------- |
|
280 // |
|
281 RESOURCE TBUF r_calen_view_week |
|
282 { |
|
283 buf = qtn_cale_opt_change_week; |
|
284 } |
|
285 |
|
286 // --------------------------------------------------------- |
|
287 // |
|
288 // qtn_cale_view_day |
|
289 // Define option to switch to day view |
|
290 // |
|
291 // --------------------------------------------------------- |
|
292 // |
|
293 RESOURCE TBUF r_calen_view_day |
|
294 { |
|
295 buf = qtn_cale_opt_change_day; |
|
296 } |
|
297 // --------------------------------------------------------- |
|
298 // |
|
299 // qtn_cale_view_todo |
|
300 // Define option to switch to todo view |
|
301 // |
|
302 // --------------------------------------------------------- |
|
303 // |
|
304 RESOURCE TBUF r_calen_view_todo |
|
305 { |
|
306 buf = qtn_cale_opt_change_todo; |
|
307 } |
|
308 |
|
309 // --------------------------------------------------------- |
|
310 // |
|
311 // r_calendar_new_note_query_title |
|
312 // Define a title for query dialog to create a new note for |
|
313 // empty day & todo views |
|
314 // |
|
315 // --------------------------------------------------------- |
|
316 // |
|
317 RESOURCE TBUF r_calendar_new_note_query_title |
|
318 { |
|
319 buf = qtn_cale_opt_make_note; |
|
320 } |
|
321 |
|
322 // --------------------------------------------------------- |
|
323 // |
|
324 // qtn_cale_note_todo |
|
325 // Define a query dialog to create a new note for |
|
326 // empty day & todo views |
|
327 // --------------------------------------------------------- |
|
328 // |
|
329 |
|
330 RESOURCE DIALOG r_calendar_new_note_query |
|
331 { |
|
332 flags = EGeneralQueryFlags; |
|
333 buttons = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT; |
|
334 items = |
|
335 { |
|
336 DLG_LINE |
|
337 { |
|
338 type = EAknCtListQueryControl; |
|
339 id = EListQueryControl; |
|
340 control = AVKON_LIST_QUERY_CONTROL |
|
341 { |
|
342 heading = " "; // needed, otherwise heading is not created at all! |
|
343 listtype = EAknCtSinglePopupMenuListBox; |
|
344 listbox = LISTBOX |
|
345 { |
|
346 flags = EAknListBoxMenuList; |
|
347 height = 3; |
|
348 width = 3; |
|
349 }; |
|
350 }; |
|
351 } |
|
352 }; |
|
353 } |
|
354 |
|
355 // --------------------------------------------------------- |
|
356 // |
|
357 // r_calendar_switch_view_query_title |
|
358 // Define a title for query dialog to switch view for |
|
359 // views number > 7 |
|
360 // |
|
361 // --------------------------------------------------------- |
|
362 // |
|
363 RESOURCE TBUF r_calendar_switch_view_query_title |
|
364 { |
|
365 buf = qtn_cale_om_change; |
|
366 } |
|
367 |
|
368 // --------------------------------------------------------- |
|
369 // |
|
370 // qtn_cale_switch_view |
|
371 // Define a query dialog to switch view for |
|
372 // views number >7 |
|
373 // --------------------------------------------------------- |
|
374 // |
|
375 |
|
376 RESOURCE DIALOG r_calendar_switch_view_query |
|
377 { |
|
378 flags = EGeneralQueryFlags; |
|
379 buttons = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT; |
|
380 items = |
|
381 { |
|
382 DLG_LINE |
|
383 { |
|
384 type = EAknCtListQueryControl; |
|
385 id = EListQueryControl; |
|
386 control = AVKON_LIST_QUERY_CONTROL |
|
387 { |
|
388 heading = " "; // needed, otherwise heading is not created at all! |
|
389 listtype = EAknCtSinglePopupMenuListBox; |
|
390 listbox = LISTBOX |
|
391 { |
|
392 flags = EAknListBoxMenuList; |
|
393 height = 7; |
|
394 width = 2; |
|
395 }; |
|
396 }; |
|
397 } |
|
398 }; |
|
399 } |
|
400 // --------------------------------------------------------- |
|
401 // r_calen_toolbar_extension |
|
402 // Resource for calendar toolbar |
|
403 // --------------------------------------------------------- |
|
404 // |
|
405 RESOURCE AVKON_TOOLBAR r_calen_toolbar_extension |
|
406 { |
|
407 flags = KAknToolbarFixed; |
|
408 items = |
|
409 { |
|
410 TBAR_CTRL |
|
411 { |
|
412 type = EAknCtButton; |
|
413 id = ECalenNewMeeting; |
|
414 control = AVKON_BUTTON |
|
415 { |
|
416 flags = KAknButtonSizeFitText; |
|
417 states = |
|
418 { |
|
419 AVKON_BUTTON_STATE |
|
420 { |
|
421 helptxt = qtn_cale_tb_new_entry_tooltip; |
|
422 bmpfile = BITMAP_DIR"\\calendar.mif"; |
|
423 bmpid = EMbmCalendarQgn_indi_cale_tb_new_entry; |
|
424 bmpmask = EMbmCalendarQgn_indi_cale_tb_new_entry_mask; |
|
425 } |
|
426 }; |
|
427 }; |
|
428 }, |
|
429 TBAR_CTRL |
|
430 { |
|
431 type = EAknCtButton; |
|
432 id = ECalenGotoToday; |
|
433 control = AVKON_BUTTON |
|
434 { |
|
435 flags = KAknButtonSizeFitText; |
|
436 states = |
|
437 { |
|
438 AVKON_BUTTON_STATE |
|
439 { |
|
440 helptxt = qtn_cale_tb_today_tooltip; |
|
441 bmpfile = BITMAP_DIR"\\calendar.mif"; |
|
442 bmpid = EMbmCalendarQgn_indi_repeat_add; |
|
443 bmpmask = EMbmCalendarQgn_indi_repeat_add_mask; |
|
444 } |
|
445 }; |
|
446 }; |
|
447 }, |
|
448 TBAR_CTRL |
|
449 { |
|
450 type = EAknCtToolbarExtension; |
|
451 id = ECalenSwitchView; |
|
452 control = AVKON_TOOLBAR_EXTENSION |
|
453 { |
|
454 helptxt = qtn_cale_tb_change_view_tooltip; |
|
455 bmpFile = BITMAP_DIR"\\calendar.mif"; |
|
456 bmpId = EMbmCalendarQgn_indi_cale_tb_right; |
|
457 bmpMask = EMbmCalendarQgn_indi_cale_tb_right_mask ; |
|
458 items = |
|
459 { |
|
460 TBAR_CTRL |
|
461 { |
|
462 type = EAknCtButton; |
|
463 id = ECalenLastCommand; |
|
464 control = AVKON_BUTTON |
|
465 { |
|
466 flags = KAknButtonSizeFitText|KAknButtonTextLeft; |
|
467 states = |
|
468 { |
|
469 AVKON_BUTTON_STATE |
|
470 { |
|
471 helptxt = "dummy"; |
|
472 bmpfile = BITMAP_DIR"\\calendar.mif"; |
|
473 bmpid = EMbmCalendarQgn_indi_cale_tb_right; |
|
474 bmpmask = EMbmCalendarQgn_indi_cale_tb_right_mask; |
|
475 } |
|
476 }; |
|
477 }; |
|
478 } |
|
479 }; |
|
480 }; |
|
481 } |
|
482 }; |
|
483 } |
|
484 |
|
485 |
|
486 // --------------------------------------------------------- |
|
487 // r_calen_toolbar_extension_mirrored |
|
488 // Resource for calendar toolbar for mirrored languages |
|
489 // --------------------------------------------------------- |
|
490 // |
|
491 RESOURCE AVKON_TOOLBAR r_calen_toolbar_extension_mirrored |
|
492 { |
|
493 flags = KAknToolbarFixed; |
|
494 items = |
|
495 { |
|
496 TBAR_CTRL |
|
497 { |
|
498 type = EAknCtToolbarExtension; |
|
499 id = ECalenSwitchView; |
|
500 control = AVKON_TOOLBAR_EXTENSION |
|
501 { |
|
502 helptxt = qtn_cale_tb_change_view_tooltip; |
|
503 bmpFile = BITMAP_DIR"\\calendar.mif"; |
|
504 bmpId = EMbmCalendarQgn_indi_cale_tb_right; |
|
505 bmpMask = EMbmCalendarQgn_indi_cale_tb_right_mask ; |
|
506 items = |
|
507 { |
|
508 TBAR_CTRL |
|
509 { |
|
510 type = EAknCtButton; |
|
511 id = ECalenLastCommand; |
|
512 control = AVKON_BUTTON |
|
513 { |
|
514 flags = KAknButtonSizeFitText|KAknButtonTextLeft; |
|
515 states = |
|
516 { |
|
517 AVKON_BUTTON_STATE |
|
518 { |
|
519 helptxt = "dummy"; |
|
520 bmpfile = BITMAP_DIR"\\calendar.mif"; |
|
521 bmpid = EMbmCalendarQgn_indi_cale_tb_right; |
|
522 bmpmask = EMbmCalendarQgn_indi_cale_tb_right_mask; |
|
523 } |
|
524 }; |
|
525 }; |
|
526 } |
|
527 }; |
|
528 }; |
|
529 }, |
|
530 TBAR_CTRL |
|
531 { |
|
532 type = EAknCtButton; |
|
533 id = ECalenGotoToday; |
|
534 control = AVKON_BUTTON |
|
535 { |
|
536 flags = KAknButtonSizeFitText; |
|
537 states = |
|
538 { |
|
539 AVKON_BUTTON_STATE |
|
540 { |
|
541 helptxt = qtn_cale_tb_today_tooltip; |
|
542 bmpfile = BITMAP_DIR"\\calendar.mif"; |
|
543 bmpid = EMbmCalendarQgn_indi_repeat_add; |
|
544 bmpmask = EMbmCalendarQgn_indi_repeat_add_mask; |
|
545 } |
|
546 }; |
|
547 }; |
|
548 }, |
|
549 TBAR_CTRL |
|
550 { |
|
551 type = EAknCtButton; |
|
552 id = ECalenNewMeeting; |
|
553 control = AVKON_BUTTON |
|
554 { |
|
555 flags = KAknButtonSizeFitText; |
|
556 states = |
|
557 { |
|
558 AVKON_BUTTON_STATE |
|
559 { |
|
560 helptxt = qtn_cale_tb_new_entry_tooltip; |
|
561 bmpfile = BITMAP_DIR"\\calendar.mif"; |
|
562 bmpid = EMbmCalendarQgn_indi_cale_tb_new_entry; |
|
563 bmpmask = EMbmCalendarQgn_indi_cale_tb_new_entry_mask; |
|
564 } |
|
565 }; |
|
566 }; |
|
567 } |
|
568 }; |
|
569 } |
|
570 |
|
571 |
|
572 //---------------------------------------------------- |
|
573 // |
|
574 // r_calen_multipledb_dialog |
|
575 // Dialog resource for settings dialog. |
|
576 // |
|
577 //---------------------------------------------------- |
|
578 // |
|
579 RESOURCE DIALOG r_calen_multipledb_dialog |
|
580 { |
|
581 |
|
582 |
|
583 flags = EEikDialogFlagNoDrag |
|
584 | EEikDialogFlagFillAppClientRect |
|
585 | EEikDialogFlagCbaButtons |
|
586 | EEikDialogFlagWait |
|
587 //| EAknDialogSelectionList |
|
588 | EEikDialogFlagNotifyEsc; |
|
589 |
|
590 buttons = r_calen_multipledb_cba; |
|
591 |
|
592 } |
|
593 |
|
594 //---------------------------------------------------- |
|
595 // |
|
596 // r_calen_multipledb_cba |
|
597 // CBA resource for calendars dialog. |
|
598 // |
|
599 //---------------------------------------------------- |
|
600 // |
|
601 RESOURCE CBA r_calen_multipledb_cba |
|
602 { |
|
603 buttons = |
|
604 { |
|
605 CBA_BUTTON |
|
606 { |
|
607 id=EAknSoftkeyOptions; |
|
608 txt=text_softkey_option; |
|
609 }, |
|
610 CBA_BUTTON |
|
611 { |
|
612 id=EAknSoftkeyBack; |
|
613 txt=text_softkey_back; |
|
614 }, |
|
615 CBA_BUTTON |
|
616 { |
|
617 id=EAknSoftkeyChange; |
|
618 txt=qtn_cale_om_edit; |
|
619 } |
|
620 }; |
|
621 } |
|
622 |
|
623 //---------------------------------------------------- |
|
624 // |
|
625 // r_calen_multipledb_menubar |
|
626 // menubar resource for calendars dialog. |
|
627 // |
|
628 //---------------------------------------------------- |
|
629 // |
|
630 RESOURCE MENU_BAR r_calen_multipledb_menubar |
|
631 { |
|
632 titles = |
|
633 { |
|
634 MENU_TITLE |
|
635 { |
|
636 menu_pane = r_calen_multipledb_menupane; |
|
637 txt = ""; // dummy |
|
638 } |
|
639 }; |
|
640 } |
|
641 |
|
642 //---------------------------------------------------- |
|
643 // |
|
644 // r_calen_multipledb_menupane |
|
645 // menupane resource for calendars dialog. |
|
646 // |
|
647 //---------------------------------------------------- |
|
648 // |
|
649 RESOURCE MENU_PANE r_calen_multipledb_menupane |
|
650 { |
|
651 items = |
|
652 { |
|
653 MENU_ITEM |
|
654 { |
|
655 command = ECalenCmdItemDeselect; |
|
656 txt = qtn_cale_db_opt_hide_calendar; |
|
657 //Single click |
|
658 flags = EEikMenuItemSpecific; |
|
659 }, |
|
660 MENU_ITEM |
|
661 { |
|
662 command = ECalenCmdItemSelect; |
|
663 txt = qtn_cale_db_opt_show_calendar; |
|
664 //Single click |
|
665 flags = EEikMenuItemSpecific; |
|
666 }, |
|
667 MENU_ITEM |
|
668 { |
|
669 command = ECalenCmdEdit; |
|
670 txt = qtn_cale_db_opt_edit_calendar; |
|
671 //Single click |
|
672 flags = EEikMenuItemAction; |
|
673 }, |
|
674 MENU_ITEM |
|
675 { |
|
676 command = ECalenCmdAdd; |
|
677 txt = qtn_cale_db_opt_add_new_calendar; |
|
678 }, |
|
679 MENU_ITEM |
|
680 { |
|
681 command = ECalenCmdDelete; |
|
682 txt = qtn_cale_db_opt_delete_calendar; |
|
683 //Single click |
|
684 flags = EEikMenuItemSpecific; |
|
685 }, |
|
686 MENU_ITEM |
|
687 { |
|
688 command = EAknCmdHelp; |
|
689 txt = qtn_options_help; |
|
690 }, |
|
691 MENU_ITEM |
|
692 { |
|
693 command = EAknSoftkeyExit; |
|
694 txt = qtn_options_exit; |
|
695 } |
|
696 }; |
|
697 } |
|
698 |
|
699 |
|
700 // --------------------------------------------------------- |
|
701 // |
|
702 // r_cale_multipledb_delete |
|
703 // text for deleting single item |
|
704 // |
|
705 // --------------------------------------------------------- |
|
706 // |
|
707 RESOURCE TBUF r_cale_multipledb_delete_single |
|
708 { |
|
709 buf = "Cannot delete %U"; |
|
710 } |
|
711 |
|
712 |
|
713 // --------------------------------------------------------- |
|
714 // |
|
715 // r_cale_multipledb_delete |
|
716 // text for delete |
|
717 // |
|
718 // --------------------------------------------------------- |
|
719 // |
|
720 RESOURCE TBUF r_cale_multipledb_delete |
|
721 { |
|
722 buf = "Delete calendar %U and all entries in it?"; |
|
723 //qtn_cale_db_delete_calendar_conf_query; |
|
724 } |
|
725 |
|
726 // --------------------------------------------------------- |
|
727 // |
|
728 // r_cale_multipledb_delete |
|
729 // text for unselect message |
|
730 // |
|
731 // --------------------------------------------------------- |
|
732 // |
|
733 RESOURCE TBUF r_cale_multipledb_unselect |
|
734 { |
|
735 buf = "Cannot unselect %U"; |
|
736 } |
|
737 |
|
738 // --------------------------------------------------------- |
|
739 // |
|
740 // r_cale_multipledb_hidden |
|
741 // text for unselect message |
|
742 // |
|
743 // --------------------------------------------------------- |
|
744 // |
|
745 RESOURCE TBUF r_cale_multipledb_hidden |
|
746 { |
|
747 buf = qtn_cale_db_hidden; |
|
748 } |
|
749 |
|
750 // --------------------------------------------------------- |
|
751 // |
|
752 // r_cale_multipledb_visible |
|
753 // text for unselect message |
|
754 // |
|
755 // --------------------------------------------------------- |
|
756 // |
|
757 RESOURCE TBUF r_cale_multipledb_visible |
|
758 { |
|
759 buf = qtn_cale_db_shown; |
|
760 } |
|
761 |
|
762 // --------------------------------------------------------- |
|
763 // Attachment list query |
|
764 // List query for the attachemnt available file types |
|
765 // --------------------------------------------------------- |
|
766 RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_attachment_list_query |
|
767 { |
|
768 flags = EGeneralQueryFlags; |
|
769 softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT; |
|
770 items = |
|
771 { |
|
772 AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE |
|
773 { |
|
774 control = AVKON_LIST_QUERY_CONTROL |
|
775 { |
|
776 listtype = EAknCtSinglePopupMenuListBox; |
|
777 listbox = AVKON_LIST_QUERY_LIST |
|
778 { |
|
779 array_id = r_attachment_list_query_array; |
|
780 }; |
|
781 heading = "Select:"; |
|
782 }; |
|
783 } |
|
784 }; |
|
785 } |
|
786 |
|
787 // --------------------------------------------------------- |
|
788 // Attachment list query array |
|
789 // List of the attachment types |
|
790 // --------------------------------------------------------- |
|
791 RESOURCE ARRAY r_attachment_list_query_array |
|
792 { |
|
793 items= |
|
794 { |
|
795 LBUF { txt = qtn_msg_insert_qry_image; }, |
|
796 LBUF { txt = qtn_msg_insert_qry_note_as_attachment; }, |
|
797 LBUF { txt = qtn_msg_insert_qry_sound; }, |
|
798 LBUF { txt = qtn_msg_insert_qry_video; }, |
|
799 LBUF { txt = qtn_msg_insert_qry_other_files; } |
|
800 }; |
|
801 } |
|
802 |
|
803 // --------------------------------------------------------- |
|
804 // r_qtn_calen_no_name_for_file |
|
805 // text for no name for a file |
|
806 // --------------------------------------------------------- |
|
807 // |
|
808 RESOURCE TBUF r_qtn_calen_no_name_for_file |
|
809 { |
|
810 buf = qtn_calen_no_file_name; |
|
811 } |
|
812 |
|
813 RESOURCE TBUF r_calen_attachment_not_supported |
|
814 { |
|
815 buf = qtn_calen_file_not_supported; |
|
816 } |
|
817 |
|
818 // --------------------------------------------------------------------------- |
|
819 // |
|
820 // r_calen_attachment_dialog |
|
821 // Dialog resource for settings dialog. |
|
822 // |
|
823 // --------------------------------------------------------------------------- |
|
824 RESOURCE DIALOG r_calen_attachment_dialog |
|
825 { |
|
826 flags = |
|
827 EEikDialogFlagNoDrag |
|
828 | EEikDialogFlagFillAppClientRect |
|
829 | EEikDialogFlagNoTitleBar |
|
830 | EEikDialogFlagCbaButtons |
|
831 ; |
|
832 buttons = r_calen_attachment_cba; |
|
833 |
|
834 items = |
|
835 { |
|
836 DLG_LINE |
|
837 { |
|
838 type = ECalenAttachmentListBox; |
|
839 id = ECalenAttachmentListBoxId; |
|
840 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
841 control = LISTBOX |
|
842 { |
|
843 flags = 0; |
|
844 height = 3; |
|
845 }; |
|
846 } |
|
847 }; |
|
848 |
|
849 } |
|
850 |
|
851 |
|
852 //---------------------------------------------------- |
|
853 // |
|
854 // r_calen_attachment_cba |
|
855 // CBA resource for calendars dialog. |
|
856 // |
|
857 //---------------------------------------------------- |
|
858 // |
|
859 RESOURCE CBA r_calen_attachment_cba |
|
860 { |
|
861 buttons = |
|
862 { |
|
863 CBA_BUTTON |
|
864 { |
|
865 id=EAknSoftkeyOptions; |
|
866 txt=text_softkey_option; |
|
867 }, |
|
868 CBA_BUTTON |
|
869 { |
|
870 id=EAknSoftkeyBack; |
|
871 txt=text_softkey_back; |
|
872 }, |
|
873 CBA_BUTTON |
|
874 { |
|
875 id=EAknSoftkeyOpen; |
|
876 txt=qtn_msk_open; |
|
877 } |
|
878 }; |
|
879 } |
|
880 |
|
881 |
|
882 //---------------------------------------------------- |
|
883 // |
|
884 // r_calendar_attachment_menupane |
|
885 // menupane resource for calendars dialog. |
|
886 // |
|
887 //---------------------------------------------------- |
|
888 // |
|
889 RESOURCE MENU_PANE r_calendar_attachment_menupane |
|
890 { |
|
891 items = |
|
892 { |
|
893 MENU_ITEM |
|
894 { |
|
895 command = ECalenViewAttachmentCmdOpen; |
|
896 txt = qtn_cale_opt_open; |
|
897 //Single click |
|
898 flags = EEikMenuItemAction; |
|
899 }, |
|
900 MENU_ITEM |
|
901 { |
|
902 command = ECalenViewAttachmentCmdSave; |
|
903 txt = qtn_cale_opt_save_attachment; |
|
904 //Single click |
|
905 flags = EEikMenuItemSpecific; |
|
906 }, |
|
907 MENU_ITEM |
|
908 { |
|
909 command = ECalenViewAttachmentAdd; |
|
910 txt = qtn_calen_editor_opt_add_attachment; |
|
911 }, |
|
912 MENU_ITEM |
|
913 { |
|
914 command = ECalenViewAttachmentCmdRemove; |
|
915 txt = qtn_cale_opt_remove_attachment; |
|
916 //Single click |
|
917 flags = EEikMenuItemSpecific; |
|
918 }, |
|
919 MENU_ITEM |
|
920 { |
|
921 command = EAknCmdHelp; |
|
922 txt = qtn_options_help; |
|
923 }, |
|
924 MENU_ITEM |
|
925 { |
|
926 command = EAknCmdExit; |
|
927 txt = qtn_options_exit; |
|
928 } |
|
929 }; |
|
930 } |
|
931 |
|
932 // --------------------------------------------------------------------------- |
|
933 // Menu bar for attachments dialog. |
|
934 // --------------------------------------------------------------------------- |
|
935 RESOURCE MENU_BAR r_calendar_attachment_menubar |
|
936 { |
|
937 titles= |
|
938 { |
|
939 MENU_TITLE { menu_pane = r_calendar_attachment_menupane; txt = ""; } |
|
940 }; |
|
941 } |
|
942 |
|
943 // --------------------------------------------------------------------------- |
|
944 // Menu pane for attachments dialog. Has one dummy menu item |
|
945 // which is deleted when application specific menu items are added. |
|
946 // --------------------------------------------------------------------------- |
|
947 /*RESOURCE MENU_PANE r_calendar_attachment_menupane |
|
948 { |
|
949 items = |
|
950 { |
|
951 MENU_ITEM { command = 0; txt = ""; } |
|
952 }; |
|
953 }*/ |
|
954 |
|
955 |
|
956 // ----------------------------------------------------------------------------- |
|
957 // Title text for attachments dialog |
|
958 // ----------------------------------------------------------------------------- |
|
959 // |
|
960 RESOURCE TBUF r_viewer_title_attachments { buf = qtn_cale_attachments_title; } |
|
961 |
|
962 |
|
963 // ----------------------------------------------------------------------------- |
|
964 // r_viewer_wait_open_dialog_note |
|
965 // Shown when trying to forward messages and attachment loading is running. |
|
966 // ----------------------------------------------------------------------------- |
|
967 // |
|
968 RESOURCE DIALOG r_viewer_wait_open_dialog_note |
|
969 { |
|
970 flags = EAknWaitNoteFlags; |
|
971 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
972 items = |
|
973 { |
|
974 DLG_LINE |
|
975 { |
|
976 type = EAknCtNote; |
|
977 id = EGeneralNote; |
|
978 control = AVKON_NOTE |
|
979 { |
|
980 layout = EWaitLayout; |
|
981 singular_label = "Opening.."; |
|
982 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
983 }; |
|
984 } |
|
985 }; |
|
986 } |
|
987 |
|
988 // --------------------------------------------------------- |
|
989 // r_calen_memory_selection_dialog |
|
990 // --------------------------------------------------------- |
|
991 // |
|
992 RESOURCE MEMORYSELECTIONDIALOG r_calen_memory_selection_dialog |
|
993 { |
|
994 locations = |
|
995 { |
|
996 LOCATION { root_path = text_phone_memory_root_path; }, |
|
997 LOCATION { root_path = text_memory_card_root_path; } |
|
998 }; |
|
999 } |
|
1000 |
|
1001 |
|
1002 // ----------------------------------------------------------------------------- |
|
1003 // r_qtn_msk_fetch |
|
1004 // ----------------------------------------------------------------------------- |
|
1005 // |
|
1006 RESOURCE TBUF r_qtn_msk_fetch |
|
1007 { |
|
1008 buf = qtn_msk_open; |
|
1009 } |
|
1010 |
|
1011 RESOURCE TBUF r_qtn_calen_info_cannot_open { buf = qtn_cale_drm_protected_attachment; } |
|
1012 RESOURCE TBUF r_qtn_calen_info_already_attached { buf = r_qtn_calen_info_already_attached; } |
|
1013 |
|
1014 // --------------------------------------------------------- |
|
1015 // |
|
1016 // r_calendar_attachment_stylus_menu_tui |
|
1017 // Touch UI long tap day stylus popup menu |
|
1018 // |
|
1019 // --------------------------------------------------------- |
|
1020 // |
|
1021 RESOURCE STYLUS_POPUP_MENU r_calendar_attachment_stylus_menu_tui |
|
1022 { |
|
1023 items = |
|
1024 { |
|
1025 STYLUS_POPUP_MENU_ITEM |
|
1026 { |
|
1027 command = ECalenViewAttachmentCmdSave; |
|
1028 txt = qtn_cale_stylus_popup_save; |
|
1029 }, |
|
1030 STYLUS_POPUP_MENU_ITEM |
|
1031 { |
|
1032 command = ECalenViewAttachmentCmdRemove; |
|
1033 txt = qtn_cale_stylus_popup_remove_attachment; |
|
1034 } |
|
1035 }; |
|
1036 } |
|
1037 |
|
1038 |
|
1039 RESOURCE TBUF r_qtn_cale_tb_month_view |
|
1040 { |
|
1041 buf = qtn_cale_tb_month_view; |
|
1042 } |
|
1043 |
|
1044 RESOURCE TBUF r_qtn_cale_tb_week_view |
|
1045 { |
|
1046 buf = qtn_cale_tb_week_view; |
|
1047 } |
|
1048 |
|
1049 RESOURCE TBUF r_qtn_cale_tb_day_view |
|
1050 { |
|
1051 buf = qtn_cale_tb_day_view; |
|
1052 } |
|
1053 |
|
1054 RESOURCE TBUF r_qtn_cale_tb_todo_view |
|
1055 { |
|
1056 buf = qtn_cale_tb_todo_view; |
|
1057 } |
|
1058 |
|
1059 RESOURCE TBUF r_qtn_cale_tb_month_view_tooltip |
|
1060 { |
|
1061 buf = qtn_cale_tb_month_view_tooltip; |
|
1062 } |
|
1063 |
|
1064 RESOURCE TBUF r_qtn_cale_tb_week_view_tooltip |
|
1065 { |
|
1066 buf = qtn_cale_tb_week_view_tooltip; |
|
1067 } |
|
1068 |
|
1069 RESOURCE TBUF r_qtn_cale_tb_day_view_tooltip |
|
1070 { |
|
1071 buf = qtn_cale_tb_day_view_tooltip; |
|
1072 } |
|
1073 |
|
1074 RESOURCE TBUF r_qtn_cale_tb_todo_view_tooltip |
|
1075 { |
|
1076 buf = qtn_cale_tb_todo_view_tooltip; |
|
1077 } |
|
1078 |
|
1079 RESOURCE TBUF r_qtn_cale_tb_custom_view |
|
1080 { |
|
1081 buf = qtn_cale_opt_open; |
|
1082 } |
|
1083 // End of File |