calendarui/application/data/CalenSettings.ra
changeset 0 f979ecb2b13e
child 25 bf573002ff72
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 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 title setting
       
   349 // -------------------------
       
   350 
       
   351 RESOURCE TBUF r_calen_setting_weektitle_title
       
   352     {
       
   353     buf = text_calendar_week_title_format;
       
   354     }
       
   355 
       
   356 RESOURCE AVKON_SETTING_PAGE r_calen_setting_weektitle
       
   357     {
       
   358     label = text_calendar_week_title_format;
       
   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_weektitle_choicelist
       
   365     {
       
   366     items =
       
   367         {
       
   368         LBUF
       
   369             {
       
   370             txt = text_calendar_week_title_numb;
       
   371             },
       
   372         LBUF
       
   373             {
       
   374             txt = text_calendar_week_title_dur;
       
   375             }
       
   376         };
       
   377     }
       
   378 
       
   379 
       
   380 //    Defines list for setting page
       
   381 RESOURCE ARRAY r_calendar_weektitle_array
       
   382     {
       
   383     items =
       
   384         {
       
   385         AVKON_ENUMERATED_TEXT
       
   386             {
       
   387             value = 0;
       
   388             text = text_calendar_week_title_numb;
       
   389             },
       
   390         AVKON_ENUMERATED_TEXT
       
   391             {
       
   392             value = 1;
       
   393             text = text_calendar_week_title_dur;
       
   394             }
       
   395         };
       
   396     }
       
   397 
       
   398 //    Defines list for setting page
       
   399 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_weektitle_texts
       
   400     {
       
   401     setting_texts_resource = r_calendar_weektitle_array;
       
   402     popped_up_texts_resource = r_calendar_weektitle_choicelist;
       
   403     }
       
   404 
       
   405 
       
   406 
       
   407 // -------------------------
       
   408 // Plugin list setting
       
   409 // -------------------------
       
   410 
       
   411 RESOURCE LISTBOX r_calen_setting_pluginlist_listbox
       
   412     {
       
   413     flags = EEikListBoxMultipleSelection;
       
   414     }
       
   415 
       
   416 RESOURCE TBUF r_calen_setting_pluginlist_title
       
   417     {
       
   418     buf = "Custom Plugins";
       
   419     }
       
   420 
       
   421 RESOURCE AVKON_SETTING_PAGE r_calen_setting_pluginlist
       
   422     {
       
   423     label = ""; // Never shown on screen
       
   424     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__MARK;
       
   425     type =  EAknSetListBox;
       
   426     editor_resource_id = r_calen_setting_pluginlist_listbox;
       
   427     }
       
   428 
       
   429 
       
   430 
       
   431 // -------------------------
       
   432 // Plugins' custom settings
       
   433 // -------------------------
       
   434 
       
   435 RESOURCE AVKON_SETTING_ITEM_LIST r_calen_empty_setting_list
       
   436     {
       
   437     title = "Regional data"; // will be changed at runtime
       
   438     }
       
   439 
       
   440 RESOURCE AVKON_SETTING_PAGE r_calen_empty_setting_page
       
   441     {
       
   442     label = ""; // will be changed at runtime
       
   443     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   444     type = EAknSetListBox;
       
   445     editor_resource_id = r_calen_setting_pluginlist_listbox;
       
   446     }
       
   447 
       
   448 
       
   449 
       
   450 
       
   451 
       
   452 #ifdef RD_CALEN_EXTERNAL_CAL
       
   453 //
       
   454 // settings for the arabic calendar
       
   455 //
       
   456 //
       
   457 
       
   458 
       
   459 RESOURCE TBUF r_calen_setting_ext_calendar_title
       
   460     {
       
   461     buf = qtn_cale_sett_arabic_cale;
       
   462     }
       
   463 
       
   464 // -----------------------------------------------------------------------------
       
   465 //
       
   466 // r_calen_ext_calendar_setting_page
       
   467 // ?description
       
   468 //
       
   469 // -----------------------------------------------------------------------------
       
   470 //
       
   471 RESOURCE AVKON_SETTING_PAGE r_calen_ext_calendar_setting_page
       
   472     {
       
   473     label = qtn_cale_sett_arabic_cale;
       
   474     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   475     type = EAknCtPopupSettingList;
       
   476     editor_resource_id = r_calen_setting_listbox;
       
   477     }
       
   478 
       
   479 // -----------------------------------------------------------------------------
       
   480 //
       
   481 // r_calen_ext_calendar_setting_texts
       
   482 // ?description
       
   483 //
       
   484 // -----------------------------------------------------------------------------
       
   485 //
       
   486 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_ext_calendar_setting_texts
       
   487     {
       
   488     setting_texts_resource = r_calen_ext_calendar_texts_and_values;
       
   489     }
       
   490 
       
   491 // -----------------------------------------------------------------------------
       
   492 //
       
   493 // r_calen_ext_calendar_texts_and_values
       
   494 // ?description
       
   495 //
       
   496 // -----------------------------------------------------------------------------
       
   497 //
       
   498 RESOURCE ARRAY r_calen_ext_calendar_texts_and_values
       
   499     {
       
   500     items =
       
   501         {
       
   502         AVKON_ENUMERATED_TEXT { value = 0;  text = qtn_chi_cale_lunar_cale_off; },
       
   503         AVKON_ENUMERATED_TEXT { value = 1;  text = qtn_chi_cale_lunar_cale_on; }
       
   504         };
       
   505     }
       
   506 
       
   507 #endif //RD_CALEN_EXTERNAL_CAL    
       
   508 
       
   509 
       
   510 
       
   511 //
       
   512 // settings for the toolbar
       
   513 //
       
   514 //
       
   515 
       
   516 
       
   517 RESOURCE TBUF r_calen_setting_toolbar_title
       
   518     {
       
   519     buf = qtn_cale_sett_toolbar;
       
   520     }
       
   521 
       
   522 // -----------------------------------------------------------------------------
       
   523 //
       
   524 // r_calen_ext_calendar_setting_page
       
   525 // ?description
       
   526 //
       
   527 // -----------------------------------------------------------------------------
       
   528 //
       
   529 RESOURCE AVKON_SETTING_PAGE r_calen_setting_toolbar
       
   530     {
       
   531     label = qtn_cale_sett_toolbar;
       
   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_toolbar_texts
       
   545     {
       
   546     setting_texts_resource = r_calen_toolbar_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_toolbar_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 
       
   566 // -------------------------
       
   567 // Default mailbox setting
       
   568 // -------------------------
       
   569 
       
   570 RESOURCE TBUF r_calen_setting_defaultmailbox_title
       
   571     {
       
   572     buf = qtn_cale_default_mailbox;
       
   573     }
       
   574 
       
   575 RESOURCE AVKON_SETTING_PAGE r_calen_setting_defaultmailbox
       
   576     {
       
   577     label = "";
       
   578     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   579     type =  EAknCtPopupSettingList;
       
   580     editor_resource_id= r_calen_setting_listbox;
       
   581     }
       
   582 
       
   583 RESOURCE ARRAY r_calendar_defaultmailbox_choicelist
       
   584     {
       
   585     items =
       
   586         {
       
   587         };
       
   588     }
       
   589 
       
   590 
       
   591 //    Defines list for mailbox settings page
       
   592 RESOURCE ARRAY r_calendar_defaultmailbox_array
       
   593     {
       
   594     items =
       
   595         {
       
   596         };
       
   597     }
       
   598 
       
   599 //    Defines list for mailbox settings page
       
   600 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_defaultmailbox_texts
       
   601     {
       
   602     setting_texts_resource = r_calendar_defaultmailbox_array;
       
   603     popped_up_texts_resource = r_calendar_defaultmailbox_choicelist;
       
   604     }
       
   605 // -------------------------
       
   606 // Menu pane
       
   607 // -------------------------
       
   608 
       
   609 
       
   610 RESOURCE MENU_BAR r_calendar_setting_menubar
       
   611     {
       
   612     titles =
       
   613         {
       
   614         MENU_TITLE
       
   615             {
       
   616             menu_pane = r_calendar_setting_menupane;
       
   617             txt = " ";   // dummy
       
   618             }
       
   619         };
       
   620     }
       
   621 
       
   622 RESOURCE MENU_PANE r_calendar_setting_menupane
       
   623     {
       
   624     items =
       
   625         {
       
   626         MENU_ITEM
       
   627             {
       
   628             command = ECalenCmdChange;
       
   629             txt = qtn_cale_om_change;
       
   630             //Single click
       
   631             flags = EEikMenuItemAction;
       
   632 
       
   633             },
       
   634         MENU_ITEM
       
   635             {
       
   636             command = EAknCmdHelp;
       
   637             txt = qtn_options_help;
       
   638             },
       
   639         MENU_ITEM
       
   640             {
       
   641             command = EAknSoftkeyExit;
       
   642             txt = qtn_options_exit;
       
   643             }
       
   644         };
       
   645     }
       
   646 
       
   647 
       
   648 
       
   649 RESOURCE TBUF r_calen_filelist_off
       
   650     {
       
   651     buf = qtn_cale_tc_none;
       
   652     }
       
   653 
       
   654 RESOURCE TBUF r_calen_filelist_default
       
   655     {
       
   656     buf = qtn_cale_tc_no_personal_tone;
       
   657     }
       
   658 
       
   659 RESOURCE TBUF r_calen_filelist_header
       
   660     {
       
   661     buf = qtn_tc_popup_heading;
       
   662     }
       
   663 
       
   664 // ---------------------------------------------------------
       
   665 //
       
   666 //      r_qtn_cale_set_snooze_time
       
   667 //      Title for snooze time setting.
       
   668 //
       
   669 // ---------------------------------------------------------
       
   670 //
       
   671 RESOURCE TBUF r_qtn_cale_set_snooze_time
       
   672     {
       
   673     buf = qtn_cale_set_snooze_time;
       
   674     }
       
   675 
       
   676 // ---------------------------------------------------------
       
   677 //
       
   678 //    r_snooze_time_setting_page
       
   679 //    Used to set Snooze time.
       
   680 //
       
   681 // ---------------------------------------------------------
       
   682 //
       
   683 RESOURCE AVKON_SETTING_PAGE r_snooze_time_setting_page
       
   684     {
       
   685     label = qtn_cale_set_snooze_time;
       
   686     type = EAknCtSlider;
       
   687     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   688     menubar = R_AVKON_MENUPANE_EMPTY;
       
   689     editor_resource_id = r_snooze_time_slider;
       
   690     }
       
   691 
       
   692 //----------------------------------------------------------------------------
       
   693 //
       
   694 //    r_snooze_time_slider
       
   695 //    Snooze time Slider structure
       
   696 //
       
   697 //----------------------------------------------------------------------------
       
   698 //
       
   699 RESOURCE SLIDER r_snooze_time_slider
       
   700     {
       
   701     layout = EAknSettingsItemSliderLayout;
       
   702     minvalue = KSnoozeMin;
       
   703     maxvalue = KSnoozeMax;
       
   704     step = KSnoozeStep;
       
   705     minlabel = qtn_cale_sanim_time_out_slider_min;
       
   706     maxlabel = qtn_snooze_time_max;
       
   707     singular_valuelabel = qtn_sanim_time_out_slider_ykcur;
       
   708     valuelabel = qtn_set_cale_sanim_time_out_slider_cur;
       
   709     }
       
   710 
       
   711 // ---------------------------------------------------------
       
   712 //
       
   713 //      r_qtn_sanim_time_out_slider_cur
       
   714 //      Snooze time
       
   715 //
       
   716 // ---------------------------------------------------------
       
   717 //
       
   718 RESOURCE TBUF r_qtn_sanim_time_out_slider_cur
       
   719     {
       
   720     buf = qtn_cale_sanim_time_out_slider_cur;
       
   721     }
       
   722 
       
   723 // ---------------------------------------------------------
       
   724 //
       
   725 //      r_qtn_sanim_time_out_slider_ykcur
       
   726 //      Snooze time
       
   727 //
       
   728 // ---------------------------------------------------------
       
   729 //
       
   730 RESOURCE TBUF r_qtn_sanim_time_out_slider_ykcur
       
   731     {
       
   732     buf = qtn_cale_sanim_time_out_slider_ykcur;
       
   733     }
       
   734 
       
   735 
       
   736 // Resources for General Settings plugin
       
   737 
       
   738 //----------------------------------------------------
       
   739 //   
       
   740 //    r_calendar_gs_view_title
       
   741 //    Setting view's title string.
       
   742 //
       
   743 //----------------------------------------------------
       
   744 //
       
   745 RESOURCE TBUF r_calendar_gs_view_title
       
   746     {
       
   747     buf = qtn_cale_title_calendar;
       
   748     }
       
   749 
       
   750 //----------------------------------------------------
       
   751 //   
       
   752 //    r_calendar_gs_view_title_pane
       
   753 //    Setting view's title pane.
       
   754 //
       
   755 //----------------------------------------------------
       
   756 //
       
   757 RESOURCE TITLE_PANE r_calendar_gs_view_title_pane
       
   758     {
       
   759     txt = qtn_cale_title_calendar;
       
   760     }
       
   761 
       
   762 //----------------------------------------------------
       
   763 //   
       
   764 //    r_calendar_gs_setting_list_view
       
   765 //    Main settings view
       
   766 //
       
   767 //----------------------------------------------------
       
   768 //
       
   769 RESOURCE AVKON_VIEW r_calendar_gs_setting_list_view
       
   770     {
       
   771     menubar = r_calendar_gs_settings_menubar;
       
   772     cba = r_calen_settings_cba;
       
   773     }
       
   774 
       
   775 // ---------------------------------------------------------
       
   776 //
       
   777 //    r_calendar_gs_settings_menubar
       
   778 //    Define menu bar and menu pane of options menu
       
   779 //
       
   780 // ---------------------------------------------------------
       
   781 //
       
   782 RESOURCE MENU_BAR r_calendar_gs_settings_menubar
       
   783     {
       
   784     titles=
       
   785         {
       
   786         // Use the same menu pane as non-GS settings.
       
   787         MENU_TITLE { menu_pane = r_calendar_setting_menupane; }
       
   788         };
       
   789     }
       
   790     
       
   791 ///Regional data    
       
   792 // ---------------------------------------------------------
       
   793 // ---------------------------------------------------------
       
   794 //
       
   795 RESOURCE TBUF R_CALEN_THAI_SETTING_TITLE
       
   796     {
       
   797     buf = qtn_cale_sett_thai_year;
       
   798     }
       
   799 
       
   800 
       
   801 // ---------------------------------------------------------
       
   802 // ---------------------------------------------------------
       
   803 //
       
   804 RESOURCE TBUF R_CALEN_LUNAR_SETTING_TITLE
       
   805     {
       
   806     buf = qtn_chi_cale_sett_lunar_cale;
       
   807     }
       
   808 
       
   809 
       
   810 // ---------------------------------------------------------
       
   811 // ---------------------------------------------------------
       
   812 //
       
   813 RESOURCE AVKON_SETTING_PAGE r_calen_lunar_setting_page
       
   814     {
       
   815     label = ""; // Never shown on screen
       
   816     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   817     type = EAknCtPopupSettingList;
       
   818     editor_resource_id = r_calen_setting_listbox;
       
   819     }
       
   820 
       
   821 // ---------------------------------------------------------
       
   822 // ---------------------------------------------------------
       
   823 //
       
   824 RESOURCE AVKON_SETTING_PAGE r_calen_thai_setting_page
       
   825     {
       
   826     label = ""; // Never shown on screen
       
   827     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   828     type = EAknCtPopupSettingList;
       
   829     editor_resource_id = r_calen_setting_listbox;
       
   830     }
       
   831 
       
   832 // ---------------------------------------------------------
       
   833 // ---------------------------------------------------------
       
   834 //
       
   835 RESOURCE ARRAY r_calen_regional_setting_choicelist
       
   836     {
       
   837     items =
       
   838         {
       
   839         LBUF
       
   840             {
       
   841             txt = qtn_chi_cale_lunar_cale_off;
       
   842             },
       
   843         LBUF
       
   844             {
       
   845             txt = qtn_chi_cale_lunar_cale_on;
       
   846             }
       
   847         };
       
   848     }
       
   849 
       
   850 //----------------------------------------------------
       
   851 //----------------------------------------------------
       
   852 //
       
   853 RESOURCE ARRAY r_calen_regional_setting_array
       
   854     {
       
   855     items =
       
   856         {
       
   857         AVKON_ENUMERATED_TEXT
       
   858             {
       
   859             value = 0;
       
   860             text = qtn_chi_cale_lunar_cale_off;
       
   861             },
       
   862         AVKON_ENUMERATED_TEXT
       
   863             {
       
   864             value = 1;
       
   865             text = qtn_chi_cale_lunar_cale_on;
       
   866             }
       
   867         };
       
   868     }
       
   869 
       
   870 //----------------------------------------------------
       
   871 //----------------------------------------------------
       
   872 //
       
   873 RESOURCE AVKON_POPUP_SETTING_TEXTS r_calen_regional_setting_texts
       
   874     {
       
   875     setting_texts_resource = r_calen_regional_setting_array;
       
   876     popped_up_texts_resource = r_calen_regional_setting_choicelist;
       
   877     }
       
   878 
       
   879 // end of file