calendarui/editors/data/CalenDefaultEditorsData.rss
branchRCL_3
changeset 30 bd7edf625bdd
child 31 97232defd20e
equal deleted inserted replaced
29:12af337248b1 30:bd7edf625bdd
       
     1 /*
       
     2 * Copyright (c) 2002 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 form resources for the module.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  RESOURCE IDENTIFIER
       
    20 NAME    CALE
       
    21 
       
    22 //  INCLUDES
       
    23 #include <calendar.loc>
       
    24 #include <eikon.rh>
       
    25 #include <eikon.rsg>
       
    26 #include <avkon.hrh>
       
    27 #include <avkon.rh>
       
    28 #include <avkon.rsg>
       
    29 #include <avkon.mbg>
       
    30 #include <avkon.loc>
       
    31 #include <calencommands.hrh>            // Calendar commands
       
    32 
       
    33 #include "CalenDefaultEditors.hrh"
       
    34 #include "CalendarVariant.hrh"
       
    35 #include "calendar.hrh"
       
    36 
       
    37 RESOURCE RSS_SIGNATURE { }
       
    38 
       
    39 
       
    40 //  RESOURCE DEFINITIONS
       
    41 
       
    42 
       
    43 // ---------------------------------------------------------
       
    44 //
       
    45 //    r_calen_alarm_popup_items
       
    46 //    Define items of "Alarm" popup list.
       
    47 //
       
    48 // ---------------------------------------------------------
       
    49 //
       
    50 RESOURCE ARRAY r_calen_alarm_popup_items
       
    51     {
       
    52     items=
       
    53         {
       
    54         LBUF
       
    55             {
       
    56             txt = qtn_cale_alarm_off;
       
    57             },
       
    58         LBUF
       
    59             {
       
    60             txt = qtn_cale_alarm_active;
       
    61             }
       
    62         };
       
    63     }
       
    64 
       
    65 // ---------------------------------------------------------
       
    66 //
       
    67 //    r_calen_confident_popup_items
       
    68 //    Define items of "Confidentiality:" popup list.
       
    69 //
       
    70 // ---------------------------------------------------------
       
    71 //
       
    72 RESOURCE ARRAY r_calen_confident_popup_items
       
    73     {
       
    74     items=
       
    75         {
       
    76         LBUF
       
    77             {
       
    78             txt = qtn_cale_confident_private;
       
    79             },
       
    80         LBUF
       
    81             {
       
    82             txt = qtn_cale_confident_public;
       
    83             },
       
    84         LBUF
       
    85             {
       
    86             txt = qtn_cale_confident_none;
       
    87             }
       
    88         };
       
    89     }
       
    90 
       
    91 // ---------------------------------------------------------
       
    92 //
       
    93 //    r_calen_repeat_popup_items
       
    94 //    Define items of "Repeat:" popup list.
       
    95 //
       
    96 // ---------------------------------------------------------
       
    97 //
       
    98 RESOURCE ARRAY r_calen_repeat_popup_items
       
    99     {
       
   100     items=
       
   101         {
       
   102         LBUF
       
   103             {
       
   104             txt = qtn_cale_not_repeated;
       
   105             },
       
   106         LBUF
       
   107             {
       
   108             txt = text_calendar_every_day;
       
   109             },
       
   110         LBUF
       
   111             {
       
   112             txt = text_calendar_every_week;
       
   113             },
       
   114         LBUF
       
   115             {
       
   116             txt = text_calendar_bi_weekly;
       
   117             },
       
   118         LBUF
       
   119             {
       
   120             txt = qtn_cale_repeat_monthly;
       
   121             },
       
   122         LBUF
       
   123             {
       
   124             txt = text_calendar_every_year;
       
   125             },
       
   126         LBUF
       
   127             {
       
   128             txt = qtn_cale_other;
       
   129             }
       
   130         };
       
   131     }
       
   132 
       
   133 // ---------------------------------------------------------
       
   134 //
       
   135 //    r_calen_noteview_menubar
       
   136 //    Menubar for NoteView
       
   137 //    The upper menu title is defined in , the lower display position is.
       
   138 //
       
   139 // ---------------------------------------------------------
       
   140 //
       
   141 RESOURCE MENU_BAR r_calen_noteview_menubar
       
   142     {
       
   143     titles=
       
   144         {
       
   145         MENU_TITLE
       
   146             {
       
   147             menu_pane = r_calen_noteview_menupane;
       
   148             txt = " "; // Dummy
       
   149             }
       
   150         };
       
   151     }
       
   152 
       
   153 // ---------------------------------------------------------
       
   154 //
       
   155 //    r_calen_noteview_menupane
       
   156 //    This is empty menupane. 
       
   157 //    Editor implementation dynamically adds all parts
       
   158 //    of menu pane to this. 
       
   159 // ---------------------------------------------------------
       
   160 //
       
   161 RESOURCE MENU_PANE r_calen_noteview_menupane
       
   162     {
       
   163     items=
       
   164         {
       
   165         };
       
   166     }
       
   167 
       
   168 // ---------------------------------------------------------
       
   169 //
       
   170 //    r_calen_noteview_menu_pane
       
   171 //
       
   172 // ---------------------------------------------------------
       
   173 //
       
   174 RESOURCE MENU_PANE r_calen_noteview_default_menu_pane
       
   175     {
       
   176     items =
       
   177         {
       
   178         MENU_ITEM
       
   179             {
       
   180             command = ECalenCmdCancel;
       
   181             txt = qtn_cale_om_cancel_changes;
       
   182             },
       
   183         MENU_ITEM
       
   184             {
       
   185             command = ECalenGetLocation;
       
   186             txt = qtn_cale_om_assign_from_map;
       
   187             },
       
   188         MENU_ITEM
       
   189             {
       
   190             command = ECalenDeleteCurrentEntry;
       
   191             txt = qtn_cale_om_delete;
       
   192             },
       
   193         MENU_ITEM
       
   194             {
       
   195             command = ECalenSend;
       
   196             txt = qtn_options_send_via;
       
   197             },
       
   198         MENU_ITEM
       
   199             {
       
   200             command = EAknCmdHelp;
       
   201             txt = qtn_options_help;
       
   202             },
       
   203         MENU_ITEM
       
   204             {
       
   205             command = EAknSoftkeyExit;
       
   206             txt = qtn_options_exit;
       
   207             }
       
   208         };
       
   209     }
       
   210 
       
   211 // ---------------------------------------------------------
       
   212 // Description data related Options-menu items
       
   213 // ---------------------------------------------------------
       
   214 //
       
   215 RESOURCE MENU_PANE r_calen_description_menu_pane
       
   216     {
       
   217     items =
       
   218         {
       
   219         MENU_ITEM
       
   220             {
       
   221             command = ECalenCmdAddDescription;
       
   222             txt = qtn_cale_om_add_descript;
       
   223             cascade = r_calen_description_add_sub_menupane;
       
   224             },
       
   225         MENU_ITEM
       
   226             {
       
   227             command = ECalenCmdShowDescription;
       
   228             txt = qtn_cale_om_desc_show;
       
   229             },
       
   230         MENU_ITEM
       
   231             {
       
   232             command = ECalenCmdRemoveDescription;
       
   233             txt = qtn_cale_om_desc_remove;
       
   234             }
       
   235         };
       
   236     }
       
   237 
       
   238 // ---------------------------------------------------------
       
   239 // ---------------------------------------------------------
       
   240 //
       
   241 //    r_calen_noteview_menu_pane
       
   242 //
       
   243 // ---------------------------------------------------------
       
   244 //
       
   245 RESOURCE MENU_PANE r_calen_noteview_location_menu_pane
       
   246     {
       
   247     items =
       
   248         {
       
   249         MENU_ITEM
       
   250             {
       
   251             command = ECalenGetLocation;
       
   252             txt = qtn_cale_om_assign_from_map;
       
   253             },
       
   254         MENU_ITEM
       
   255             {
       
   256             command = ECalenCmdCancel;
       
   257             txt = qtn_cale_om_cancel_changes;
       
   258             },
       
   259         MENU_ITEM
       
   260             {
       
   261             command = ECalenDeleteCurrentEntry;
       
   262             txt = qtn_cale_om_delete;
       
   263             },
       
   264         MENU_ITEM
       
   265             {
       
   266             command = ECalenSend;
       
   267             txt = qtn_options_send_via;
       
   268             },
       
   269         MENU_ITEM
       
   270             {
       
   271             command = EAknCmdHelp;
       
   272             txt = qtn_options_help;
       
   273             },
       
   274         MENU_ITEM
       
   275             {
       
   276             command = EAknSoftkeyExit;
       
   277             txt = qtn_options_exit;
       
   278             }
       
   279         };
       
   280     }         
       
   281 // ---------------------------------------------------------
       
   282 // Submenu for 'Add description' menu item.
       
   283 // ---------------------------------------------------------
       
   284 //
       
   285 RESOURCE MENU_PANE r_calen_description_add_sub_menupane
       
   286     {
       
   287     items =
       
   288         {
       
   289         MENU_ITEM
       
   290             {
       
   291             command = ECalenCmdAddDescriptionNew;
       
   292             txt = qtn_cale_om_descript_new;
       
   293             },
       
   294         MENU_ITEM
       
   295             {
       
   296             command = ECalenCmdAddDescriptionExisting; 
       
   297             txt = qtn_cale_om_descript_exist;
       
   298             }
       
   299         };
       
   300     }
       
   301 
       
   302 RESOURCE TBUF r_qtn_cale_note_title
       
   303     {
       
   304     buf = qtn_cale_note_title;
       
   305     }
       
   306 
       
   307 RESOURCE TBUF r_qtn_cale_q_del_notep_desc
       
   308     {
       
   309     buf = qtn_cale_q_del_notep_desc;
       
   310     }
       
   311 
       
   312 RESOURCE DIALOG r_calen_remove_description_confirmation_query
       
   313     {
       
   314     flags = EGeneralQueryFlags;
       
   315     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   316     items = 
       
   317         {
       
   318         DLG_LINE
       
   319             {
       
   320             type = EAknCtQuery;
       
   321             id = EGeneralQuery;
       
   322             control = AVKON_CONFIRMATION_QUERY
       
   323                 {
       
   324                 layout = EConfirmationQueryLayout;
       
   325                 label = qtn_cale_query_remove_descr;
       
   326                 };
       
   327             }
       
   328         };
       
   329     }
       
   330 
       
   331 RESOURCE DIALOG r_calen_db_conflict_dialog
       
   332     {
       
   333     flags = EAknWarningNoteFlags | EEikDialogFlagWait;
       
   334     buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
       
   335     items =
       
   336         {
       
   337         DLG_LINE
       
   338             {
       
   339             type = EAknCtNote;
       
   340             id = EGeneralQuery;
       
   341             control = AVKON_NOTE
       
   342                 {
       
   343                 layout = EGeneralLayout;
       
   344                 animation = R_QGN_NOTE_WARNING_ANIM;
       
   345                 };
       
   346             }
       
   347         };
       
   348     }
       
   349 
       
   350 RESOURCE DIALOG r_calen_cancel_changes_query
       
   351     {
       
   352     flags = EGeneralQueryFlags;
       
   353     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   354     items = 
       
   355         {
       
   356         DLG_LINE
       
   357             {
       
   358             type = EAknCtQuery;
       
   359             id = EGeneralQuery;
       
   360             control = AVKON_CONFIRMATION_QUERY
       
   361                 {
       
   362                 layout = EConfirmationQueryLayout;
       
   363                 label = qtn_cale_query_cancel_changes;
       
   364                 };
       
   365             }
       
   366         };
       
   367     }
       
   368     RESOURCE DIALOG r_calen_db_change_query
       
   369     {
       
   370     flags = EGeneralQueryFlags;
       
   371     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   372     items = 
       
   373         {
       
   374         DLG_LINE
       
   375             {
       
   376             type = EAknCtQuery;
       
   377             id = EGeneralQuery;
       
   378             control = AVKON_CONFIRMATION_QUERY
       
   379                 {
       
   380                 layout = EConfirmationQueryLayout;
       
   381                 label = qtn_calen_db_change_del_exeptions;
       
   382                 };
       
   383             }
       
   384         };
       
   385     }
       
   386 
       
   387 
       
   388 RESOURCE TBUF r_qtn_cale_inote_desc_del_memo
       
   389     {
       
   390     buf = qtn_cale_inote_desc_del_memo;
       
   391     }
       
   392 
       
   393 // ---------------------------------------------------------
       
   394 //
       
   395 //    r_todo_todonote_title
       
   396 //    To-Do's note view identify id.
       
   397 //    32 characters is not exceeded.
       
   398 //
       
   399 // ---------------------------------------------------------
       
   400 //
       
   401 RESOURCE TBUF32 r_todo_todonote_title
       
   402     { 
       
   403     buf = qtn_todo_note_header;
       
   404     }
       
   405 
       
   406 // ---------------------------------------------------------
       
   407 //
       
   408 //    r_todo_delete_wait_note
       
   409 //    Wait note for deleting marked items
       
   410 //
       
   411 // ---------------------------------------------------------
       
   412 //
       
   413 RESOURCE DIALOG r_todo_delete_wait_note
       
   414     {
       
   415     flags = EAknWaitNoteFlags;
       
   416     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   417     items=
       
   418         {
       
   419         DLG_LINE
       
   420             {
       
   421             type = EAknCtNote;
       
   422             id = ETodoNoteWait;
       
   423             control = AVKON_NOTE
       
   424                 { 
       
   425                 layout = EWaitLayout;
       
   426                 singular_label = qtn_todo_wait_deleting_notes;
       
   427                 imagefile = AVKON_ICON_FILE;
       
   428                 imageid = EMbmAvkonQgn_note_erased;
       
   429                 imagemask = EMbmAvkonQgn_note_erased_mask;
       
   430                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   431                 ///animation = R_QGN_NOTE_ERASED_ANIM;
       
   432                 };
       
   433             }
       
   434         };
       
   435     }
       
   436 
       
   437 // ---------------------------------------------------------
       
   438 //
       
   439 //    r_qtn_cale_info_note_ends_before
       
   440 //    This error message is shown
       
   441 //    when end date/time is earlier than start.
       
   442 //
       
   443 // ---------------------------------------------------------
       
   444 //
       
   445 RESOURCE TBUF r_qtn_cale_info_note_ends_before
       
   446     {
       
   447     buf = qtn_cale_info_note_ends_before;
       
   448     }
       
   449 
       
   450 // ---------------------------------------------------------
       
   451 //
       
   452 //    r_qtn_cale_date_alarm_past
       
   453 //    This message is shown if alarm date is 1000 days or more past
       
   454 //    to note date.
       
   455 //
       
   456 // ---------------------------------------------------------
       
   457 //
       
   458 RESOURCE TBUF r_qtn_cale_date_alarm_past
       
   459     {
       
   460     buf = qtn_cale_date_alarm_past;
       
   461     }
       
   462 
       
   463 // ---------------------------------------------------------
       
   464 //
       
   465 //    r_qtn_cale_later_date
       
   466 //    This message is shown if alarm time is later than note.
       
   467 //
       
   468 // ---------------------------------------------------------
       
   469 //
       
   470 RESOURCE TBUF r_qtn_cale_later_date
       
   471     {
       
   472     buf = qtn_cale_later_date;
       
   473     }
       
   474 
       
   475 // ---------------------------------------------------------
       
   476 //
       
   477 //    r_qtn_cale_not_expired
       
   478 //    This message is shown if alarm is set to past note.
       
   479 //
       
   480 // ---------------------------------------------------------
       
   481 //
       
   482 RESOURCE TBUF r_qtn_cale_not_expired
       
   483     {
       
   484     buf = qtn_cale_not_expired;
       
   485     }
       
   486 
       
   487 // ---------------------------------------------------------
       
   488 //
       
   489 //    r_qtn_cale_info_repeat_invalid
       
   490 //    This message is shown if date of Repeat until is past
       
   491 //    to note date.
       
   492 //
       
   493 // ---------------------------------------------------------
       
   494 //
       
   495 RESOURCE TBUF r_qtn_cale_info_repeat_invalid
       
   496     {
       
   497     buf = qtn_cale_info_repeat_invalid;
       
   498     }
       
   499 
       
   500 // ---------------------------------------------------------
       
   501 //
       
   502 //    r_qtn_cale_info_note_duration_too_long_for_daily
       
   503 //    This message is shown if repeat is set to daily and
       
   504 //    the duration of the entry is greater than one day
       
   505 //
       
   506 // ---------------------------------------------------------
       
   507 //
       
   508 RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_daily
       
   509     {
       
   510     buf = qtn_cale_note_cannot_occur_daily;
       
   511     }
       
   512 
       
   513 // ---------------------------------------------------------
       
   514 //
       
   515 //    r_qtn_cale_info_note_duration_too_long_for_weekly
       
   516 //    This message is shown if repeat is set to weekly and
       
   517 //    the duration of the entry is greater than one week
       
   518 //
       
   519 // ---------------------------------------------------------
       
   520 //
       
   521 RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_weekly
       
   522     {
       
   523     buf = qtn_cale_note_cannot_occur_weekly;
       
   524     }
       
   525 
       
   526 // ---------------------------------------------------------
       
   527 //
       
   528 //    r_qtn_cale_info_note_duration_too_long_for_biweekly
       
   529 //    This message is shown if repeat is set to biweekly and
       
   530 //    the duration of the entry is greater than two weeks
       
   531 //
       
   532 // ---------------------------------------------------------
       
   533 //
       
   534 RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_biweekly
       
   535     {
       
   536     buf = qtn_cale_note_cannot_occur_fortnightly;
       
   537     }
       
   538 
       
   539 // ---------------------------------------------------------
       
   540 //
       
   541 //    r_qtn_cale_info_note_duration_too_long_for_monthly
       
   542 //    This message is shown if repeat is set to monthly and
       
   543 //    the duration of the entry is greater than one month
       
   544 //
       
   545 // ---------------------------------------------------------
       
   546 //
       
   547 RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_monthly
       
   548     {
       
   549     buf = qtn_cale_note_cannot_occur_monthly;
       
   550     }
       
   551 
       
   552 // ---------------------------------------------------------
       
   553 //
       
   554 //    r_qtn_cale_info_note_duration_too_long_for_yearly
       
   555 //    This message is shown if repeat is set to yearly and
       
   556 //    the duration of the entry is greater than one year
       
   557 //
       
   558 // ---------------------------------------------------------
       
   559 //
       
   560 RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_yearly
       
   561     {
       
   562     buf = qtn_cale_note_cannot_occur_yearly;
       
   563     }
       
   564 
       
   565 
       
   566 RESOURCE TBUF r_qtn_cale_note_child_out_of_sequence
       
   567     {
       
   568     buf = qtn_cale_note_child_out_of_sequence;
       
   569     }
       
   570 
       
   571 RESOURCE TBUF r_qtn_cale_note_child_same_day
       
   572     {
       
   573     buf = qtn_cale_note_child_same_day;
       
   574     }
       
   575 
       
   576 RESOURCE TBUF r_qtn_cale_note_child_overlap
       
   577     {
       
   578     buf = qtn_cale_note_child_overlap;
       
   579     }
       
   580 
       
   581 // ---------------------------------------------------------
       
   582 //
       
   583 //    r_qtn_allday_event_yes
       
   584 //    String to display 'Yes' in AllDay field in UnifiedEditor
       
   585 //
       
   586 // ---------------------------------------------------------
       
   587 //
       
   588 RESOURCE TBUF r_qtn_allday_event_yes
       
   589     {
       
   590     buf = qtn_cale_item_yes;
       
   591     }
       
   592 
       
   593 // ---------------------------------------------------------
       
   594 //
       
   595 //    r_qtn_allday_event_no
       
   596 //    String to display 'NO' in AllDay field in UnifiedEditor
       
   597 //
       
   598 // ---------------------------------------------------------
       
   599 //
       
   600 RESOURCE TBUF r_qtn_allday_event_no
       
   601     {
       
   602     buf = qtn_cale_item_no;
       
   603     }
       
   604 
       
   605 // ---------------------------------------------------------
       
   606 //
       
   607 //    r_qtn_cale_note_db_conflict
       
   608 //    Shown if another application causes a database conflict
       
   609 //
       
   610 // ---------------------------------------------------------
       
   611 //
       
   612 RESOURCE TBUF r_qtn_cale_note_db_conflict
       
   613     {
       
   614     buf = qtn_cale_note_db_conflict;
       
   615     }
       
   616 
       
   617 // ---------------------------------------------------------
       
   618 //
       
   619 //    r_qtn_cale_note_db_modified
       
   620 //    Shown if another application causes a database conflict
       
   621 //
       
   622 // ---------------------------------------------------------
       
   623 //
       
   624 RESOURCE TBUF r_qtn_cale_note_db_modified
       
   625     {
       
   626     buf = qtn_cale_note_db_modified;
       
   627     }
       
   628 
       
   629 //    r_calen_repeat_note_start_changed
       
   630 //    This message is shown if date of Start Date is updated
       
   631 //    to old repeat note.
       
   632 //
       
   633 // ---------------------------------------------------------
       
   634 //
       
   635 RESOURCE DIALOG r_calen_repeat_note_start_changed
       
   636     {
       
   637     flags = EGeneralQueryFlags;
       
   638     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   639     items=
       
   640         {
       
   641         DLG_LINE
       
   642             {
       
   643             type = EAknCtQuery;
       
   644             id = EGeneralQuery;
       
   645             control = AVKON_CONFIRMATION_QUERY
       
   646                 {
       
   647                 layout = EConfirmationLayout;
       
   648                 label = qtn_cale_quest_change_start_day;
       
   649                 };
       
   650             }
       
   651         };
       
   652     }
       
   653 
       
   654 // ---------------------------------------------------------
       
   655 //
       
   656 //    r_calen_meeting_note_title
       
   657 //    Define title of meeting note
       
   658 //
       
   659 // ---------------------------------------------------------
       
   660 //
       
   661 RESOURCE TBUF r_calen_meeting_note_title
       
   662     {
       
   663     buf = text_calendar_title_meeting;
       
   664     }
       
   665 
       
   666 // ---------------------------------------------------------
       
   667 //
       
   668 //    r_calen_anniv_note_title
       
   669 //    Define title of birthday note
       
   670 //
       
   671 // ---------------------------------------------------------
       
   672 //
       
   673 RESOURCE TBUF r_calen_anniv_note_title
       
   674     {
       
   675     buf = qtn_cale_anniversary_title;
       
   676     }
       
   677 
       
   678 // ---------------------------------------------------------
       
   679 //
       
   680 //    r_calen_day_note_title
       
   681 //    Define title of day note
       
   682 //
       
   683 // ---------------------------------------------------------
       
   684 //
       
   685 RESOURCE TBUF r_calen_day_note_title
       
   686     {
       
   687     buf = qtn_cale_title_daynote;
       
   688     }
       
   689 
       
   690 
       
   691 
       
   692 
       
   693 // ---------------------------------------------------------
       
   694 //
       
   695 //    r_calen_msk_change_cba
       
   696 //    CBA with MSK button "Change"
       
   697 //
       
   698 // ---------------------------------------------------------
       
   699 //
       
   700 RESOURCE CBA r_calen_msk_change_cba
       
   701     {
       
   702     buttons =
       
   703         {
       
   704         CBA_BUTTON
       
   705             {
       
   706             id=EAknSoftkeyOptions;
       
   707             txt=text_softkey_option;
       
   708             },
       
   709         CBA_BUTTON
       
   710             {
       
   711             id=EAknSoftkeyDone;
       
   712             txt=text_softkey_done;
       
   713             },
       
   714         CBA_BUTTON
       
   715             {
       
   716             id=EAknSoftkeyChange;
       
   717             txt=qtn_msk_change;
       
   718             }
       
   719            
       
   720        };
       
   721     
       
   722     }    
       
   723 
       
   724 // ---------------------------------------------------------
       
   725 //
       
   726 //    r_calen_msk_open_cba
       
   727 //    CBA with MSK button "Open"
       
   728 //
       
   729 // ---------------------------------------------------------
       
   730 //
       
   731 RESOURCE CBA r_calen_msk_open_cba
       
   732     {
       
   733     buttons =
       
   734         {
       
   735         CBA_BUTTON
       
   736             {
       
   737             id=EAknSoftkeyOptions;
       
   738             txt=text_softkey_option;
       
   739             },
       
   740         CBA_BUTTON
       
   741             {
       
   742             id=EAknSoftkeyDone;
       
   743             txt=text_softkey_done;
       
   744             },
       
   745         CBA_BUTTON
       
   746             {
       
   747             id=EAknSoftkeyOpen; 
       
   748             txt=qtn_msk_open;
       
   749             }
       
   750        };
       
   751     }    
       
   752 
       
   753 // ---------------------------------------------------------
       
   754 //
       
   755 //    r_calen_msk_empty_cba
       
   756 //    CBA with empty MSK button 
       
   757 //
       
   758 // ---------------------------------------------------------
       
   759 //
       
   760 RESOURCE CBA r_calen_msk_empty_cba
       
   761     {
       
   762     buttons =
       
   763         {
       
   764         CBA_BUTTON
       
   765             {
       
   766             id=EAknSoftkeyOptions;
       
   767             txt=text_softkey_option;
       
   768             },
       
   769         CBA_BUTTON
       
   770             {
       
   771             id=EAknSoftkeyDone;
       
   772             txt=text_softkey_done;
       
   773             },
       
   774         CBA_BUTTON
       
   775             {
       
   776             id=EAknSoftkeyEmpty; 
       
   777             txt=text_softkey_empty;
       
   778             }
       
   779        };
       
   780     }    
       
   781 
       
   782 // ---------------------------------------------------------
       
   783 //
       
   784 //    r_calen_msk_empty_cba
       
   785 //    CBA with frommap MSK button 
       
   786 //
       
   787 // ---------------------------------------------------------
       
   788 //
       
   789 RESOURCE CBA r_calen_msk_frommap_cba
       
   790     {
       
   791     buttons =
       
   792         {
       
   793         CBA_BUTTON
       
   794             {
       
   795             id=EAknSoftkeyOptions;
       
   796             txt=text_softkey_option;
       
   797             },
       
   798         CBA_BUTTON
       
   799             {
       
   800             id=EAknSoftkeyDone;
       
   801             txt=text_softkey_done;
       
   802             },
       
   803         CBA_BUTTON
       
   804             {
       
   805             id=ECalenGetLocation; 
       
   806             txt=text_softkey_from_map;
       
   807             }
       
   808        };
       
   809     }   
       
   810 
       
   811 //----------------------------------------------------
       
   812 //
       
   813 //    r_calen_geovalues_removal_note
       
   814 //    Geo Values Removal query
       
   815 //
       
   816 //----------------------------------------------------
       
   817 //
       
   818 RESOURCE DIALOG r_calen_geovalues_removal_note
       
   819     {
       
   820     flags = EGeneralQueryFlags;
       
   821     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   822     items=
       
   823         {
       
   824         DLG_LINE
       
   825             {
       
   826             type = EAknCtQuery;
       
   827             id = EGeneralQuery;
       
   828             control = AVKON_CONFIRMATION_QUERY
       
   829                 {
       
   830                 layout = EConfirmationLayout;
       
   831                 };
       
   832             }
       
   833         };
       
   834     }
       
   835     
       
   836 // ---------------------------------------------------------
       
   837 //
       
   838 //    r_calen_qtn_todo_quest_delete_marked_notes
       
   839 //    Remove GeoValues
       
   840 //
       
   841 // ---------------------------------------------------------
       
   842 //
       
   843 RESOURCE TBUF r_calen_qtn_geovalues_removal
       
   844     {
       
   845     buf = qtn_cale_confirm_keep_coordinates;
       
   846     }
       
   847 
       
   848 // ---------------------------------------------------------
       
   849 //
       
   850 //    r_qtn_alarm_active
       
   851 //    Define "On" to "Alarm:" line of Note Form
       
   852 //
       
   853 // ---------------------------------------------------------
       
   854 //
       
   855 RESOURCE TBUF r_qtn_alarm_active
       
   856     {
       
   857     buf = qtn_cale_alarm_active;
       
   858     }
       
   859 // ---------------------------------------------------------
       
   860 //
       
   861 //    r_qtn_alarm_off
       
   862 //    Define "Off" to "Alarm:" line of Note Form
       
   863 //
       
   864 // ---------------------------------------------------------
       
   865 //
       
   866  RESOURCE TBUF r_qtn_alarm_off
       
   867     {
       
   868     buf = qtn_cale_alarm_off;
       
   869     }
       
   870 
       
   871     
       
   872 // ---------------------------------------------------------
       
   873 // r_calen_unified_editor
       
   874 // resource definition for unified editor 
       
   875 // ---------------------------------------------------------
       
   876 //
       
   877  RESOURCE DIALOG r_calen_unified_editor
       
   878      {
       
   879      flags = EEikDialogFlagNoDrag 
       
   880          |   EEikDialogFlagFillAppClientRect 
       
   881          |   EEikDialogFlagButtonsRight 
       
   882          |   EEikDialogFlagCbaButtons
       
   883          |   EEikDialogFlagWait 
       
   884          |   EEikDialogFlagNoTitleBar
       
   885          |   EEikDialogFlagDontEatUpDownEvents
       
   886          |   EEikDialogFlagNotifyEsc;
       
   887 
       
   888      buttons = R_AVKON_SOFTKEYS_OPTIONS_DONE;
       
   889      form = r_calen_unified_editor_form;
       
   890      }
       
   891 
       
   892 // ---------------------------------------------------------
       
   893 // r_calen_unified_editor_form
       
   894 // Define items of unified editor
       
   895 // ---------------------------------------------------------
       
   896 //
       
   897  RESOURCE FORM r_calen_unified_editor_form
       
   898      {
       
   899      flags = EEikFormUseDoubleSpacedFormat;
       
   900      items =
       
   901          {
       
   902          DLG_LINE_INDIRECT
       
   903              {
       
   904              line = r_calen_editor_event_type_item;
       
   905              },
       
   906          DLG_LINE_INDIRECT
       
   907              {
       
   908              line = r_calen_editor_subject_item;
       
   909              }
       
   910          };
       
   911      }
       
   912  
       
   913 // ---------------------------------------------------------
       
   914 // r_calen_editor_subject_item
       
   915 // Define "Subject" line in unified editor 
       
   916 // ---------------------------------------------------------
       
   917 //
       
   918  RESOURCE DLG_LINE r_calen_editor_subject_item
       
   919      {
       
   920      type = EEikCtEdwin;
       
   921      prompt = qtn_cale_note_subject;
       
   922      id = ECalenEditorSubject;
       
   923      itemflags = EEikDlgItemTakesEnterKey;
       
   924      control = EDWIN
       
   925          {
       
   926          flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
       
   927                  EEikEdwinNoAutoSelection | EEikEdwinJustAutoCurEnd;
       
   928          maxlength = ECalenAbsoluteMaxTextEditorLength;
       
   929          default_case = EAknEditorTextCase;
       
   930          allowed_case_modes = EAknEditorAllCaseModes;
       
   931          numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
   932          special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
       
   933          avkon_flags = EAknEditorFlagUseSCTNumericCharmap |
       
   934                        EAknEditorFlagDefault |
       
   935                        EAknEditorFlagEnablePictographInput;
       
   936          // let Avkon decide which is maximum number of lines
       
   937          // It's based on layout.
       
   938          max_view_height_in_lines = 0;
       
   939          };
       
   940      }
       
   941  
       
   942 // ---------------------------------------------------------
       
   943 // r_calen_editor_event_type_item
       
   944 // Define "Event Type" line in unified editor 
       
   945 // ---------------------------------------------------------
       
   946 //
       
   947  RESOURCE DLG_LINE r_calen_editor_event_type_item
       
   948      {
       
   949      type = EAknCtPopupField;
       
   950      prompt = qtn_cale_label_event_type;
       
   951      id = ECalenEditorEventType;
       
   952      itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
   953      control = POPUP_FIELD
       
   954          {
       
   955          flags = 0;
       
   956          width = 15;
       
   957          other = " ";
       
   958          };
       
   959      }
       
   960  
       
   961 // ---------------------------------------------------------
       
   962 // r_calen_editor_all_day_item
       
   963 // Define "All Day" line in unified editor 
       
   964 // ---------------------------------------------------------
       
   965 //
       
   966 RESOURCE DLG_LINE r_calen_editor_all_day_item
       
   967     {
       
   968     type = EEikCtEdwin;
       
   969     prompt = qtn_cale_label_all_day;
       
   970     id = ECalenEditorAllDayItem;
       
   971     itemflags = EEikDlgItemTakesEnterKey;
       
   972     control = EDWIN
       
   973         {
       
   974         flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
       
   975                 EEikEdwinNoAutoSelection | EEikEdwinReadOnly|
       
   976                 EEikEdwinAvkonDisableCursor|EEikEdwinAvkonNotEditable |EEikEdwinDisplayOnly ;
       
   977         maxlength = ECalenAbsoluteMaxTextEditorLength;
       
   978         default_case = EAknEditorTextCase;
       
   979         allowed_case_modes = EAknEditorAllCaseModes;
       
   980         numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
   981         special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
       
   982         avkon_flags = EAknEditorFlagUseSCTNumericCharmap |
       
   983                       EAknEditorFlagDefault | 
       
   984                       EAknEditorFlagEnablePictographInput;
       
   985         // let Avkon decide which is maximum number of lines
       
   986         // It's based on layout.
       
   987         max_view_height_in_lines = 0;
       
   988         };
       
   989     
       
   990     
       
   991     }
       
   992  
       
   993 // ---------------------------------------------------------
       
   994 // r_calen_editor_due_date_item
       
   995 // Define "Due date" line in unified editor 
       
   996 // ---------------------------------------------------------
       
   997 //
       
   998 RESOURCE DLG_LINE r_calen_editor_due_date_item
       
   999     {
       
  1000     type = EEikCtDateEditor;
       
  1001     prompt = qtn_cale_viewer_due_date;
       
  1002     id = ECalenEditorDueDate;
       
  1003     control = DATE_EDITOR 
       
  1004         {
       
  1005         minDate = DATE
       
  1006             {
       
  1007             day = ECalenMinDay;
       
  1008             month = ECalenMinMonth;
       
  1009             year = ECalenMinYear;
       
  1010             };
       
  1011         maxDate = DATE
       
  1012             {
       
  1013             day = ECalenMaxDay;
       
  1014             month = ECalenMaxMonth;
       
  1015             year = ECalenMaxYear;
       
  1016             };
       
  1017         };
       
  1018     }
       
  1019  
       
  1020 // ---------------------------------------------------------
       
  1021 // r_qtn_calen_editor_due_date
       
  1022 // To define "Due Date" string for To-Do Entry in unified editor 
       
  1023 // ---------------------------------------------------------
       
  1024 //
       
  1025 RESOURCE TBUF r_qtn_calen_editor_due_date
       
  1026     {
       
  1027     buf = qtn_todo_note_duedate;
       
  1028     }
       
  1029 
       
  1030 // ---------------------------------------------------------
       
  1031 // r_qtn_calen_editor_date_of_birth
       
  1032 // To define "Date of Birth" string for Birthday Entry in unified editor 
       
  1033 // ---------------------------------------------------------
       
  1034 //
       
  1035 RESOURCE TBUF r_qtn_calen_editor_date_of_birth
       
  1036     {
       
  1037     buf = qtn_cale_viewer_date; 
       
  1038     }
       
  1039 
       
  1040 // ---------------------------------------------------------
       
  1041 // r_calen_editor_start_time_item
       
  1042 // Define the "Start time" line in unified editor 
       
  1043 // ---------------------------------------------------------
       
  1044 //
       
  1045 RESOURCE DLG_LINE r_calen_editor_start_time_item
       
  1046     {
       
  1047     type = EEikCtTimeEditor;
       
  1048     prompt = qtn_cale_label_start_time;
       
  1049     id = ECalenEditorStartTime;
       
  1050     control = TIME_EDITOR
       
  1051         {
       
  1052         minTime = TIME
       
  1053             {
       
  1054             minute = ECalenMinMinute;
       
  1055             hour = ECalenMinHour;
       
  1056             };
       
  1057         maxTime = TIME
       
  1058             {
       
  1059             minute = ECalenMaxMinute;
       
  1060             hour = ECalenMaxHour;
       
  1061             };
       
  1062         flags = EEikTimeWithoutSecondsField;
       
  1063         };
       
  1064     }
       
  1065 
       
  1066 // ---------------------------------------------------------
       
  1067 // r_calen_editor_end_time_item
       
  1068 // Define "End time" line in unified editor 
       
  1069 // ---------------------------------------------------------
       
  1070 //
       
  1071 RESOURCE DLG_LINE r_calen_editor_end_time_item
       
  1072     {
       
  1073     type = EEikCtTimeEditor;
       
  1074     prompt = qtn_cale_note_end_meet_time;
       
  1075     id = ECalenEditorEndTime;
       
  1076     control = TIME_EDITOR
       
  1077         {
       
  1078         minTime = TIME
       
  1079             {
       
  1080             minute = ECalenMinMinute;
       
  1081             hour = ECalenMinHour;
       
  1082             };
       
  1083         maxTime = TIME
       
  1084             {
       
  1085             minute = ECalenMaxMinute;
       
  1086             hour = ECalenMaxHour;
       
  1087             };
       
  1088         flags = EEikTimeWithoutSecondsField;
       
  1089         };
       
  1090     }
       
  1091 
       
  1092 // ---------------------------------------------------------
       
  1093 // r_calen_editor_start_date_item
       
  1094 // Define "Start Date" line in unified editor 
       
  1095 // ---------------------------------------------------------
       
  1096 //
       
  1097 RESOURCE DLG_LINE r_calen_editor_start_date_item
       
  1098     {
       
  1099     type = EEikCtDateEditor;
       
  1100     prompt = qtn_cale_label_start_date;
       
  1101     id = ECalenEditorStartDate;
       
  1102     control = DATE_EDITOR
       
  1103         {
       
  1104         minDate = DATE
       
  1105             {
       
  1106             day = ECalenMinDay;
       
  1107             month = ECalenMinMonth;
       
  1108             year = ECalenMinYear;
       
  1109             };
       
  1110         maxDate = DATE
       
  1111             {
       
  1112             day = ECalenMaxDay;
       
  1113             month = ECalenMaxMonth;
       
  1114             year = ECalenMaxYear;
       
  1115             };
       
  1116         };
       
  1117     }
       
  1118 
       
  1119 // ---------------------------------------------------------
       
  1120 // r_calen_editor_end_date_item
       
  1121 // Define "End Date" line in unified editor 
       
  1122 // ---------------------------------------------------------
       
  1123 //
       
  1124 RESOURCE DLG_LINE r_calen_editor_end_date_item
       
  1125     {
       
  1126     type = EEikCtDateEditor;
       
  1127     prompt = qtn_cale_day_end_date;
       
  1128     id = ECalenEditorEndDate;
       
  1129     control = DATE_EDITOR
       
  1130         {
       
  1131         minDate = DATE
       
  1132             {
       
  1133             day = ECalenMinDay;
       
  1134             month = ECalenMinMonth;
       
  1135             year = ECalenMinYear;
       
  1136             };
       
  1137         maxDate = DATE
       
  1138             {
       
  1139             day = ECalenMaxDay;
       
  1140             month = ECalenMaxMonth;
       
  1141             year = ECalenMaxYear;
       
  1142             };
       
  1143         };
       
  1144     }
       
  1145  
       
  1146 // ---------------------------------------------------------
       
  1147 // r_calen_editor_birthday_year_item
       
  1148 // Define "Date and Year" line in unified editor 
       
  1149 // ---------------------------------------------------------
       
  1150 //
       
  1151 RESOURCE DLG_LINE r_calen_editor_birthday_year_item
       
  1152     {
       
  1153     type = EEikCtDateEditor;
       
  1154     prompt = r_calen_editor_birthday_year_item;
       
  1155     id = ECalenEditorBirthDayYear;
       
  1156     control = DATE_EDITOR 
       
  1157         {
       
  1158         minDate = DATE
       
  1159             {
       
  1160             day = ECalenMinDay;
       
  1161             month = ECalenMinMonth;
       
  1162             year = ECalenMinYear;
       
  1163             };
       
  1164         maxDate = DATE
       
  1165             {
       
  1166             day = ECalenMaxDay;
       
  1167             month = ECalenMaxMonth;
       
  1168             year = ECalenMaxYear;
       
  1169             };
       
  1170         };
       
  1171     } 
       
  1172 
       
  1173 // ---------------------------------------------------------
       
  1174 // r_calen_editor_place_item
       
  1175 // Define "Place" in unified editor
       
  1176 // ---------------------------------------------------------
       
  1177 //
       
  1178 RESOURCE DLG_LINE r_calen_editor_place_item
       
  1179     {
       
  1180     type = EEikCtRichTextEditor;
       
  1181     prompt = qtn_cale_label_place;
       
  1182     id = ECalenEditorPlace;
       
  1183     itemflags = EEikDlgItemTakesEnterKey |EEikDlgItemAsLabel |
       
  1184                 EEikEdwinAlwaysShowSelection | EEikEdwinUserSuppliedText |
       
  1185                 EEikRTedNoTextParsers;
       
  1186     control = RTXTED
       
  1187         {
       
  1188         flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
       
  1189                 EEikEdwinNoAutoSelection | EEikEdwinJustAutoCurEnd
       
  1190                 | EEikEdwinAllowPictures;
       
  1191         width = 0;  // These 0's are not really needed
       
  1192         height = 0; 
       
  1193         numlines = 0;
       
  1194         textlimit = ECalenAbsoluteMaxTextEditorLength;
       
  1195         default_case = EAknEditorTextCase;
       
  1196         allowed_case_modes = EAknEditorAllCaseModes;
       
  1197         numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
  1198         special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
       
  1199         
       
  1200         max_view_height_in_lines = 0;
       
  1201         };
       
  1202     }
       
  1203 
       
  1204 
       
  1205 // ---------------------------------------------------------
       
  1206 // r_calen_editor_reminder_item
       
  1207 // Define "reminder" line in unified editor 
       
  1208 // ---------------------------------------------------------
       
  1209 //
       
  1210 RESOURCE DLG_LINE r_calen_editor_reminder_item
       
  1211     {
       
  1212     type = EEikCtEdwin;
       
  1213     prompt = qtn_cale_label_reminder;
       
  1214     id = ECalenEditorReminder;
       
  1215     itemflags = EEikDlgItemTakesEnterKey;
       
  1216     control = EDWIN
       
  1217         {
       
  1218         flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
       
  1219                 EEikEdwinNoAutoSelection | EEikEdwinReadOnly|
       
  1220                 EEikEdwinAvkonDisableCursor|EEikEdwinAvkonNotEditable |EEikEdwinDisplayOnly ;
       
  1221         maxlength = ECalenAbsoluteMaxTextEditorLength;
       
  1222         default_case = EAknEditorTextCase;
       
  1223         allowed_case_modes = EAknEditorAllCaseModes;
       
  1224         numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
  1225         special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
       
  1226         avkon_flags = EAknEditorFlagUseSCTNumericCharmap |
       
  1227                       EAknEditorFlagDefault | 
       
  1228                       EAknEditorFlagEnablePictographInput;
       
  1229         // let Avkon decide which is maximum number of lines
       
  1230         // It's based on layout.
       
  1231         max_view_height_in_lines = 0;
       
  1232         };
       
  1233     }
       
  1234    
       
  1235 // ---------------------------------------------------------
       
  1236 // r_calen_editor_reminder_time_item
       
  1237 // Define the "Reminder Time" line in unified editor 
       
  1238 // ---------------------------------------------------------
       
  1239 //
       
  1240 RESOURCE DLG_LINE r_calen_editor_reminder_time_item
       
  1241     {
       
  1242     type = EEikCtTimeEditor;
       
  1243     prompt = qtn_cale_label_reminder_time;
       
  1244     id = ECalenEditorReminderTime;
       
  1245     control = TIME_EDITOR
       
  1246         {
       
  1247         minTime = TIME
       
  1248             {
       
  1249             minute = ECalenMinMinute;
       
  1250             hour = ECalenMinHour;
       
  1251             };
       
  1252         maxTime = TIME
       
  1253             {
       
  1254             minute = ECalenMaxMinute;
       
  1255             hour = ECalenMaxHour;
       
  1256             };
       
  1257         flags = EEikTimeWithoutSecondsField;
       
  1258         };
       
  1259     }
       
  1260    
       
  1261 // ---------------------------------------------------------
       
  1262 // r_calen_editor_reminder_date_item
       
  1263 // Define "Reminder Date" line in unified editor 
       
  1264 // ---------------------------------------------------------
       
  1265 //
       
  1266 RESOURCE DLG_LINE r_calen_editor_reminder_date_item
       
  1267     {
       
  1268     type = EEikCtDateEditor;
       
  1269     prompt = qtn_cale_label_reminder_date;
       
  1270     id = ECalenEditorReminderDate;
       
  1271     control = DATE_EDITOR
       
  1272         {
       
  1273         minDate = DATE
       
  1274             {
       
  1275             day = ECalenMinDay;
       
  1276             month = ECalenMinMonth;
       
  1277             year = ECalenMinYear;
       
  1278             };
       
  1279         maxDate = DATE
       
  1280             {
       
  1281             day = ECalenMaxDay;
       
  1282             month = ECalenMaxMonth;
       
  1283             year = ECalenMaxYear;
       
  1284             };
       
  1285         };
       
  1286     }
       
  1287 
       
  1288 // ---------------------------------------------------------
       
  1289 // r_calen_editor_repeat_item
       
  1290 // Define "Repeat" line in unified editor 
       
  1291 // ---------------------------------------------------------
       
  1292 //
       
  1293 RESOURCE DLG_LINE r_calen_editor_repeat_item
       
  1294     {
       
  1295     type = EAknCtPopupField;
       
  1296     prompt = qtn_cale_note_meeting_repeat;
       
  1297     id = ECalenEditorRepeat;
       
  1298     itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
  1299     control = POPUP_FIELD
       
  1300         {
       
  1301         flags = 0;
       
  1302         width = 15;
       
  1303         other = " ";
       
  1304         };
       
  1305     }
       
  1306 
       
  1307 // ---------------------------------------------------------
       
  1308 // r_calen_editor_repeat_until_item
       
  1309 // Define "Repeat until" line in unified editor
       
  1310 // ---------------------------------------------------------
       
  1311 //
       
  1312 RESOURCE DLG_LINE r_calen_editor_repeat_until_item
       
  1313     {
       
  1314     type = EEikCtDateEditor;
       
  1315     prompt = qtn_cale_note_meeting_until;
       
  1316     id = ECalenEditorRepeatUntil;
       
  1317     control = DATE_EDITOR
       
  1318         {
       
  1319         minDate = DATE
       
  1320             {
       
  1321             day = ECalenMinDay;
       
  1322             month = ECalenMinMonth;
       
  1323             year = ECalenMinYear;
       
  1324             };
       
  1325         maxDate = DATE
       
  1326             {
       
  1327             day = ECalenForeverDay;
       
  1328             month = ECalenForeverMonth;
       
  1329             year = ECalenForeverYear;
       
  1330             };
       
  1331         };
       
  1332     }
       
  1333 
       
  1334 // ---------------------------------------------------------
       
  1335 // r_calen_editor_priority_item
       
  1336 // Define "Priority" line in unified editor
       
  1337 // ---------------------------------------------------------
       
  1338 //
       
  1339 RESOURCE DLG_LINE r_calen_editor_priority_item
       
  1340     {
       
  1341     type = EAknCtPopupField;
       
  1342     prompt = qtn_todo_note_view_priority;
       
  1343     id = ECalenEditorPriority;
       
  1344     itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
  1345     control = POPUP_FIELD
       
  1346         {
       
  1347         flags = 0;
       
  1348         width = 15;
       
  1349         other = " ";
       
  1350         };
       
  1351     }
       
  1352 
       
  1353 // ---------------------------------------------------------
       
  1354 // r_calen_editor_people_item
       
  1355 // Define "People" in unified editor
       
  1356 // ---------------------------------------------------------
       
  1357 //
       
  1358 RESOURCE DLG_LINE r_calen_editor_people_item
       
  1359     {
       
  1360     type = EEikCtRichTextEditor;
       
  1361     prompt = qtn_cale_label_people;
       
  1362     id = ECalenEditorPeople;
       
  1363     itemflags = EEikDlgItemAsLabel | EEikEdwinAlwaysShowSelection | 
       
  1364                 EEikEdwinUserSuppliedText | EEikRTedNoTextParsers;
       
  1365     control = RTXTED
       
  1366         {
       
  1367         flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
       
  1368                 EEikEdwinNoAutoSelection | EEikEdwinJustAutoCurEnd
       
  1369                 | EEikEdwinAllowPictures;
       
  1370         width = 0;  // These 0's are not really needed
       
  1371         height = 0; 
       
  1372         numlines = 0;
       
  1373         default_case = EAknEditorTextCase;
       
  1374         allowed_case_modes = EAknEditorAllCaseModes;
       
  1375         numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
  1376         special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
       
  1377         
       
  1378         max_view_height_in_lines = 0;
       
  1379         };
       
  1380     }  
       
  1381     
       
  1382 // ---------------------------------------------------------
       
  1383 // r_calen_editor_db_name_item
       
  1384 // Define "Entry Belongs To" line in unified editor 
       
  1385 // ---------------------------------------------------------
       
  1386 //
       
  1387 RESOURCE DLG_LINE r_calen_editor_db_name_item
       
  1388     {
       
  1389     type = EAknCtPopupField;
       
  1390     prompt = qtn_cale_db_entry_belongs_to;
       
  1391     id = ECalenEditorDBName;
       
  1392     itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys | 
       
  1393                 EAknPopupFieldFlagInitialised;
       
  1394     control = POPUP_FIELD
       
  1395         {
       
  1396         flags = 0;
       
  1397         width = 15;
       
  1398         other = " ";
       
  1399         };
       
  1400     }    
       
  1401 
       
  1402 // ---------------------------------------------------------
       
  1403 // r_calen_editor_attachment_item
       
  1404 // Define "Attachment" in unified editor
       
  1405 // ---------------------------------------------------------
       
  1406 //
       
  1407 RESOURCE DLG_LINE r_calen_editor_attachment_item
       
  1408     {
       
  1409     type = EEikCtRichTextEditor;
       
  1410     prompt = qtn_cale_label_attachment;
       
  1411     id = ECalenEditorAttachment;
       
  1412     itemflags = EEikDlgItemAsLabel | EEikEdwinAlwaysShowSelection | 
       
  1413                 EEikEdwinUserSuppliedText | /*EEikEdwinAvkonDisableCursor |*/
       
  1414                 EEikEdwinAvkonNotEditable | EEikRTedNoTextParsers;
       
  1415     control = RTXTED
       
  1416         {
       
  1417         flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
       
  1418                 EEikEdwinNoAutoSelection | EEikEdwinReadOnly /*|
       
  1419                 EEikEdwinAvkonDisableCursor*/ | EEikEdwinAvkonNotEditable |
       
  1420                 EEikEdwinIgnoreVirtualCursor | EEikEdwinJustAutoCurEnd;
       
  1421         width = 0;  // These 0's are not really needed
       
  1422         height = 0; 
       
  1423         numlines = 0;
       
  1424         default_case = EAknEditorTextCase;
       
  1425         allowed_case_modes = EAknEditorAllCaseModes;
       
  1426         numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
  1427         special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
       
  1428          
       
  1429         max_view_height_in_lines = 0;
       
  1430         };
       
  1431     }
       
  1432  
       
  1433 // ---------------------------------------------------------
       
  1434 // r_calen_editor_description_item
       
  1435 // Define "Description" line of Note Form
       
  1436 // Description can't be edited
       
  1437 // ---------------------------------------------------------
       
  1438 //
       
  1439 RESOURCE DLG_LINE r_calen_editor_description_item
       
  1440     {
       
  1441     type = ECalenCtDescriptionField;
       
  1442     prompt = qtn_cale_label_description;
       
  1443     id = ECalenEditorDescription;
       
  1444     itemflags = EEikDlgItemTakesEnterKey |
       
  1445                 EEikDlgItemOfferAllHotKeys;
       
  1446     control = EDWIN
       
  1447         {
       
  1448         flags = EEikEdwinNoAutoSelection |
       
  1449                 EEikEdwinNoWrap |
       
  1450                 EEikEdwinNoHorizScrolling |
       
  1451                 EEikEdwinReadOnly |
       
  1452                 EEikEdwinAvkonNotEditable |
       
  1453                 EEikEdwinAvkonDisableCursor;
       
  1454         maxlength = ECalenAbsoluteMaxTextEditorLength;
       
  1455         lines = 1;
       
  1456         max_view_height_in_lines = 1;
       
  1457         avkon_flags = EAknEditorFlagDefault |
       
  1458                       EAknEditorFlagNoEditIndicators |
       
  1459                       EAknEditorFlagNoLRNavigation;
       
  1460 
       
  1461         };
       
  1462     }
       
  1463 
       
  1464 // ---------------------------------------------------------
       
  1465 // r_calen_editor_event_type_popup_items
       
  1466 // Define items of "Event Type" popup list.
       
  1467 // ---------------------------------------------------------
       
  1468 //
       
  1469 RESOURCE ARRAY r_calen_editor_event_type_popup_items
       
  1470     {
       
  1471     items=
       
  1472         {
       
  1473         LBUF
       
  1474             {
       
  1475             txt = qtn_cale_item_meeting;
       
  1476             },
       
  1477         LBUF
       
  1478             {
       
  1479             txt = qtn_cale_note_anniversary;
       
  1480             },
       
  1481         LBUF
       
  1482             {
       
  1483             txt = qtn_cale_item_todo;
       
  1484             }
       
  1485         };
       
  1486     }
       
  1487 
       
  1488 // ---------------------------------------------------------
       
  1489 // r_calen_editor_priority_popup_items
       
  1490 // Define items of "priority" popup list.
       
  1491 // ---------------------------------------------------------
       
  1492 //
       
  1493 RESOURCE ARRAY r_calen_editor_priority_popup_items
       
  1494     {
       
  1495     items=
       
  1496         {
       
  1497         LBUF
       
  1498             {
       
  1499             txt = qtn_cale_viewer_prio_high;
       
  1500             },
       
  1501         LBUF
       
  1502             {
       
  1503             txt = qtn_cale_viewer_prio_normal ;
       
  1504             },
       
  1505         LBUF
       
  1506             {
       
  1507             txt = qtn_cale_viewer_prio_low;
       
  1508             }
       
  1509         };
       
  1510     }
       
  1511 // ---------------------------------------------------------
       
  1512 // r_calen_editor_reminder_popup_items
       
  1513 // Define items of "Reminder" popup list.
       
  1514 // ---------------------------------------------------------
       
  1515 //
       
  1516 RESOURCE ARRAY r_calen_editor_reminder_popup_items
       
  1517     {
       
  1518     items=
       
  1519         {
       
  1520         LBUF
       
  1521             {
       
  1522             txt = qtn_chi_cale_lunar_cale_on;
       
  1523             },
       
  1524         LBUF
       
  1525             {
       
  1526             txt = qtn_cale_alarm_off;
       
  1527             }
       
  1528         };
       
  1529     }
       
  1530 
       
  1531 // ---------------------------------------------------------
       
  1532 // r_calen_editor_repeat_popup_items
       
  1533 // Define items of "Repeat" popup list.
       
  1534 // ---------------------------------------------------------
       
  1535 //
       
  1536 RESOURCE ARRAY r_calen_editor_repeat_popup_items
       
  1537     {
       
  1538     items=
       
  1539         {
       
  1540         LBUF
       
  1541             {
       
  1542             txt = qtn_calen_does_not_repeat;
       
  1543             },
       
  1544         LBUF
       
  1545             {
       
  1546             txt = qtn_calen_repeat_daily ;
       
  1547             },
       
  1548         LBUF
       
  1549             {
       
  1550             txt = qtn_calen_repeat_weekdays;
       
  1551             },
       
  1552         LBUF
       
  1553             {
       
  1554             txt = qtn_calen_repeat_weekly;
       
  1555             },
       
  1556         LBUF
       
  1557             {
       
  1558             txt = qtn_calen_repeat_forthnightly;
       
  1559             },
       
  1560         LBUF
       
  1561             {
       
  1562             txt = qtn_cale_repeat_monthly;
       
  1563             },
       
  1564         LBUF
       
  1565             {
       
  1566             txt = qtn_calen_repeat_yearly;
       
  1567             }
       
  1568         };
       
  1569     }
       
  1570 
       
  1571 RESOURCE TBUF r_qtn_cale_unified_editor_title
       
  1572     {
       
  1573     buf = qtn_cale_title_calendar;
       
  1574     }
       
  1575 
       
  1576 // ---------------------------------------------------------
       
  1577 // r_calen_unified_editor_menubar
       
  1578 // Menubar for unified editor
       
  1579 // ---------------------------------------------------------
       
  1580 //
       
  1581 RESOURCE MENU_BAR r_calen_unified_editor_menubar
       
  1582     {
       
  1583     titles=
       
  1584         {
       
  1585         MENU_TITLE
       
  1586             {
       
  1587             menu_pane = r_calen_unified_editor_menupane;
       
  1588             txt = " "; // Dummy
       
  1589             }
       
  1590         };
       
  1591     }
       
  1592 
       
  1593 // ---------------------------------------------------------
       
  1594 // r_calen_unified_editor_menupane
       
  1595 // Editor implementation dynamically adds all parts
       
  1596 // of menu pane to this. 
       
  1597 // ---------------------------------------------------------
       
  1598 //
       
  1599 RESOURCE MENU_PANE r_calen_unified_editor_menupane
       
  1600     {
       
  1601     items=
       
  1602         {
       
  1603         };
       
  1604     }
       
  1605 
       
  1606 // ---------------------------------------------------------
       
  1607 // r_calen_unified_editor_default_menupane
       
  1608 // ---------------------------------------------------------
       
  1609 //
       
  1610 RESOURCE MENU_PANE r_calen_unified_editor_default_menupane
       
  1611     {
       
  1612     items =
       
  1613         {
       
  1614         MENU_ITEM
       
  1615             {
       
  1616             command = ECalenCmdCancel;
       
  1617             txt = qtn_cale_om_cancel_changes;
       
  1618             },
       
  1619         MENU_ITEM
       
  1620             {
       
  1621             command = ECalenCmdAddPeople;
       
  1622             txt = qtn_calen_add_people_from_contact_book;
       
  1623             },
       
  1624         MENU_ITEM
       
  1625             {
       
  1626             command = ECalenGetLocation;
       
  1627             txt = qtn_cale_om_assign_from_map;
       
  1628             },
       
  1629         MENU_ITEM
       
  1630             {
       
  1631             command = ECalenDeleteCurrentEntry;
       
  1632             txt = qtn_cale_om_delete;
       
  1633             },
       
  1634         MENU_ITEM
       
  1635             {
       
  1636             command = EAknCmdHelp;
       
  1637             txt = qtn_options_help;
       
  1638             },
       
  1639         MENU_ITEM
       
  1640             {
       
  1641             command = EAknSoftkeyExit;
       
  1642             txt = qtn_options_exit;
       
  1643             }
       
  1644         };
       
  1645     }
       
  1646 
       
  1647 RESOURCE TBUF r_qtn_cale_attachment_none
       
  1648     {
       
  1649     buf = qtn_cale_confident_none;
       
  1650     }
       
  1651 
       
  1652 // ---------------------------------------------------------
       
  1653 // Attachments Options-menu items
       
  1654 // ---------------------------------------------------------
       
  1655 //
       
  1656 RESOURCE MENU_PANE r_calen_editor_attachments_menupane
       
  1657     {
       
  1658     items =
       
  1659         {
       
  1660         MENU_ITEM
       
  1661             {
       
  1662             command = ECalenCmdAddAttachment;
       
  1663             txt = qtn_calen_editor_opt_add_attachment;
       
  1664             },
       
  1665         MENU_ITEM
       
  1666             {
       
  1667             command = ECalenCmdRemoveAttachment;
       
  1668             txt = qtn_cale_opt_remove_attachment;
       
  1669             }
       
  1670         };
       
  1671     }
       
  1672 
       
  1673 // ---------------------------------------------------------
       
  1674 // Description list query
       
  1675 // List query for the description types
       
  1676 // ---------------------------------------------------------
       
  1677 RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_description_list_query
       
  1678     {
       
  1679     flags = EGeneralQueryFlags;
       
  1680     softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
       
  1681     items =
       
  1682         {
       
  1683         AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE
       
  1684             {
       
  1685             control = AVKON_LIST_QUERY_CONTROL
       
  1686                 {
       
  1687                 listtype = EAknCtSinglePopupMenuListBox;
       
  1688                 listbox = AVKON_LIST_QUERY_LIST
       
  1689                     {
       
  1690                     array_id = r_description_list_query_array;
       
  1691                     };
       
  1692                 heading = text_softkey_select;
       
  1693                 };
       
  1694             }
       
  1695         };
       
  1696     }
       
  1697 
       
  1698 // ---------------------------------------------------------
       
  1699 // Description list query array
       
  1700 // List of the description types
       
  1701 // ---------------------------------------------------------
       
  1702 RESOURCE ARRAY r_description_list_query_array
       
  1703     {
       
  1704     items=
       
  1705         {
       
  1706         LBUF { txt = qtn_cale_om_descript_new; },
       
  1707         LBUF { txt = qtn_cale_om_descript_exist; }
       
  1708         };
       
  1709     }
       
  1710 
       
  1711 // End of File