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