calendarui/multicaluidialog/data/multicaluidialog.rss
branchRCL_3
changeset 30 bd7edf625bdd
parent 0 f979ecb2b13e
equal deleted inserted replaced
29:12af337248b1 30:bd7edf625bdd
       
     1 /*
       
     2 * Copyright (c) 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:  
       
    15 *
       
    16 */
       
    17 
       
    18 // system inlcudes.
       
    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 <avkon.rsg>
       
    25 #include <calendar.loc>
       
    26 
       
    27 #include <AvkonIcons.hrh>
       
    28 #include <avkon.hrh>
       
    29 #include <aknsconstants.hrh>
       
    30 #include <calendar.loc>
       
    31 #include <calendar.mbg>
       
    32 #include <calencommands.hrh>
       
    33 #include "calendar.hrh"
       
    34 //#include "MultilcaldControls.hrh"
       
    35 
       
    36 
       
    37 NAME    CLD1
       
    38 RESOURCE RSS_SIGNATURE { }
       
    39 
       
    40 // Resource definitions
       
    41 // ---------------------------------------------------------
       
    42 // R_CALENDB_LIST_MENUBAR
       
    43 // The menubar.
       
    44 // ---------------------------------------------------------
       
    45 //
       
    46 RESOURCE MENU_BAR r_calendb_list_menubar
       
    47     {           
       
    48     titles =
       
    49         {
       
    50         MENU_TITLE
       
    51             {
       
    52 	     menu_pane = R_AVKON_MENUPANE_EMPTY;	
       
    53             } 
       
    54         };
       
    55     }
       
    56 
       
    57 //----------------------------------------------------
       
    58 //
       
    59 //    r_calendb_list_dialog
       
    60 //    Dialog resource for settings dialog.
       
    61 //
       
    62 //----------------------------------------------------
       
    63 //
       
    64 RESOURCE DIALOG r_calendb_list_dialog
       
    65     {
       
    66 
       
    67 
       
    68     flags = EEikDialogFlagNoDrag
       
    69            |   EEikDialogFlagFillAppClientRect
       
    70            |   EEikDialogFlagCbaButtons
       
    71            |   EEikDialogFlagWait
       
    72            |   EAknDialogSelectionList
       
    73            |   EEikDialogFlagNotifyEsc;
       
    74 
       
    75    buttons = r_calendb_list_mark_cba;
       
    76 
       
    77     }
       
    78 
       
    79 //----------------------------------------------------
       
    80 //
       
    81 //    r_calendb_list_dialog
       
    82 //    Dialog resource for settings dialog.
       
    83 //
       
    84 //----------------------------------------------------
       
    85 //
       
    86 RESOURCE DIALOG r_calendb_list_singleselect_dialog
       
    87     {
       
    88     flags = EEikDialogFlagNoDrag
       
    89            |   EEikDialogFlagFillAppClientRect
       
    90            |   EEikDialogFlagCbaButtons
       
    91            |   EEikDialogFlagWait           
       
    92            |   EEikDialogFlagNotifyEsc;
       
    93 
       
    94 
       
    95     buttons = R_AVKON_SOFTKEYS_OK_BACK ; 
       
    96     
       
    97 
       
    98     }
       
    99 
       
   100 //----------------------------------------------------
       
   101 //
       
   102 //    r_calen_multipledb_cba
       
   103 //    CBA resource for calendars dialog.
       
   104 //
       
   105 //----------------------------------------------------
       
   106 //
       
   107 
       
   108 RESOURCE CBA r_calendb_list_mark_cba
       
   109     {
       
   110     buttons =
       
   111         {
       
   112         CBA_BUTTON
       
   113             {
       
   114             id = ECalenSelectCmdOk;
       
   115             txt = text_softkey_ok;
       
   116             },
       
   117         CBA_BUTTON
       
   118             {
       
   119             id = EAknSoftkeyBack;
       
   120             txt = text_softkey_back;
       
   121             }
       
   122        };
       
   123     }
       
   124 
       
   125 RESOURCE CBA r_cba
       
   126     {
       
   127     buttons =
       
   128         {
       
   129         CBA_BUTTON { id = EAknSoftkeyOk; txt = "Ok"; },
       
   130         CBA_BUTTON { id = EEikBidCancel; txt = "Cancel"; }
       
   131         };
       
   132     }
       
   133 
       
   134 // ---------------------------------------------------------
       
   135 //
       
   136 //    r_calen_db_list_title
       
   137 //    The empty text when the item subject is empty
       
   138 //
       
   139 // ---------------------------------------------------------
       
   140 //
       
   141 RESOURCE TBUF r_calen_db_list_title
       
   142     {
       
   143     buf = qtn_cale_title_calendars;
       
   144     }
       
   145 
       
   146 // ---------------------------------------------------------
       
   147 //
       
   148 //    r_calen_db_list_title
       
   149 //    The empty text when the item subject is empty
       
   150 //
       
   151 // ---------------------------------------------------------
       
   152 //
       
   153 RESOURCE TBUF r_calen_db_visible
       
   154     {
       
   155     buf = qtn_cale_db_shown;
       
   156     }
       
   157 
       
   158 // ---------------------------------------------------------
       
   159 //
       
   160 //    r_calen_db_list_title
       
   161 //    The empty text when the item subject is empty
       
   162 //
       
   163 // ---------------------------------------------------------
       
   164 //
       
   165 RESOURCE TBUF r_calen_db_hidden
       
   166     {
       
   167     buf = qtn_cale_db_hidden;
       
   168     }
       
   169 
       
   170 
       
   171 
       
   172 //----------------------------------------------------
       
   173 //
       
   174 //    r_calen_caldb_menubar
       
   175 //    menubar resource for calendars dialog.
       
   176 //
       
   177 //----------------------------------------------------
       
   178 //
       
   179 RESOURCE MENU_BAR r_calen_caldb_menubar
       
   180     {
       
   181     titles =
       
   182         {
       
   183         MENU_TITLE
       
   184             {
       
   185             menu_pane = r_calen_caldb_menupane;
       
   186             txt = "";   // dummy
       
   187             }
       
   188         };
       
   189     }
       
   190 
       
   191 //----------------------------------------------------
       
   192 //
       
   193 //    r_calen_caldb_menupane
       
   194 //    menupane resource for calendars dialog.
       
   195 //
       
   196 //----------------------------------------------------
       
   197 //
       
   198 RESOURCE MENU_PANE r_calen_caldb_menupane
       
   199     {
       
   200     items =
       
   201         {
       
   202         MENU_ITEM
       
   203             {
       
   204             command = ECalenCmdItemSelect;
       
   205             txt = qtn_cale_db_opt_show_calendar;
       
   206         //Single click 
       
   207             flags = EEikMenuItemSpecific;
       
   208             },
       
   209             
       
   210         MENU_ITEM
       
   211             {
       
   212             command = ECalenCmdEdit;
       
   213             txt = qtn_cale_db_opt_edit_calendar;
       
   214         //Single click 
       
   215             flags = EEikMenuItemAction;
       
   216             }, 
       
   217         MENU_ITEM
       
   218             {
       
   219             command = EAknCmdHelp;
       
   220             txt = qtn_options_help;
       
   221             }
       
   222             ,
       
   223         MENU_ITEM
       
   224             {
       
   225             command = EAknSoftkeyBack;
       
   226             txt=text_softkey_back;
       
   227             }
       
   228            
       
   229         };
       
   230     }
       
   231 
       
   232     
       
   233