calendarui/editors/data/CalenDefaultEditorsData.rss
changeset 0 f979ecb2b13e
child 5 42814f902fe6
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     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 = EAknCmdExit;
       
   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 = EAknCmdExit;
       
   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 
       
   369 RESOURCE TBUF r_qtn_cale_inote_desc_del_memo
       
   370     {
       
   371     buf = qtn_cale_inote_desc_del_memo;
       
   372     }
       
   373 
       
   374 // ---------------------------------------------------------
       
   375 //
       
   376 //    r_todo_todonote_title
       
   377 //    To-Do's note view identify id.
       
   378 //    32 characters is not exceeded.
       
   379 //
       
   380 // ---------------------------------------------------------
       
   381 //
       
   382 RESOURCE TBUF32 r_todo_todonote_title
       
   383     { 
       
   384     buf = qtn_todo_note_header;
       
   385     }
       
   386 
       
   387 // ---------------------------------------------------------
       
   388 //
       
   389 //    r_todo_delete_wait_note
       
   390 //    Wait note for deleting marked items
       
   391 //
       
   392 // ---------------------------------------------------------
       
   393 //
       
   394 RESOURCE DIALOG r_todo_delete_wait_note
       
   395     {
       
   396     flags = EAknWaitNoteFlags;
       
   397     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   398     items=
       
   399         {
       
   400         DLG_LINE
       
   401             {
       
   402             type = EAknCtNote;
       
   403             id = ETodoNoteWait;
       
   404             control = AVKON_NOTE
       
   405                 { 
       
   406                 layout = EWaitLayout;
       
   407                 singular_label = qtn_todo_wait_deleting_notes;
       
   408                 imagefile = AVKON_ICON_FILE;
       
   409                 imageid = EMbmAvkonQgn_note_erased;
       
   410                 imagemask = EMbmAvkonQgn_note_erased_mask;
       
   411                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
   412                 ///animation = R_QGN_NOTE_ERASED_ANIM;
       
   413                 };
       
   414             }
       
   415         };
       
   416     }
       
   417 
       
   418 // ---------------------------------------------------------
       
   419 //
       
   420 //    r_qtn_cale_info_note_ends_before
       
   421 //    This error message is shown
       
   422 //    when end date/time is earlier than start.
       
   423 //
       
   424 // ---------------------------------------------------------
       
   425 //
       
   426 RESOURCE TBUF r_qtn_cale_info_note_ends_before
       
   427     {
       
   428     buf = qtn_cale_info_note_ends_before;
       
   429     }
       
   430 
       
   431 // ---------------------------------------------------------
       
   432 //
       
   433 //    r_qtn_cale_date_alarm_past
       
   434 //    This message is shown if alarm date is 1000 days or more past
       
   435 //    to note date.
       
   436 //
       
   437 // ---------------------------------------------------------
       
   438 //
       
   439 RESOURCE TBUF r_qtn_cale_date_alarm_past
       
   440     {
       
   441     buf = qtn_cale_date_alarm_past;
       
   442     }
       
   443 
       
   444 // ---------------------------------------------------------
       
   445 //
       
   446 //    r_qtn_cale_later_date
       
   447 //    This message is shown if alarm time is later than note.
       
   448 //
       
   449 // ---------------------------------------------------------
       
   450 //
       
   451 RESOURCE TBUF r_qtn_cale_later_date
       
   452     {
       
   453     buf = qtn_cale_later_date;
       
   454     }
       
   455 
       
   456 // ---------------------------------------------------------
       
   457 //
       
   458 //    r_qtn_cale_not_expired
       
   459 //    This message is shown if alarm is set to past note.
       
   460 //
       
   461 // ---------------------------------------------------------
       
   462 //
       
   463 RESOURCE TBUF r_qtn_cale_not_expired
       
   464     {
       
   465     buf = qtn_cale_not_expired;
       
   466     }
       
   467 
       
   468 // ---------------------------------------------------------
       
   469 //
       
   470 //    r_qtn_cale_info_repeat_invalid
       
   471 //    This message is shown if date of Repeat until is past
       
   472 //    to note date.
       
   473 //
       
   474 // ---------------------------------------------------------
       
   475 //
       
   476 RESOURCE TBUF r_qtn_cale_info_repeat_invalid
       
   477     {
       
   478     buf = qtn_cale_info_repeat_invalid;
       
   479     }
       
   480 
       
   481 // ---------------------------------------------------------
       
   482 //
       
   483 //    r_qtn_cale_info_note_duration_too_long_for_daily
       
   484 //    This message is shown if repeat is set to daily and
       
   485 //    the duration of the entry is greater than one day
       
   486 //
       
   487 // ---------------------------------------------------------
       
   488 //
       
   489 RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_daily
       
   490     {
       
   491     buf = qtn_cale_note_cannot_occur_daily;
       
   492     }
       
   493 
       
   494 // ---------------------------------------------------------
       
   495 //
       
   496 //    r_qtn_cale_info_note_duration_too_long_for_weekly
       
   497 //    This message is shown if repeat is set to weekly and
       
   498 //    the duration of the entry is greater than one week
       
   499 //
       
   500 // ---------------------------------------------------------
       
   501 //
       
   502 RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_weekly
       
   503     {
       
   504     buf = qtn_cale_note_cannot_occur_weekly;
       
   505     }
       
   506 
       
   507 // ---------------------------------------------------------
       
   508 //
       
   509 //    r_qtn_cale_info_note_duration_too_long_for_biweekly
       
   510 //    This message is shown if repeat is set to biweekly and
       
   511 //    the duration of the entry is greater than two weeks
       
   512 //
       
   513 // ---------------------------------------------------------
       
   514 //
       
   515 RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_biweekly
       
   516     {
       
   517     buf = qtn_cale_note_cannot_occur_fortnightly;
       
   518     }
       
   519 
       
   520 // ---------------------------------------------------------
       
   521 //
       
   522 //    r_qtn_cale_info_note_duration_too_long_for_monthly
       
   523 //    This message is shown if repeat is set to monthly and
       
   524 //    the duration of the entry is greater than one month
       
   525 //
       
   526 // ---------------------------------------------------------
       
   527 //
       
   528 RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_monthly
       
   529     {
       
   530     buf = qtn_cale_note_cannot_occur_monthly;
       
   531     }
       
   532 
       
   533 // ---------------------------------------------------------
       
   534 //
       
   535 //    r_qtn_cale_info_note_duration_too_long_for_yearly
       
   536 //    This message is shown if repeat is set to yearly and
       
   537 //    the duration of the entry is greater than one year
       
   538 //
       
   539 // ---------------------------------------------------------
       
   540 //
       
   541 RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_yearly
       
   542     {
       
   543     buf = qtn_cale_note_cannot_occur_yearly;
       
   544     }
       
   545 
       
   546 
       
   547 RESOURCE TBUF r_qtn_cale_note_child_out_of_sequence
       
   548     {
       
   549     buf = qtn_cale_note_child_out_of_sequence;
       
   550     }
       
   551 
       
   552 RESOURCE TBUF r_qtn_cale_note_child_same_day
       
   553     {
       
   554     buf = qtn_cale_note_child_same_day;
       
   555     }
       
   556 
       
   557 RESOURCE TBUF r_qtn_cale_note_child_overlap
       
   558     {
       
   559     buf = qtn_cale_note_child_overlap;
       
   560     }
       
   561 
       
   562 // ---------------------------------------------------------
       
   563 //
       
   564 //    r_qtn_allday_event_yes
       
   565 //    String to display 'Yes' in AllDay field in UnifiedEditor
       
   566 //
       
   567 // ---------------------------------------------------------
       
   568 //
       
   569 RESOURCE TBUF r_qtn_allday_event_yes
       
   570     {
       
   571     buf = qtn_cale_item_yes;
       
   572     }
       
   573 
       
   574 // ---------------------------------------------------------
       
   575 //
       
   576 //    r_qtn_allday_event_no
       
   577 //    String to display 'NO' in AllDay field in UnifiedEditor
       
   578 //
       
   579 // ---------------------------------------------------------
       
   580 //
       
   581 RESOURCE TBUF r_qtn_allday_event_no
       
   582     {
       
   583     buf = qtn_cale_item_no;
       
   584     }
       
   585 
       
   586 // ---------------------------------------------------------
       
   587 //
       
   588 //    r_qtn_cale_note_db_conflict
       
   589 //    Shown if another application causes a database conflict
       
   590 //
       
   591 // ---------------------------------------------------------
       
   592 //
       
   593 RESOURCE TBUF r_qtn_cale_note_db_conflict
       
   594     {
       
   595     buf = qtn_cale_note_db_conflict;
       
   596     }
       
   597 
       
   598 // ---------------------------------------------------------
       
   599 //
       
   600 //    r_qtn_cale_note_db_modified
       
   601 //    Shown if another application causes a database conflict
       
   602 //
       
   603 // ---------------------------------------------------------
       
   604 //
       
   605 RESOURCE TBUF r_qtn_cale_note_db_modified
       
   606     {
       
   607     buf = qtn_cale_note_db_modified;
       
   608     }
       
   609 
       
   610 //    r_calen_repeat_note_start_changed
       
   611 //    This message is shown if date of Start Date is updated
       
   612 //    to old repeat note.
       
   613 //
       
   614 // ---------------------------------------------------------
       
   615 //
       
   616 RESOURCE DIALOG r_calen_repeat_note_start_changed
       
   617     {
       
   618     flags = EGeneralQueryFlags;
       
   619     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   620     items=
       
   621         {
       
   622         DLG_LINE
       
   623             {
       
   624             type = EAknCtQuery;
       
   625             id = EGeneralQuery;
       
   626             control = AVKON_CONFIRMATION_QUERY
       
   627                 {
       
   628                 layout = EConfirmationLayout;
       
   629                 label = qtn_cale_quest_change_start_day;
       
   630                 };
       
   631             }
       
   632         };
       
   633     }
       
   634 
       
   635 // ---------------------------------------------------------
       
   636 //
       
   637 //    r_calen_meeting_note_title
       
   638 //    Define title of meeting note
       
   639 //
       
   640 // ---------------------------------------------------------
       
   641 //
       
   642 RESOURCE TBUF r_calen_meeting_note_title
       
   643     {
       
   644     buf = text_calendar_title_meeting;
       
   645     }
       
   646 
       
   647 // ---------------------------------------------------------
       
   648 //
       
   649 //    r_calen_anniv_note_title
       
   650 //    Define title of birthday note
       
   651 //
       
   652 // ---------------------------------------------------------
       
   653 //
       
   654 RESOURCE TBUF r_calen_anniv_note_title
       
   655     {
       
   656     buf = qtn_cale_anniversary_title;
       
   657     }
       
   658 
       
   659 // ---------------------------------------------------------
       
   660 //
       
   661 //    r_calen_day_note_title
       
   662 //    Define title of day note
       
   663 //
       
   664 // ---------------------------------------------------------
       
   665 //
       
   666 RESOURCE TBUF r_calen_day_note_title
       
   667     {
       
   668     buf = qtn_cale_title_daynote;
       
   669     }
       
   670 
       
   671 
       
   672 
       
   673 
       
   674 // ---------------------------------------------------------
       
   675 //
       
   676 //    r_calen_msk_change_cba
       
   677 //    CBA with MSK button "Change"
       
   678 //
       
   679 // ---------------------------------------------------------
       
   680 //
       
   681 RESOURCE CBA r_calen_msk_change_cba
       
   682     {
       
   683     buttons =
       
   684         {
       
   685         CBA_BUTTON
       
   686             {
       
   687             id=EAknSoftkeyOptions;
       
   688             txt=text_softkey_option;
       
   689             },
       
   690         CBA_BUTTON
       
   691             {
       
   692             id=EAknSoftkeyDone;
       
   693             txt=text_softkey_done;
       
   694             },
       
   695         CBA_BUTTON
       
   696             {
       
   697             id=EAknSoftkeyChange;
       
   698             txt=qtn_msk_change;
       
   699             }
       
   700            
       
   701        };
       
   702     
       
   703     }    
       
   704 
       
   705 // ---------------------------------------------------------
       
   706 //
       
   707 //    r_calen_msk_open_cba
       
   708 //    CBA with MSK button "Open"
       
   709 //
       
   710 // ---------------------------------------------------------
       
   711 //
       
   712 RESOURCE CBA r_calen_msk_open_cba
       
   713     {
       
   714     buttons =
       
   715         {
       
   716         CBA_BUTTON
       
   717             {
       
   718             id=EAknSoftkeyOptions;
       
   719             txt=text_softkey_option;
       
   720             },
       
   721         CBA_BUTTON
       
   722             {
       
   723             id=EAknSoftkeyDone;
       
   724             txt=text_softkey_done;
       
   725             },
       
   726         CBA_BUTTON
       
   727             {
       
   728             id=EAknSoftkeyOpen; 
       
   729             txt=qtn_msk_open;
       
   730             }
       
   731        };
       
   732     }    
       
   733 
       
   734 // ---------------------------------------------------------
       
   735 //
       
   736 //    r_calen_msk_empty_cba
       
   737 //    CBA with empty MSK button 
       
   738 //
       
   739 // ---------------------------------------------------------
       
   740 //
       
   741 RESOURCE CBA r_calen_msk_empty_cba
       
   742     {
       
   743     buttons =
       
   744         {
       
   745         CBA_BUTTON
       
   746             {
       
   747             id=EAknSoftkeyOptions;
       
   748             txt=text_softkey_option;
       
   749             },
       
   750         CBA_BUTTON
       
   751             {
       
   752             id=EAknSoftkeyDone;
       
   753             txt=text_softkey_done;
       
   754             },
       
   755         CBA_BUTTON
       
   756             {
       
   757             id=EAknSoftkeyEmpty; 
       
   758             txt=text_softkey_empty;
       
   759             }
       
   760        };
       
   761     }    
       
   762 
       
   763 // ---------------------------------------------------------
       
   764 //
       
   765 //    r_calen_msk_empty_cba
       
   766 //    CBA with frommap MSK button 
       
   767 //
       
   768 // ---------------------------------------------------------
       
   769 //
       
   770 RESOURCE CBA r_calen_msk_frommap_cba
       
   771     {
       
   772     buttons =
       
   773         {
       
   774         CBA_BUTTON
       
   775             {
       
   776             id=EAknSoftkeyOptions;
       
   777             txt=text_softkey_option;
       
   778             },
       
   779         CBA_BUTTON
       
   780             {
       
   781             id=EAknSoftkeyDone;
       
   782             txt=text_softkey_done;
       
   783             },
       
   784         CBA_BUTTON
       
   785             {
       
   786             id=ECalenGetLocation; 
       
   787             txt=text_softkey_from_map;
       
   788             }
       
   789        };
       
   790     }   
       
   791 
       
   792 //----------------------------------------------------
       
   793 //
       
   794 //    r_calen_geovalues_removal_note
       
   795 //    Geo Values Removal query
       
   796 //
       
   797 //----------------------------------------------------
       
   798 //
       
   799 RESOURCE DIALOG r_calen_geovalues_removal_note
       
   800     {
       
   801     flags = EGeneralQueryFlags;
       
   802     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   803     items=
       
   804         {
       
   805         DLG_LINE
       
   806             {
       
   807             type = EAknCtQuery;
       
   808             id = EGeneralQuery;
       
   809             control = AVKON_CONFIRMATION_QUERY
       
   810                 {
       
   811                 layout = EConfirmationLayout;
       
   812                 };
       
   813             }
       
   814         };
       
   815     }
       
   816     
       
   817 // ---------------------------------------------------------
       
   818 //
       
   819 //    r_calen_qtn_todo_quest_delete_marked_notes
       
   820 //    Remove GeoValues
       
   821 //
       
   822 // ---------------------------------------------------------
       
   823 //
       
   824 RESOURCE TBUF r_calen_qtn_geovalues_removal
       
   825     {
       
   826     buf = qtn_cale_confirm_keep_coordinates;
       
   827     }
       
   828 
       
   829 // ---------------------------------------------------------
       
   830 //
       
   831 //    r_qtn_alarm_active
       
   832 //    Define "On" to "Alarm:" line of Note Form
       
   833 //
       
   834 // ---------------------------------------------------------
       
   835 //
       
   836 RESOURCE TBUF r_qtn_alarm_active
       
   837     {
       
   838     buf = qtn_cale_alarm_active;
       
   839     }
       
   840 // ---------------------------------------------------------
       
   841 //
       
   842 //    r_qtn_alarm_off
       
   843 //    Define "Off" to "Alarm:" line of Note Form
       
   844 //
       
   845 // ---------------------------------------------------------
       
   846 //
       
   847  RESOURCE TBUF r_qtn_alarm_off
       
   848     {
       
   849     buf = qtn_cale_alarm_off;
       
   850     }
       
   851 
       
   852     
       
   853 // ---------------------------------------------------------
       
   854 // r_calen_unified_editor
       
   855 // resource definition for unified editor 
       
   856 // ---------------------------------------------------------
       
   857 //
       
   858  RESOURCE DIALOG r_calen_unified_editor
       
   859      {
       
   860      flags = EEikDialogFlagNoDrag 
       
   861          |   EEikDialogFlagFillAppClientRect 
       
   862          |   EEikDialogFlagButtonsRight 
       
   863          |   EEikDialogFlagCbaButtons
       
   864          |   EEikDialogFlagWait 
       
   865          |   EEikDialogFlagNoTitleBar
       
   866          |   EEikDialogFlagDontEatUpDownEvents
       
   867          |   EEikDialogFlagNotifyEsc;
       
   868 
       
   869      buttons = R_AVKON_SOFTKEYS_OPTIONS_DONE;
       
   870      form = r_calen_unified_editor_form;
       
   871      }
       
   872 
       
   873 // ---------------------------------------------------------
       
   874 // r_calen_unified_editor_form
       
   875 // Define items of unified editor
       
   876 // ---------------------------------------------------------
       
   877 //
       
   878  RESOURCE FORM r_calen_unified_editor_form
       
   879      {
       
   880      flags = EEikFormUseDoubleSpacedFormat;
       
   881      items =
       
   882          {
       
   883          DLG_LINE_INDIRECT
       
   884              {
       
   885              line = r_calen_editor_event_type_item;
       
   886              },
       
   887          DLG_LINE_INDIRECT
       
   888              {
       
   889              line = r_calen_editor_subject_item;
       
   890              }
       
   891          };
       
   892      }
       
   893  
       
   894 // ---------------------------------------------------------
       
   895 // r_calen_editor_subject_item
       
   896 // Define "Subject" line in unified editor 
       
   897 // ---------------------------------------------------------
       
   898 //
       
   899  RESOURCE DLG_LINE r_calen_editor_subject_item
       
   900      {
       
   901      type = EEikCtEdwin;
       
   902      prompt = qtn_cale_note_subject;
       
   903      id = ECalenEditorSubject;
       
   904      itemflags = EEikDlgItemTakesEnterKey;
       
   905      control = EDWIN
       
   906          {
       
   907          flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
       
   908                  EEikEdwinNoAutoSelection | EEikEdwinJustAutoCurEnd;
       
   909          maxlength = ECalenAbsoluteMaxTextEditorLength;
       
   910          default_case = EAknEditorTextCase;
       
   911          allowed_case_modes = EAknEditorAllCaseModes;
       
   912          numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
   913          special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
       
   914          avkon_flags = EAknEditorFlagUseSCTNumericCharmap |
       
   915                        EAknEditorFlagDefault |
       
   916                        EAknEditorFlagEnablePictographInput;
       
   917          // let Avkon decide which is maximum number of lines
       
   918          // It's based on layout.
       
   919          max_view_height_in_lines = 0;
       
   920          };
       
   921      }
       
   922  
       
   923 // ---------------------------------------------------------
       
   924 // r_calen_editor_event_type_item
       
   925 // Define "Event Type" line in unified editor 
       
   926 // ---------------------------------------------------------
       
   927 //
       
   928  RESOURCE DLG_LINE r_calen_editor_event_type_item
       
   929      {
       
   930      type = EAknCtPopupField;
       
   931      prompt = qtn_cale_label_event_type;
       
   932      id = ECalenEditorEventType;
       
   933      itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
   934      control = POPUP_FIELD
       
   935          {
       
   936          flags = 0;
       
   937          width = 15;
       
   938          other = " ";
       
   939          };
       
   940      }
       
   941  
       
   942 // ---------------------------------------------------------
       
   943 // r_calen_editor_all_day_item
       
   944 // Define "All Day" line in unified editor 
       
   945 // ---------------------------------------------------------
       
   946 //
       
   947 RESOURCE DLG_LINE r_calen_editor_all_day_item
       
   948     {
       
   949     type = EEikCtEdwin;
       
   950     prompt = qtn_cale_label_all_day;
       
   951     id = ECalenEditorAllDayItem;
       
   952     itemflags = EEikDlgItemTakesEnterKey;
       
   953     control = EDWIN
       
   954         {
       
   955         flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
       
   956                 EEikEdwinNoAutoSelection | EEikEdwinReadOnly|
       
   957                 EEikEdwinAvkonDisableCursor|EEikEdwinAvkonNotEditable |EEikEdwinDisplayOnly ;
       
   958         maxlength = ECalenAbsoluteMaxTextEditorLength;
       
   959         default_case = EAknEditorTextCase;
       
   960         allowed_case_modes = EAknEditorAllCaseModes;
       
   961         numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
   962         special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
       
   963         avkon_flags = EAknEditorFlagUseSCTNumericCharmap |
       
   964                       EAknEditorFlagDefault | 
       
   965                       EAknEditorFlagEnablePictographInput;
       
   966         // let Avkon decide which is maximum number of lines
       
   967         // It's based on layout.
       
   968         max_view_height_in_lines = 0;
       
   969         };
       
   970     
       
   971     
       
   972     }
       
   973  
       
   974 // ---------------------------------------------------------
       
   975 // r_calen_editor_due_date_item
       
   976 // Define "Due date" line in unified editor 
       
   977 // ---------------------------------------------------------
       
   978 //
       
   979 RESOURCE DLG_LINE r_calen_editor_due_date_item
       
   980     {
       
   981     type = EEikCtDateEditor;
       
   982     prompt = qtn_cale_viewer_due_date;
       
   983     id = ECalenEditorDueDate;
       
   984     control = DATE_EDITOR 
       
   985         {
       
   986         minDate = DATE
       
   987             {
       
   988             day = ECalenMinDay;
       
   989             month = ECalenMinMonth;
       
   990             year = ECalenMinYear;
       
   991             };
       
   992         maxDate = DATE
       
   993             {
       
   994             day = ECalenMaxDay;
       
   995             month = ECalenMaxMonth;
       
   996             year = ECalenMaxYear;
       
   997             };
       
   998         };
       
   999     }
       
  1000  
       
  1001 // ---------------------------------------------------------
       
  1002 // r_qtn_calen_editor_due_date
       
  1003 // To define "Due Date" string for To-Do Entry in unified editor 
       
  1004 // ---------------------------------------------------------
       
  1005 //
       
  1006 RESOURCE TBUF r_qtn_calen_editor_due_date
       
  1007     {
       
  1008     buf = qtn_todo_note_duedate;
       
  1009     }
       
  1010 
       
  1011 // ---------------------------------------------------------
       
  1012 // r_qtn_calen_editor_date_of_birth
       
  1013 // To define "Date of Birth" string for Birthday Entry in unified editor 
       
  1014 // ---------------------------------------------------------
       
  1015 //
       
  1016 RESOURCE TBUF r_qtn_calen_editor_date_of_birth
       
  1017     {
       
  1018     buf = qtn_cale_label_date;
       
  1019     }
       
  1020 
       
  1021 // ---------------------------------------------------------
       
  1022 // r_calen_editor_start_time_item
       
  1023 // Define the "Start time" line in unified editor 
       
  1024 // ---------------------------------------------------------
       
  1025 //
       
  1026 RESOURCE DLG_LINE r_calen_editor_start_time_item
       
  1027     {
       
  1028     type = EEikCtTimeEditor;
       
  1029     prompt = qtn_cale_label_start_time;
       
  1030     id = ECalenEditorStartTime;
       
  1031     control = TIME_EDITOR
       
  1032         {
       
  1033         minTime = TIME
       
  1034             {
       
  1035             minute = ECalenMinMinute;
       
  1036             hour = ECalenMinHour;
       
  1037             };
       
  1038         maxTime = TIME
       
  1039             {
       
  1040             minute = ECalenMaxMinute;
       
  1041             hour = ECalenMaxHour;
       
  1042             };
       
  1043         flags = EEikTimeWithoutSecondsField;
       
  1044         };
       
  1045     }
       
  1046 
       
  1047 // ---------------------------------------------------------
       
  1048 // r_calen_editor_end_time_item
       
  1049 // Define "End time" line in unified editor 
       
  1050 // ---------------------------------------------------------
       
  1051 //
       
  1052 RESOURCE DLG_LINE r_calen_editor_end_time_item
       
  1053     {
       
  1054     type = EEikCtTimeEditor;
       
  1055     prompt = qtn_cale_note_end_meet_time;
       
  1056     id = ECalenEditorEndTime;
       
  1057     control = TIME_EDITOR
       
  1058         {
       
  1059         minTime = TIME
       
  1060             {
       
  1061             minute = ECalenMinMinute;
       
  1062             hour = ECalenMinHour;
       
  1063             };
       
  1064         maxTime = TIME
       
  1065             {
       
  1066             minute = ECalenMaxMinute;
       
  1067             hour = ECalenMaxHour;
       
  1068             };
       
  1069         flags = EEikTimeWithoutSecondsField;
       
  1070         };
       
  1071     }
       
  1072 
       
  1073 // ---------------------------------------------------------
       
  1074 // r_calen_editor_start_date_item
       
  1075 // Define "Start Date" line in unified editor 
       
  1076 // ---------------------------------------------------------
       
  1077 //
       
  1078 RESOURCE DLG_LINE r_calen_editor_start_date_item
       
  1079     {
       
  1080     type = EEikCtDateEditor;
       
  1081     prompt = qtn_cale_label_start_date;
       
  1082     id = ECalenEditorStartDate;
       
  1083     control = DATE_EDITOR
       
  1084         {
       
  1085         minDate = DATE
       
  1086             {
       
  1087             day = ECalenMinDay;
       
  1088             month = ECalenMinMonth;
       
  1089             year = ECalenMinYear;
       
  1090             };
       
  1091         maxDate = DATE
       
  1092             {
       
  1093             day = ECalenMaxDay;
       
  1094             month = ECalenMaxMonth;
       
  1095             year = ECalenMaxYear;
       
  1096             };
       
  1097         };
       
  1098     }
       
  1099 
       
  1100 // ---------------------------------------------------------
       
  1101 // r_calen_editor_end_date_item
       
  1102 // Define "End Date" line in unified editor 
       
  1103 // ---------------------------------------------------------
       
  1104 //
       
  1105 RESOURCE DLG_LINE r_calen_editor_end_date_item
       
  1106     {
       
  1107     type = EEikCtDateEditor;
       
  1108     prompt = qtn_cale_day_end_date;
       
  1109     id = ECalenEditorEndDate;
       
  1110     control = DATE_EDITOR
       
  1111         {
       
  1112         minDate = DATE
       
  1113             {
       
  1114             day = ECalenMinDay;
       
  1115             month = ECalenMinMonth;
       
  1116             year = ECalenMinYear;
       
  1117             };
       
  1118         maxDate = DATE
       
  1119             {
       
  1120             day = ECalenMaxDay;
       
  1121             month = ECalenMaxMonth;
       
  1122             year = ECalenMaxYear;
       
  1123             };
       
  1124         };
       
  1125     }
       
  1126  
       
  1127 // ---------------------------------------------------------
       
  1128 // r_calen_editor_birthday_year_item
       
  1129 // Define "Date and Year" line in unified editor 
       
  1130 // ---------------------------------------------------------
       
  1131 //
       
  1132 RESOURCE DLG_LINE r_calen_editor_birthday_year_item
       
  1133     {
       
  1134     type = EEikCtDateEditor;
       
  1135     prompt = r_calen_editor_birthday_year_item;
       
  1136     id = ECalenEditorBirthDayYear;
       
  1137     control = DATE_EDITOR 
       
  1138         {
       
  1139         minDate = DATE
       
  1140             {
       
  1141             day = ECalenMinDay;
       
  1142             month = ECalenMinMonth;
       
  1143             year = ECalenMinYear;
       
  1144             };
       
  1145         maxDate = DATE
       
  1146             {
       
  1147             day = ECalenMaxDay;
       
  1148             month = ECalenMaxMonth;
       
  1149             year = ECalenMaxYear;
       
  1150             };
       
  1151         };
       
  1152     } 
       
  1153 
       
  1154 // ---------------------------------------------------------
       
  1155 // r_calen_editor_place_item
       
  1156 // Define "Place" in unified editor
       
  1157 // ---------------------------------------------------------
       
  1158 //
       
  1159 RESOURCE DLG_LINE r_calen_editor_place_item
       
  1160     {
       
  1161     type = EEikCtRichTextEditor;
       
  1162     prompt = qtn_cale_label_place;
       
  1163     id = ECalenEditorPlace;
       
  1164     itemflags = EEikDlgItemTakesEnterKey |EEikDlgItemAsLabel |
       
  1165                 EEikEdwinAlwaysShowSelection | EEikEdwinUserSuppliedText |
       
  1166                 EEikRTedNoTextParsers;
       
  1167     control = RTXTED
       
  1168         {
       
  1169         flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
       
  1170                 EEikEdwinNoAutoSelection | EEikEdwinJustAutoCurEnd
       
  1171                 | EEikEdwinAllowPictures;
       
  1172         width = 0;  // These 0's are not really needed
       
  1173         height = 0; 
       
  1174         numlines = 0;
       
  1175         textlimit = ECalenAbsoluteMaxTextEditorLength;
       
  1176         default_case = EAknEditorTextCase;
       
  1177         allowed_case_modes = EAknEditorAllCaseModes;
       
  1178         numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
  1179         special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
       
  1180         
       
  1181         max_view_height_in_lines = 0;
       
  1182         };
       
  1183     }
       
  1184 
       
  1185 
       
  1186 // ---------------------------------------------------------
       
  1187 // r_calen_editor_reminder_item
       
  1188 // Define "reminder" line in unified editor 
       
  1189 // ---------------------------------------------------------
       
  1190 //
       
  1191 RESOURCE DLG_LINE r_calen_editor_reminder_item
       
  1192     {
       
  1193     type = EEikCtEdwin;
       
  1194     prompt = qtn_cale_label_reminder;
       
  1195     id = ECalenEditorReminder;
       
  1196     itemflags = EEikDlgItemTakesEnterKey;
       
  1197     control = EDWIN
       
  1198         {
       
  1199         flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
       
  1200                 EEikEdwinNoAutoSelection | EEikEdwinReadOnly|
       
  1201                 EEikEdwinAvkonDisableCursor|EEikEdwinAvkonNotEditable |EEikEdwinDisplayOnly ;
       
  1202         maxlength = ECalenAbsoluteMaxTextEditorLength;
       
  1203         default_case = EAknEditorTextCase;
       
  1204         allowed_case_modes = EAknEditorAllCaseModes;
       
  1205         numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
  1206         special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
       
  1207         avkon_flags = EAknEditorFlagUseSCTNumericCharmap |
       
  1208                       EAknEditorFlagDefault | 
       
  1209                       EAknEditorFlagEnablePictographInput;
       
  1210         // let Avkon decide which is maximum number of lines
       
  1211         // It's based on layout.
       
  1212         max_view_height_in_lines = 0;
       
  1213         };
       
  1214     }
       
  1215    
       
  1216 // ---------------------------------------------------------
       
  1217 // r_calen_editor_reminder_time_item
       
  1218 // Define the "Reminder Time" line in unified editor 
       
  1219 // ---------------------------------------------------------
       
  1220 //
       
  1221 RESOURCE DLG_LINE r_calen_editor_reminder_time_item
       
  1222     {
       
  1223     type = EEikCtTimeEditor;
       
  1224     prompt = qtn_cale_label_reminder_time;
       
  1225     id = ECalenEditorReminderTime;
       
  1226     control = TIME_EDITOR
       
  1227         {
       
  1228         minTime = TIME
       
  1229             {
       
  1230             minute = ECalenMinMinute;
       
  1231             hour = ECalenMinHour;
       
  1232             };
       
  1233         maxTime = TIME
       
  1234             {
       
  1235             minute = ECalenMaxMinute;
       
  1236             hour = ECalenMaxHour;
       
  1237             };
       
  1238         flags = EEikTimeWithoutSecondsField;
       
  1239         };
       
  1240     }
       
  1241    
       
  1242 // ---------------------------------------------------------
       
  1243 // r_calen_editor_reminder_date_item
       
  1244 // Define "Reminder Date" line in unified editor 
       
  1245 // ---------------------------------------------------------
       
  1246 //
       
  1247 RESOURCE DLG_LINE r_calen_editor_reminder_date_item
       
  1248     {
       
  1249     type = EEikCtDateEditor;
       
  1250     prompt = qtn_cale_label_reminder_date;
       
  1251     id = ECalenEditorReminderDate;
       
  1252     control = DATE_EDITOR
       
  1253         {
       
  1254         minDate = DATE
       
  1255             {
       
  1256             day = ECalenMinDay;
       
  1257             month = ECalenMinMonth;
       
  1258             year = ECalenMinYear;
       
  1259             };
       
  1260         maxDate = DATE
       
  1261             {
       
  1262             day = ECalenMaxDay;
       
  1263             month = ECalenMaxMonth;
       
  1264             year = ECalenMaxYear;
       
  1265             };
       
  1266         };
       
  1267     }
       
  1268 
       
  1269 // ---------------------------------------------------------
       
  1270 // r_calen_editor_repeat_item
       
  1271 // Define "Repeat" line in unified editor 
       
  1272 // ---------------------------------------------------------
       
  1273 //
       
  1274 RESOURCE DLG_LINE r_calen_editor_repeat_item
       
  1275     {
       
  1276     type = EAknCtPopupField;
       
  1277     prompt = qtn_cale_note_meeting_repeat;
       
  1278     id = ECalenEditorRepeat;
       
  1279     itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
  1280     control = POPUP_FIELD
       
  1281         {
       
  1282         flags = 0;
       
  1283         width = 15;
       
  1284         other = " ";
       
  1285         };
       
  1286     }
       
  1287 
       
  1288 // ---------------------------------------------------------
       
  1289 // r_calen_editor_repeat_until_item
       
  1290 // Define "Repeat until" line in unified editor
       
  1291 // ---------------------------------------------------------
       
  1292 //
       
  1293 RESOURCE DLG_LINE r_calen_editor_repeat_until_item
       
  1294     {
       
  1295     type = EEikCtDateEditor;
       
  1296     prompt = qtn_cale_note_meeting_until;
       
  1297     id = ECalenEditorRepeatUntil;
       
  1298     control = DATE_EDITOR
       
  1299         {
       
  1300         minDate = DATE
       
  1301             {
       
  1302             day = ECalenMinDay;
       
  1303             month = ECalenMinMonth;
       
  1304             year = ECalenMinYear;
       
  1305             };
       
  1306         maxDate = DATE
       
  1307             {
       
  1308             day = ECalenForeverDay;
       
  1309             month = ECalenForeverMonth;
       
  1310             year = ECalenForeverYear;
       
  1311             };
       
  1312         };
       
  1313     }
       
  1314 
       
  1315 // ---------------------------------------------------------
       
  1316 // r_calen_editor_priority_item
       
  1317 // Define "Priority" line in unified editor
       
  1318 // ---------------------------------------------------------
       
  1319 //
       
  1320 RESOURCE DLG_LINE r_calen_editor_priority_item
       
  1321     {
       
  1322     type = EAknCtPopupField;
       
  1323     prompt = qtn_todo_note_view_priority;
       
  1324     id = ECalenEditorPriority;
       
  1325     itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
  1326     control = POPUP_FIELD
       
  1327         {
       
  1328         flags = 0;
       
  1329         width = 15;
       
  1330         other = " ";
       
  1331         };
       
  1332     }
       
  1333 
       
  1334 // ---------------------------------------------------------
       
  1335 // r_calen_editor_people_item
       
  1336 // Define "People" in unified editor
       
  1337 // ---------------------------------------------------------
       
  1338 //
       
  1339 RESOURCE DLG_LINE r_calen_editor_people_item
       
  1340     {
       
  1341     type = EEikCtRichTextEditor;
       
  1342     prompt = qtn_cale_label_people;
       
  1343     id = ECalenEditorPeople;
       
  1344     itemflags = EEikDlgItemAsLabel | EEikEdwinAlwaysShowSelection | 
       
  1345                 EEikEdwinUserSuppliedText | EEikRTedNoTextParsers;
       
  1346     control = RTXTED
       
  1347         {
       
  1348         flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
       
  1349                 EEikEdwinNoAutoSelection | EEikEdwinJustAutoCurEnd
       
  1350                 | EEikEdwinAllowPictures;
       
  1351         width = 0;  // These 0's are not really needed
       
  1352         height = 0; 
       
  1353         numlines = 0;
       
  1354         default_case = EAknEditorTextCase;
       
  1355         allowed_case_modes = EAknEditorAllCaseModes;
       
  1356         numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
  1357         special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
       
  1358         
       
  1359         max_view_height_in_lines = 0;
       
  1360         };
       
  1361     }  
       
  1362     
       
  1363 // ---------------------------------------------------------
       
  1364 // r_calen_editor_db_name_item
       
  1365 // Define "Entry Belongs To" line in unified editor 
       
  1366 // ---------------------------------------------------------
       
  1367 //
       
  1368 RESOURCE DLG_LINE r_calen_editor_db_name_item
       
  1369     {
       
  1370     type = EAknCtPopupField;
       
  1371     prompt = qtn_cale_db_entry_belongs_to;
       
  1372     id = ECalenEditorDBName;
       
  1373     itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys | 
       
  1374                 EAknPopupFieldFlagInitialised;
       
  1375     control = POPUP_FIELD
       
  1376         {
       
  1377         flags = 0;
       
  1378         width = 15;
       
  1379         other = " ";
       
  1380         };
       
  1381     }    
       
  1382 
       
  1383 // ---------------------------------------------------------
       
  1384 // r_calen_editor_attachment_item
       
  1385 // Define "Attachment" in unified editor
       
  1386 // ---------------------------------------------------------
       
  1387 //
       
  1388 RESOURCE DLG_LINE r_calen_editor_attachment_item
       
  1389     {
       
  1390     type = EEikCtRichTextEditor;
       
  1391     prompt = qtn_cale_label_attachment;
       
  1392     id = ECalenEditorAttachment;
       
  1393     itemflags = EEikDlgItemAsLabel | EEikEdwinAlwaysShowSelection | 
       
  1394                 EEikEdwinUserSuppliedText | /*EEikEdwinAvkonDisableCursor |*/
       
  1395                 EEikEdwinAvkonNotEditable | EEikRTedNoTextParsers;
       
  1396     control = RTXTED
       
  1397         {
       
  1398         flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
       
  1399                 EEikEdwinNoAutoSelection | EEikEdwinReadOnly /*|
       
  1400                 EEikEdwinAvkonDisableCursor*/ | EEikEdwinAvkonNotEditable |
       
  1401                 EEikEdwinIgnoreVirtualCursor | EEikEdwinJustAutoCurEnd;
       
  1402         width = 0;  // These 0's are not really needed
       
  1403         height = 0; 
       
  1404         numlines = 0;
       
  1405         default_case = EAknEditorTextCase;
       
  1406         allowed_case_modes = EAknEditorAllCaseModes;
       
  1407         numeric_keymap = EAknEditorStandardNumberModeKeymap;
       
  1408         special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
       
  1409          
       
  1410         max_view_height_in_lines = 0;
       
  1411         };
       
  1412     }
       
  1413  
       
  1414 // ---------------------------------------------------------
       
  1415 // r_calen_editor_description_item
       
  1416 // Define "Description" line of Note Form
       
  1417 // Description can't be edited
       
  1418 // ---------------------------------------------------------
       
  1419 //
       
  1420 RESOURCE DLG_LINE r_calen_editor_description_item
       
  1421     {
       
  1422     type = ECalenCtDescriptionField;
       
  1423     prompt = qtn_cale_label_description;
       
  1424     id = ECalenEditorDescription;
       
  1425     itemflags = EEikDlgItemTakesEnterKey |
       
  1426                 EEikDlgItemOfferAllHotKeys;
       
  1427     control = EDWIN
       
  1428         {
       
  1429         flags = EEikEdwinNoAutoSelection |
       
  1430                 EEikEdwinNoWrap |
       
  1431                 EEikEdwinNoHorizScrolling |
       
  1432                 EEikEdwinReadOnly |
       
  1433                 EEikEdwinAvkonNotEditable |
       
  1434                 EEikEdwinAvkonDisableCursor;
       
  1435         maxlength = ECalenAbsoluteMaxTextEditorLength;
       
  1436         lines = 1;
       
  1437         max_view_height_in_lines = 1;
       
  1438         avkon_flags = EAknEditorFlagDefault |
       
  1439                       EAknEditorFlagNoEditIndicators |
       
  1440                       EAknEditorFlagNoLRNavigation;
       
  1441 
       
  1442         };
       
  1443     }
       
  1444 
       
  1445 // ---------------------------------------------------------
       
  1446 // r_calen_editor_event_type_popup_items
       
  1447 // Define items of "Event Type" popup list.
       
  1448 // ---------------------------------------------------------
       
  1449 //
       
  1450 RESOURCE ARRAY r_calen_editor_event_type_popup_items
       
  1451     {
       
  1452     items=
       
  1453         {
       
  1454         LBUF
       
  1455             {
       
  1456             txt = qtn_cale_item_meeting;
       
  1457             },
       
  1458         LBUF
       
  1459             {
       
  1460             txt = qtn_cale_item_birthday;
       
  1461             },
       
  1462         LBUF
       
  1463             {
       
  1464             txt = qtn_cale_item_todo;
       
  1465             }
       
  1466         };
       
  1467     }
       
  1468 
       
  1469 // ---------------------------------------------------------
       
  1470 // r_calen_editor_priority_popup_items
       
  1471 // Define items of "priority" popup list.
       
  1472 // ---------------------------------------------------------
       
  1473 //
       
  1474 RESOURCE ARRAY r_calen_editor_priority_popup_items
       
  1475     {
       
  1476     items=
       
  1477         {
       
  1478         LBUF
       
  1479             {
       
  1480             txt = qtn_cale_viewer_prio_high;
       
  1481             },
       
  1482         LBUF
       
  1483             {
       
  1484             txt = qtn_cale_viewer_prio_normal ;
       
  1485             },
       
  1486         LBUF
       
  1487             {
       
  1488             txt = qtn_cale_viewer_prio_low;
       
  1489             }
       
  1490         };
       
  1491     }
       
  1492 // ---------------------------------------------------------
       
  1493 // r_calen_editor_reminder_popup_items
       
  1494 // Define items of "Reminder" popup list.
       
  1495 // ---------------------------------------------------------
       
  1496 //
       
  1497 RESOURCE ARRAY r_calen_editor_reminder_popup_items
       
  1498     {
       
  1499     items=
       
  1500         {
       
  1501         LBUF
       
  1502             {
       
  1503             txt = qtn_chi_cale_lunar_cale_on;
       
  1504             },
       
  1505         LBUF
       
  1506             {
       
  1507             txt = qtn_cale_alarm_off;
       
  1508             }
       
  1509         };
       
  1510     }
       
  1511 
       
  1512 // ---------------------------------------------------------
       
  1513 // r_calen_editor_repeat_popup_items
       
  1514 // Define items of "Repeat" popup list.
       
  1515 // ---------------------------------------------------------
       
  1516 //
       
  1517 RESOURCE ARRAY r_calen_editor_repeat_popup_items
       
  1518     {
       
  1519     items=
       
  1520         {
       
  1521         LBUF
       
  1522             {
       
  1523             txt = qtn_calen_does_not_repeat;
       
  1524             },
       
  1525         LBUF
       
  1526             {
       
  1527             txt = qtn_calen_repeat_daily ;
       
  1528             },
       
  1529         LBUF
       
  1530             {
       
  1531             txt = qtn_calen_repeat_weekdays;
       
  1532             },
       
  1533         LBUF
       
  1534             {
       
  1535             txt = qtn_calen_repeat_weekly;
       
  1536             },
       
  1537         LBUF
       
  1538             {
       
  1539             txt = qtn_calen_repeat_forthnightly;
       
  1540             },
       
  1541         LBUF
       
  1542             {
       
  1543             txt = qtn_cale_repeat_monthly;
       
  1544             },
       
  1545         LBUF
       
  1546             {
       
  1547             txt = qtn_calen_repeat_yearly;
       
  1548             }
       
  1549         };
       
  1550     }
       
  1551 
       
  1552 RESOURCE TBUF r_qtn_cale_unified_editor_title
       
  1553     {
       
  1554     buf = qtn_cale_title_calendar;
       
  1555     }
       
  1556 
       
  1557 // ---------------------------------------------------------
       
  1558 // r_calen_unified_editor_menubar
       
  1559 // Menubar for unified editor
       
  1560 // ---------------------------------------------------------
       
  1561 //
       
  1562 RESOURCE MENU_BAR r_calen_unified_editor_menubar
       
  1563     {
       
  1564     titles=
       
  1565         {
       
  1566         MENU_TITLE
       
  1567             {
       
  1568             menu_pane = r_calen_unified_editor_menupane;
       
  1569             txt = " "; // Dummy
       
  1570             }
       
  1571         };
       
  1572     }
       
  1573 
       
  1574 // ---------------------------------------------------------
       
  1575 // r_calen_unified_editor_menupane
       
  1576 // Editor implementation dynamically adds all parts
       
  1577 // of menu pane to this. 
       
  1578 // ---------------------------------------------------------
       
  1579 //
       
  1580 RESOURCE MENU_PANE r_calen_unified_editor_menupane
       
  1581     {
       
  1582     items=
       
  1583         {
       
  1584         };
       
  1585     }
       
  1586 
       
  1587 // ---------------------------------------------------------
       
  1588 // r_calen_unified_editor_default_menupane
       
  1589 // ---------------------------------------------------------
       
  1590 //
       
  1591 RESOURCE MENU_PANE r_calen_unified_editor_default_menupane
       
  1592     {
       
  1593     items =
       
  1594         {
       
  1595         MENU_ITEM
       
  1596             {
       
  1597             command = ECalenCmdCancel;
       
  1598             txt = qtn_cale_om_cancel_changes;
       
  1599             },
       
  1600         MENU_ITEM
       
  1601             {
       
  1602             command = ECalenCmdAddPeople;
       
  1603             txt = qtn_calen_add_people_from_contact_book;
       
  1604             },
       
  1605         MENU_ITEM
       
  1606             {
       
  1607             command = ECalenGetLocation;
       
  1608             txt = qtn_cale_om_assign_from_map;
       
  1609             },
       
  1610         MENU_ITEM
       
  1611             {
       
  1612             command = ECalenDeleteCurrentEntry;
       
  1613             txt = qtn_cale_om_delete;
       
  1614             },
       
  1615         MENU_ITEM
       
  1616             {
       
  1617             command = ECalenSend;
       
  1618             txt = qtn_options_send_via;
       
  1619             },
       
  1620         MENU_ITEM
       
  1621             {
       
  1622             command = EAknCmdHelp;
       
  1623             txt = qtn_options_help;
       
  1624             },
       
  1625         MENU_ITEM
       
  1626             {
       
  1627             command = EAknCmdExit;
       
  1628             txt = qtn_options_exit;
       
  1629             }
       
  1630         };
       
  1631     }
       
  1632 
       
  1633 RESOURCE TBUF r_qtn_cale_attachment_none
       
  1634     {
       
  1635     buf = qtn_cale_confident_none;
       
  1636     }
       
  1637 
       
  1638 // ---------------------------------------------------------
       
  1639 // Attachments Options-menu items
       
  1640 // ---------------------------------------------------------
       
  1641 //
       
  1642 RESOURCE MENU_PANE r_calen_editor_attachments_menupane
       
  1643     {
       
  1644     items =
       
  1645         {
       
  1646         MENU_ITEM
       
  1647             {
       
  1648             command = ECalenCmdAddAttachment;
       
  1649             txt = qtn_calen_editor_opt_add_attachment;
       
  1650             },
       
  1651         MENU_ITEM
       
  1652             {
       
  1653             command = ECalenCmdRemoveAttachment;
       
  1654             txt = qtn_cale_opt_remove_attachment;
       
  1655             }
       
  1656         };
       
  1657     }
       
  1658 
       
  1659 // ---------------------------------------------------------
       
  1660 // Description list query
       
  1661 // List query for the description types
       
  1662 // ---------------------------------------------------------
       
  1663 RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_description_list_query
       
  1664     {
       
  1665     flags = EGeneralQueryFlags;
       
  1666     softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
       
  1667     items =
       
  1668         {
       
  1669         AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE
       
  1670             {
       
  1671             control = AVKON_LIST_QUERY_CONTROL
       
  1672                 {
       
  1673                 listtype = EAknCtSinglePopupMenuListBox;
       
  1674                 listbox = AVKON_LIST_QUERY_LIST
       
  1675                     {
       
  1676                     array_id = r_description_list_query_array;
       
  1677                     };
       
  1678                 heading = text_softkey_select;
       
  1679                 };
       
  1680             }
       
  1681         };
       
  1682     }
       
  1683 
       
  1684 // ---------------------------------------------------------
       
  1685 // Description list query array
       
  1686 // List of the description types
       
  1687 // ---------------------------------------------------------
       
  1688 RESOURCE ARRAY r_description_list_query_array
       
  1689     {
       
  1690     items=
       
  1691         {
       
  1692         LBUF { txt = qtn_cale_om_descript_new; },
       
  1693         LBUF { txt = qtn_cale_om_descript_exist; }
       
  1694         };
       
  1695     }
       
  1696 
       
  1697 // End of File