calendarui/application/data/CalenSettings.ra
branchRCL_3
changeset 66 bd7edf625bdd
child 67 1539a383d7b6
equal deleted inserted replaced
65:12af337248b1 66:bd7edf625bdd
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   This file contains resources for settings view of Calendar
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 //  INCLUDES
       
    21 // FileListModel path definitions
       
    22 #include <pathconfiguration.hrh>
       
    23 #include <FileListModel.rh>
       
    24 #include "CalendarVariant.hrh"
       
    25 
       
    26 #define KSnoozeMin    1
       
    27 #define KSnoozeMax   60
       
    28 #define KSnoozeStep   1
       
    29 
       
    30 
       
    31 
       
    32 //  RESOURCE DEFINITIONS
       
    33 
       
    34 // ---------------------------------------------------------
       
    35 //
       
    36 //    r_calen_setting_listbox
       
    37 //    Listbox of setting page
       
    38 //
       
    39 // ---------------------------------------------------------
       
    40 //
       
    41 RESOURCE POPUP_SETTING_LIST r_calen_setting_listbox
       
    42     {
       
    43     flags = 0;
       
    44     }
       
    45 
       
    46 
       
    47 
       
    48 //----------------------------------------------------
       
    49 //
       
    50 //    r_calen_setting_dialog
       
    51 //    Dialog for setting list
       
    52 //
       
    53 //----------------------------------------------------
       
    54 //
       
    55 RESOURCE DIALOG r_calen_setting_dialog
       
    56     {
       
    57     flags =
       
    58         EEikDialogFlagNoDrag
       
    59         | EEikDialogFlagWait
       
    60         | EAknDialogSelectionList
       
    61         | EEikDialogFlagNotifyEsc
       
    62         | EEikDialogFlagFillAppClientRect
       
    63         | EEikDialogFlagCbaButtons
       
    64 #ifndef RD_CALEN_GS_RENOVATION
       
    65         | EEikDialogFlagButtonsRight
       
    66         | EEikDialogFlagNoTitleBar
       
    67 #endif // !RD_CALEN_GS_RENOVATION
       
    68         ;
       
    69     buttons = r_calen_settings_cba;
       
    70 #ifndef RD_CALEN_GS_RENOVATION
       
    71     items =
       
    72         {
       
    73         DLG_LINE
       
    74             {
       
    75             type = EAknCtSettingListBox;
       
    76             id = ECalenSettingItemList;
       
    77             itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
    78             control = LISTBOX
       
    79                 {
       
    80                 flags = EAknListBoxSelectionList;
       
    81                 };
       
    82             }
       
    83         };
       
    84 #endif // !RD_CALEN_GS_RENOVATION
       
    85     }
       
    86     
       
    87     
       
    88 //----------------------------------------------------
       
    89 //
       
    90 //    r_calen_settings_cba
       
    91 //    CBA resource for settings dialog.
       
    92 //
       
    93 //----------------------------------------------------
       
    94 //
       
    95 RESOURCE CBA r_calen_settings_cba
       
    96     {
       
    97     buttons =
       
    98         {
       
    99         CBA_BUTTON
       
   100             {
       
   101             id=EAknSoftkeyOptions;
       
   102             txt=text_softkey_option;
       
   103             },
       
   104         CBA_BUTTON
       
   105             {
       
   106             id=EAknSoftkeyBack;
       
   107             txt=text_softkey_back;
       
   108             },
       
   109         CBA_BUTTON
       
   110             {
       
   111             id=EAknSoftkeyChange;
       
   112             txt=qtn_msk_change;
       
   113             }
       
   114            
       
   115        };
       
   116     
       
   117     }    
       
   118     
       
   119 
       
   120 
       
   121 // Alarm tone setting 
       
   122 
       
   123 RESOURCE TBUF r_calen_setting_alarmtone_title
       
   124     {
       
   125     buf = qtn_cale_alarm_tone;
       
   126     }
       
   127 
       
   128 // Default view setting 
       
   129 
       
   130 RESOURCE TBUF r_calen_setting_defaultview_title
       
   131     {
       
   132     buf = qtn_cale_default_view;
       
   133     }
       
   134 
       
   135 RESOURCE AVKON_SETTING_PAGE r_calen_setting_defaultview
       
   136     {
       
   137     label = qtn_cale_default_view;
       
   138     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   139     type =  EAknCtPopupSettingList;
       
   140     editor_resource_id= r_calen_setting_listbox;
       
   141     }
       
   142 
       
   143 RESOURCE ARRAY r_calendar_defaultview_choicelist
       
   144     {
       
   145     items =
       
   146         {
       
   147         LBUF
       
   148             {
       
   149             txt = qtn_cale_default_month_view;
       
   150             },
       
   151         LBUF
       
   152             {
       
   153             txt = qtn_cale_default_week_view;
       
   154             },
       
   155         LBUF
       
   156             {
       
   157             txt = qtn_cale_default_day_view;
       
   158             },
       
   159         LBUF
       
   160             {
       
   161             txt = qtn_cale_default_todo_view;
       
   162             }
       
   163         };
       
   164     }
       
   165 
       
   166 
       
   167 RESOURCE ARRAY r_calendar_defaultview_array
       
   168     {
       
   169     items =
       
   170         {
       
   171         AVKON_ENUMERATED_TEXT
       
   172             {
       
   173             value = 0;
       
   174             text = qtn_cale_default_month_view;
       
   175             },
       
   176         AVKON_ENUMERATED_TEXT
       
   177             {
       
   178             value = 1;
       
   179             text = qtn_cale_default_week_view;
       
   180             },
       
   181         AVKON_ENUMERATED_TEXT
       
   182             {
       
   183             value = 2;
       
   184             text = qtn_cale_default_day_view;
       
   185             }
       
   186             ,
       
   187         AVKON_ENUMERATED_TEXT
       
   188             {
       
   189             value = 3;
       
   190             text = qtn_cale_default_todo_view;
       
   191             }
       
   192         };
       
   193     }
       
   194 
       
   195 RESOURCE TBUF r_calen_qtn_default_month_view
       
   196     {
       
   197     buf = qtn_cale_default_month_view;
       
   198     }
       
   199 
       
   200 RESOURCE TBUF r_calen_qtn_default_week_view
       
   201     {
       
   202     buf = qtn_cale_default_week_view;
       
   203     }
       
   204 
       
   205 RESOURCE TBUF r_calen_qtn_default_day_view
       
   206     {
       
   207     buf = qtn_cale_default_day_view;
       
   208     }
       
   209 
       
   210 RESOURCE TBUF r_calen_qtn_default_todo_view
       
   211     {
       
   212     buf = qtn_cale_default_todo_view;
       
   213     }
       
   214 
       
   215 RESOURCE ARRAY r_calen_empty_settings_text_resource
       
   216     {
       
   217     // Populated at runtime.
       
   218     items =
       
   219         {
       
   220         };
       
   221     }
       
   222 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_defaultview_texts
       
   223     {
       
   224     setting_texts_resource = r_calendar_defaultview_array;
       
   225     popped_up_texts_resource = r_calendar_defaultview_choicelist;
       
   226     }
       
   227 
       
   228 RESOURCE ARRAY r_calen_empty_popped_up_text_resource
       
   229     {
       
   230     // Populated at runtime.
       
   231     items =
       
   232         {
       
   233         };
       
   234     }
       
   235 
       
   236 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_empty_popup_setting_texts
       
   237     {
       
   238     setting_texts_resource = r_calen_empty_settings_text_resource;
       
   239     popped_up_texts_resource = r_calen_empty_popped_up_text_resource;
       
   240     }
       
   241 
       
   242 // -------------------------
       
   243 // Week format setting
       
   244 // -------------------------
       
   245 
       
   246 RESOURCE TBUF r_calen_setting_weekformat_title
       
   247     {
       
   248     buf = qtn_cale_week_format;
       
   249     }
       
   250 
       
   251 //    Define items of setting dialog
       
   252 RESOURCE AVKON_SETTING_PAGE r_calen_setting_weekformat
       
   253     {
       
   254     label = qtn_cale_week_format;
       
   255     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   256     type =  EAknCtPopupSettingList;
       
   257     editor_resource_id= r_calen_setting_listbox;
       
   258     }
       
   259 
       
   260 //    Defines list for setting page
       
   261 RESOURCE ARRAY r_calendar_weekformat_choicelist
       
   262     {
       
   263     items =
       
   264         {
       
   265         LBUF
       
   266             {
       
   267             txt = qtn_week_long_monday;
       
   268             },
       
   269         LBUF
       
   270             {
       
   271             txt = qtn_week_long_tuesday;
       
   272             },
       
   273         LBUF
       
   274             {
       
   275             txt = qtn_week_long_wednesday;
       
   276             },
       
   277         LBUF
       
   278             {
       
   279             txt = qtn_week_long_thursday;
       
   280             },
       
   281         LBUF
       
   282             {
       
   283             txt = qtn_week_long_friday;
       
   284             },
       
   285         LBUF
       
   286             {
       
   287             txt = qtn_week_long_saturday;
       
   288             },
       
   289         LBUF
       
   290             {
       
   291             txt = qtn_week_long_sunday;
       
   292             }
       
   293         };
       
   294     }
       
   295 
       
   296 //    Defines list for setting page
       
   297 RESOURCE ARRAY r_calendar_weekformat_array
       
   298     {
       
   299     items =
       
   300         {
       
   301         AVKON_ENUMERATED_TEXT
       
   302             {
       
   303             value = 0;
       
   304             text = qtn_week_long_monday;
       
   305             },
       
   306         AVKON_ENUMERATED_TEXT
       
   307             {
       
   308             value = 1;
       
   309             text = qtn_week_long_tuesday;
       
   310             },
       
   311         AVKON_ENUMERATED_TEXT
       
   312             {
       
   313             value = 2;
       
   314             text = qtn_week_long_wednesday;
       
   315             },
       
   316         AVKON_ENUMERATED_TEXT
       
   317             {
       
   318             value = 3;
       
   319             text = qtn_week_long_thursday;
       
   320             },
       
   321         AVKON_ENUMERATED_TEXT
       
   322             {
       
   323             value = 4;
       
   324             text = qtn_week_long_friday;
       
   325             },
       
   326         AVKON_ENUMERATED_TEXT
       
   327             {
       
   328             value = 5;
       
   329             text = qtn_week_long_saturday;
       
   330             },
       
   331         AVKON_ENUMERATED_TEXT
       
   332             {
       
   333             value = 6;
       
   334             text = qtn_week_long_sunday;
       
   335             }
       
   336         };
       
   337     }
       
   338 
       
   339 //    Defines list for setting page
       
   340 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_weekformat_texts
       
   341     {
       
   342     setting_texts_resource = r_calendar_weekformat_array;
       
   343     popped_up_texts_resource = r_calendar_weekformat_choicelist;
       
   344     }
       
   345 
       
   346 
       
   347 // -------------------------
       
   348 // Week Number setting
       
   349 // -------------------------
       
   350 
       
   351 RESOURCE TBUF r_calen_setting_weeknumber_title
       
   352     {
       
   353     buf = qtn_cale_set_show_wk_number;
       
   354     }
       
   355 
       
   356 RESOURCE AVKON_SETTING_PAGE r_calen_setting_weeknumber
       
   357     {
       
   358     label =  qtn_cale_set_show_wk_number;
       
   359     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   360     type =  EAknCtPopupSettingList;
       
   361     editor_resource_id= r_calen_setting_listbox;
       
   362     }
       
   363 
       
   364 RESOURCE ARRAY r_calendar_weeknumber_choicelist
       
   365     {
       
   366     items =
       
   367         {
       
   368         LBUF
       
   369             {
       
   370             txt = qtn_cale_set_show_wk_number_no; 
       
   371             },
       
   372         LBUF
       
   373             {
       
   374             txt = qtn_cale_set_show_wk_number_yes;
       
   375             }
       
   376         };
       
   377     }
       
   378 
       
   379 
       
   380 //    Defines list for setting page
       
   381 RESOURCE ARRAY r_calendar_weeknumber_array
       
   382     {
       
   383     items =
       
   384         {
       
   385         AVKON_ENUMERATED_TEXT
       
   386             {
       
   387             value = 0;
       
   388             text = qtn_cale_set_show_wk_number_no;
       
   389             },
       
   390         AVKON_ENUMERATED_TEXT
       
   391             {
       
   392             value = 1;
       
   393             text = qtn_cale_set_show_wk_number_yes;
       
   394             }
       
   395         };
       
   396     }
       
   397 
       
   398 //    Defines list for setting page
       
   399 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_weeknumber_texts
       
   400     {
       
   401     setting_texts_resource = r_calendar_weeknumber_array;
       
   402     popped_up_texts_resource = r_calendar_weeknumber_choicelist;
       
   403     }
       
   404 
       
   405 // -------------------------
       
   406 // Week title setting
       
   407 // -------------------------
       
   408 
       
   409 RESOURCE TBUF r_calen_setting_weektitle_title
       
   410     {
       
   411     buf = text_calendar_week_title_format;
       
   412     }
       
   413 
       
   414 RESOURCE AVKON_SETTING_PAGE r_calen_setting_weektitle
       
   415     {
       
   416     label = text_calendar_week_title_format;
       
   417     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   418     type =  EAknCtPopupSettingList;
       
   419     editor_resource_id= r_calen_setting_listbox;
       
   420     }
       
   421 
       
   422 RESOURCE ARRAY r_calendar_weektitle_choicelist
       
   423     {
       
   424     items =
       
   425         {
       
   426         LBUF
       
   427             {
       
   428             txt = text_calendar_week_title_numb;
       
   429             },
       
   430         LBUF
       
   431             {
       
   432             txt = text_calendar_week_title_dur;
       
   433             }
       
   434         };
       
   435     }
       
   436 
       
   437 
       
   438 //    Defines list for setting page
       
   439 RESOURCE ARRAY r_calendar_weektitle_array
       
   440     {
       
   441     items =
       
   442         {
       
   443         AVKON_ENUMERATED_TEXT
       
   444             {
       
   445             value = 0;
       
   446             text = text_calendar_week_title_numb;
       
   447             },
       
   448         AVKON_ENUMERATED_TEXT
       
   449             {
       
   450             value = 1;
       
   451             text = text_calendar_week_title_dur;
       
   452             }
       
   453         };
       
   454     }
       
   455 
       
   456 //    Defines list for setting page
       
   457 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_weektitle_texts
       
   458     {
       
   459     setting_texts_resource = r_calendar_weektitle_array;
       
   460     popped_up_texts_resource = r_calendar_weektitle_choicelist;
       
   461     }
       
   462 
       
   463 
       
   464 
       
   465 // -------------------------
       
   466 // Plugin list setting
       
   467 // -------------------------
       
   468 
       
   469 RESOURCE LISTBOX r_calen_setting_pluginlist_listbox
       
   470     {
       
   471     flags = EEikListBoxMultipleSelection;
       
   472     }
       
   473 
       
   474 RESOURCE TBUF r_calen_setting_pluginlist_title
       
   475     {
       
   476     buf = "Custom Plugins";
       
   477     }
       
   478 
       
   479 RESOURCE AVKON_SETTING_PAGE r_calen_setting_pluginlist
       
   480     {
       
   481     label = ""; // Never shown on screen
       
   482     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__MARK;
       
   483     type =  EAknSetListBox;
       
   484     editor_resource_id = r_calen_setting_pluginlist_listbox;
       
   485     }
       
   486 
       
   487 
       
   488 
       
   489 // -------------------------
       
   490 // Plugins' custom settings
       
   491 // -------------------------
       
   492 
       
   493 RESOURCE AVKON_SETTING_ITEM_LIST r_calen_empty_setting_list
       
   494     {
       
   495     title = "Regional data"; // will be changed at runtime
       
   496     }
       
   497 
       
   498 RESOURCE AVKON_SETTING_PAGE r_calen_empty_setting_page
       
   499     {
       
   500     label = ""; // will be changed at runtime
       
   501     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   502     type = EAknSetListBox;
       
   503     editor_resource_id = r_calen_setting_pluginlist_listbox;
       
   504     }
       
   505 
       
   506 
       
   507 
       
   508 
       
   509 
       
   510 #ifdef RD_CALEN_EXTERNAL_CAL
       
   511 //
       
   512 // settings for the arabic calendar
       
   513 //
       
   514 //
       
   515 
       
   516 
       
   517 RESOURCE TBUF r_calen_setting_ext_calendar_title
       
   518     {
       
   519     buf = qtn_cale_sett_arabic_cale;
       
   520     }
       
   521 
       
   522 // -----------------------------------------------------------------------------
       
   523 //
       
   524 // r_calen_ext_calendar_setting_page
       
   525 // ?description
       
   526 //
       
   527 // -----------------------------------------------------------------------------
       
   528 //
       
   529 RESOURCE AVKON_SETTING_PAGE r_calen_ext_calendar_setting_page
       
   530     {
       
   531     label = qtn_cale_sett_arabic_cale;
       
   532     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   533     type = EAknCtPopupSettingList;
       
   534     editor_resource_id = r_calen_setting_listbox;
       
   535     }
       
   536 
       
   537 // -----------------------------------------------------------------------------
       
   538 //
       
   539 // r_calen_ext_calendar_setting_texts
       
   540 // ?description
       
   541 //
       
   542 // -----------------------------------------------------------------------------
       
   543 //
       
   544 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_ext_calendar_setting_texts
       
   545     {
       
   546     setting_texts_resource = r_calen_ext_calendar_texts_and_values;
       
   547     }
       
   548 
       
   549 // -----------------------------------------------------------------------------
       
   550 //
       
   551 // r_calen_ext_calendar_texts_and_values
       
   552 // ?description
       
   553 //
       
   554 // -----------------------------------------------------------------------------
       
   555 //
       
   556 RESOURCE ARRAY r_calen_ext_calendar_texts_and_values
       
   557     {
       
   558     items =
       
   559         {
       
   560         AVKON_ENUMERATED_TEXT { value = 0;  text = qtn_chi_cale_lunar_cale_off; },
       
   561         AVKON_ENUMERATED_TEXT { value = 1;  text = qtn_chi_cale_lunar_cale_on; }
       
   562         };
       
   563     }
       
   564 
       
   565 #endif //RD_CALEN_EXTERNAL_CAL    
       
   566 
       
   567 
       
   568 
       
   569 //
       
   570 // settings for the toolbar
       
   571 //
       
   572 //
       
   573 
       
   574 
       
   575 RESOURCE TBUF r_calen_setting_toolbar_title
       
   576     {
       
   577     buf = qtn_cale_sett_toolbar;
       
   578     }
       
   579 
       
   580 // -----------------------------------------------------------------------------
       
   581 //
       
   582 // r_calen_ext_calendar_setting_page
       
   583 // ?description
       
   584 //
       
   585 // -----------------------------------------------------------------------------
       
   586 //
       
   587 RESOURCE AVKON_SETTING_PAGE r_calen_setting_toolbar
       
   588     {
       
   589     label = qtn_cale_sett_toolbar;
       
   590     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   591     type = EAknCtPopupSettingList;
       
   592     editor_resource_id = r_calen_setting_listbox;
       
   593     }
       
   594 
       
   595 // -----------------------------------------------------------------------------
       
   596 //
       
   597 // r_calen_ext_calendar_setting_texts
       
   598 // ?description
       
   599 //
       
   600 // -----------------------------------------------------------------------------
       
   601 //
       
   602 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_toolbar_texts
       
   603     {
       
   604     setting_texts_resource = r_calen_toolbar_texts_and_values;
       
   605     }
       
   606 
       
   607 // -----------------------------------------------------------------------------
       
   608 //
       
   609 // r_calen_ext_calendar_texts_and_values
       
   610 // ?description
       
   611 //
       
   612 // -----------------------------------------------------------------------------
       
   613 //
       
   614 RESOURCE ARRAY r_calen_toolbar_texts_and_values
       
   615     {
       
   616     items =
       
   617         {
       
   618         AVKON_ENUMERATED_TEXT { value = 0;  text = qtn_chi_cale_lunar_cale_off; },
       
   619         AVKON_ENUMERATED_TEXT { value = 1;  text = qtn_chi_cale_lunar_cale_on; }
       
   620         };
       
   621     }
       
   622 
       
   623 
       
   624 // -------------------------
       
   625 // Default mailbox setting
       
   626 // -------------------------
       
   627 
       
   628 RESOURCE TBUF r_calen_setting_defaultmailbox_title
       
   629     {
       
   630     buf = qtn_cale_default_mailbox;
       
   631     }
       
   632 
       
   633 RESOURCE AVKON_SETTING_PAGE r_calen_setting_defaultmailbox
       
   634     {
       
   635     label = "";
       
   636     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   637     type =  EAknCtPopupSettingList;
       
   638     editor_resource_id= r_calen_setting_listbox;
       
   639     }
       
   640 
       
   641 RESOURCE ARRAY r_calendar_defaultmailbox_choicelist
       
   642     {
       
   643     items =
       
   644         {
       
   645         };
       
   646     }
       
   647 
       
   648 
       
   649 //    Defines list for mailbox settings page
       
   650 RESOURCE ARRAY r_calendar_defaultmailbox_array
       
   651     {
       
   652     items =
       
   653         {
       
   654         };
       
   655     }
       
   656 
       
   657 //    Defines list for mailbox settings page
       
   658 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_defaultmailbox_texts
       
   659     {
       
   660     setting_texts_resource = r_calendar_defaultmailbox_array;
       
   661     popped_up_texts_resource = r_calendar_defaultmailbox_choicelist;
       
   662     }
       
   663 // -------------------------
       
   664 // Menu pane
       
   665 // -------------------------
       
   666 
       
   667 
       
   668 RESOURCE MENU_BAR r_calendar_setting_menubar
       
   669     {
       
   670     titles =
       
   671         {
       
   672         MENU_TITLE
       
   673             {
       
   674             menu_pane = r_calendar_setting_menupane;
       
   675             txt = " ";   // dummy
       
   676             }
       
   677         };
       
   678     }
       
   679 
       
   680 RESOURCE MENU_PANE r_calendar_setting_menupane
       
   681     {
       
   682     items =
       
   683         {
       
   684         MENU_ITEM
       
   685             {
       
   686             command = ECalenCmdChange;
       
   687             txt = qtn_cale_om_change;
       
   688             //Single click
       
   689             flags = EEikMenuItemAction;
       
   690 
       
   691             },
       
   692         MENU_ITEM
       
   693             {
       
   694             command = EAknCmdHelp;
       
   695             txt = qtn_options_help;
       
   696             },
       
   697         MENU_ITEM
       
   698             {
       
   699             command = EAknSoftkeyExit;
       
   700             txt = qtn_options_exit;
       
   701             }
       
   702         };
       
   703     }
       
   704 
       
   705 
       
   706 
       
   707 RESOURCE TBUF r_calen_filelist_off
       
   708     {
       
   709     buf = qtn_cale_tc_none;
       
   710     }
       
   711 
       
   712 RESOURCE TBUF r_calen_filelist_default
       
   713     {
       
   714     buf = qtn_cale_tc_no_personal_tone;
       
   715     }
       
   716 
       
   717 RESOURCE TBUF r_calen_filelist_header
       
   718     {
       
   719     buf = qtn_tc_popup_heading;
       
   720     }
       
   721 
       
   722 // ---------------------------------------------------------
       
   723 //
       
   724 //      r_qtn_cale_set_snooze_time
       
   725 //      Title for snooze time setting.
       
   726 //
       
   727 // ---------------------------------------------------------
       
   728 //
       
   729 RESOURCE TBUF r_qtn_cale_set_snooze_time
       
   730     {
       
   731     buf = qtn_cale_set_snooze_time;
       
   732     }
       
   733 
       
   734 // ---------------------------------------------------------
       
   735 //
       
   736 //    r_snooze_time_setting_page
       
   737 //    Used to set Snooze time.
       
   738 //
       
   739 // ---------------------------------------------------------
       
   740 //
       
   741 RESOURCE AVKON_SETTING_PAGE r_snooze_time_setting_page
       
   742     {
       
   743     label = qtn_cale_set_snooze_time;
       
   744     type = EAknCtSlider;
       
   745     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   746     menubar = R_AVKON_MENUPANE_EMPTY;
       
   747     editor_resource_id = r_snooze_time_slider;
       
   748     }
       
   749 
       
   750 //----------------------------------------------------------------------------
       
   751 //
       
   752 //    r_snooze_time_slider
       
   753 //    Snooze time Slider structure
       
   754 //
       
   755 //----------------------------------------------------------------------------
       
   756 //
       
   757 RESOURCE SLIDER r_snooze_time_slider
       
   758     {
       
   759     layout = EAknSettingsItemSliderLayout;
       
   760     minvalue = KSnoozeMin;
       
   761     maxvalue = KSnoozeMax;
       
   762     step = KSnoozeStep;
       
   763     minlabel = qtn_cale_sanim_time_out_slider_min;
       
   764     maxlabel = qtn_snooze_time_max;
       
   765     singular_valuelabel = qtn_sanim_time_out_slider_ykcur;
       
   766     valuelabel = qtn_set_cale_sanim_time_out_slider_cur;
       
   767     }
       
   768 
       
   769 // ---------------------------------------------------------
       
   770 //
       
   771 //      r_qtn_sanim_time_out_slider_cur
       
   772 //      Snooze time
       
   773 //
       
   774 // ---------------------------------------------------------
       
   775 //
       
   776 RESOURCE TBUF r_qtn_sanim_time_out_slider_cur
       
   777     {
       
   778     buf = qtn_cale_sanim_time_out_slider_cur;
       
   779     }
       
   780 
       
   781 // ---------------------------------------------------------
       
   782 //
       
   783 //      r_qtn_sanim_time_out_slider_ykcur
       
   784 //      Snooze time
       
   785 //
       
   786 // ---------------------------------------------------------
       
   787 //
       
   788 RESOURCE TBUF r_qtn_sanim_time_out_slider_ykcur
       
   789     {
       
   790     buf = qtn_cale_sanim_time_out_slider_ykcur;
       
   791     }
       
   792 
       
   793 
       
   794 // Resources for General Settings plugin
       
   795 
       
   796 //----------------------------------------------------
       
   797 //   
       
   798 //    r_calendar_gs_view_title
       
   799 //    Setting view's title string.
       
   800 //
       
   801 //----------------------------------------------------
       
   802 //
       
   803 RESOURCE TBUF r_calendar_gs_view_title
       
   804     {
       
   805     buf = qtn_cale_title_calendar;
       
   806     }
       
   807 
       
   808 //----------------------------------------------------
       
   809 //   
       
   810 //    r_calendar_gs_view_title_pane
       
   811 //    Setting view's title pane.
       
   812 //
       
   813 //----------------------------------------------------
       
   814 //
       
   815 RESOURCE TITLE_PANE r_calendar_gs_view_title_pane
       
   816     {
       
   817     txt = qtn_cale_title_calendar;
       
   818     }
       
   819 
       
   820 //----------------------------------------------------
       
   821 //   
       
   822 //    r_calendar_gs_setting_list_view
       
   823 //    Main settings view
       
   824 //
       
   825 //----------------------------------------------------
       
   826 //
       
   827 RESOURCE AVKON_VIEW r_calendar_gs_setting_list_view
       
   828     {
       
   829     menubar = r_calendar_gs_settings_menubar;
       
   830     cba = r_calen_settings_cba;
       
   831     }
       
   832 
       
   833 // ---------------------------------------------------------
       
   834 //
       
   835 //    r_calendar_gs_settings_menubar
       
   836 //    Define menu bar and menu pane of options menu
       
   837 //
       
   838 // ---------------------------------------------------------
       
   839 //
       
   840 RESOURCE MENU_BAR r_calendar_gs_settings_menubar
       
   841     {
       
   842     titles=
       
   843         {
       
   844         // Use the same menu pane as non-GS settings.
       
   845         MENU_TITLE { menu_pane = r_calendar_setting_menupane; }
       
   846         };
       
   847     }
       
   848     
       
   849 ///Regional data    
       
   850 // ---------------------------------------------------------
       
   851 // ---------------------------------------------------------
       
   852 //
       
   853 RESOURCE TBUF R_CALEN_THAI_SETTING_TITLE
       
   854     {
       
   855     buf = qtn_cale_sett_thai_year;
       
   856     }
       
   857 
       
   858 
       
   859 // ---------------------------------------------------------
       
   860 // ---------------------------------------------------------
       
   861 //
       
   862 RESOURCE TBUF R_CALEN_LUNAR_SETTING_TITLE
       
   863     {
       
   864     buf = qtn_chi_cale_sett_lunar_cale;
       
   865     }
       
   866 
       
   867 
       
   868 // ---------------------------------------------------------
       
   869 // ---------------------------------------------------------
       
   870 //
       
   871 RESOURCE AVKON_SETTING_PAGE r_calen_lunar_setting_page
       
   872     {
       
   873     label = ""; // Never shown on screen
       
   874     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   875     type = EAknCtPopupSettingList;
       
   876     editor_resource_id = r_calen_setting_listbox;
       
   877     }
       
   878 
       
   879 // ---------------------------------------------------------
       
   880 // ---------------------------------------------------------
       
   881 //
       
   882 RESOURCE AVKON_SETTING_PAGE r_calen_thai_setting_page
       
   883     {
       
   884     label = ""; // Never shown on screen
       
   885     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   886     type = EAknCtPopupSettingList;
       
   887     editor_resource_id = r_calen_setting_listbox;
       
   888     }
       
   889 
       
   890 // ---------------------------------------------------------
       
   891 // ---------------------------------------------------------
       
   892 //
       
   893 RESOURCE ARRAY r_calen_regional_setting_choicelist
       
   894     {
       
   895     items =
       
   896         {
       
   897         LBUF
       
   898             {
       
   899             txt = qtn_chi_cale_lunar_cale_off;
       
   900             },
       
   901         LBUF
       
   902             {
       
   903             txt = qtn_chi_cale_lunar_cale_on;
       
   904             }
       
   905         };
       
   906     }
       
   907 
       
   908 //----------------------------------------------------
       
   909 //----------------------------------------------------
       
   910 //
       
   911 RESOURCE ARRAY r_calen_regional_setting_array
       
   912     {
       
   913     items =
       
   914         {
       
   915         AVKON_ENUMERATED_TEXT
       
   916             {
       
   917             value = 0;
       
   918             text = qtn_chi_cale_lunar_cale_off;
       
   919             },
       
   920         AVKON_ENUMERATED_TEXT
       
   921             {
       
   922             value = 1;
       
   923             text = qtn_chi_cale_lunar_cale_on;
       
   924             }
       
   925         };
       
   926     }
       
   927 
       
   928 //----------------------------------------------------
       
   929 //----------------------------------------------------
       
   930 //
       
   931 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_regional_setting_texts
       
   932     {
       
   933     setting_texts_resource = r_calen_regional_setting_array;
       
   934     popped_up_texts_resource = r_calen_regional_setting_choicelist;
       
   935     }
       
   936 
       
   937 // end of file