phonebookui/Phonebook2/UIControls/rss/Pbk2Settings.rss
changeset 0 e686773b3f54
child 21 9da50d567e3c
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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:  Phonebook 2 settings resources.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <Pbk2CommonUi.rsg>
       
    20 
       
    21 
       
    22 // --------------------------------------------------------------------------
       
    23 // Name order settings popup
       
    24 // --------------------------------------------------------------------------
       
    25 //
       
    26 RESOURCE POPUP_SETTING_LIST
       
    27         r_phonebook2_settings_nameorder_selection_popup_listbox
       
    28 	{
       
    29 	}
       
    30 
       
    31 // --------------------------------------------------------------------------
       
    32 // Name order settings page
       
    33 // --------------------------------------------------------------------------
       
    34 //
       
    35 RESOURCE AVKON_SETTING_PAGE r_phonebook2_settings_nameorder_page
       
    36     {
       
    37 	label = qtn_phob_set_disp_names;
       
    38 	softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
    39 	type = EAknCtPopupSettingList;
       
    40 	editor_resource_id =
       
    41         r_phonebook2_settings_nameorder_selection_popup_listbox;
       
    42 	invalid_contents_softkey_resource =
       
    43         r_pbk2_settings_softkeys_empty_cancel;
       
    44 	}	
       
    45 
       
    46 // --------------------------------------------------------------------------
       
    47 // An empty array for Avkon to read resources correctly
       
    48 // --------------------------------------------------------------------------
       
    49 //
       
    50 RESOURCE ARRAY r_phonebook2_settings_nameorder_text_array
       
    51    {
       
    52    items =
       
    53       {
       
    54       };
       
    55    }
       
    56 
       
    57 // --------------------------------------------------------------------------
       
    58 // Name order settings popup texts
       
    59 // --------------------------------------------------------------------------
       
    60 //
       
    61 RESOURCE AVKON_POPUP_SETTING_TEXTS
       
    62         r_phonebook2_settings_nameorder_setting_texts
       
    63 	{
       
    64 	setting_texts_resource = r_phonebook2_settings_nameorder_text_array;
       
    65 	popped_up_texts_resource = r_phonebook2_settings_nameorder_text_array;
       
    66 	}
       
    67 
       
    68 // --------------------------------------------------------------------------
       
    69 // Memory selection settings popup listbox
       
    70 // --------------------------------------------------------------------------
       
    71 //
       
    72 RESOURCE LISTBOX r_phonebook2_settings_memory_selection_popup_listbox
       
    73 	{
       
    74 	flags = EEikListBoxMultipleSelection;
       
    75 	}
       
    76 
       
    77 // --------------------------------------------------------------------------
       
    78 // Memory selection settings page
       
    79 // --------------------------------------------------------------------------
       
    80 //
       
    81 RESOURCE AVKON_SETTING_PAGE r_phonebook2_settings_memory_selection_page
       
    82     {
       
    83     label = qtn_phob_set_contacts_shown;
       
    84     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__UNMARK;
       
    85 	type = EAknSetListBox;
       
    86 	editor_resource_id =
       
    87         r_phonebook2_settings_memory_selection_popup_listbox;
       
    88     invalid_contents_softkey_resource = r_pbk2_softkeys_empty_cancel_mark;        
       
    89     }    
       
    90 
       
    91 // --------------------------------------------------------------------------
       
    92 // Default saving store settings page
       
    93 // --------------------------------------------------------------------------
       
    94 //
       
    95 RESOURCE AVKON_SETTING_PAGE r_phonebook2_settings_default_saving_storage_page
       
    96     {
       
    97 	label = qtn_phob_set_default_storage;
       
    98     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
    99 	type = EAknCtPopupSettingList;
       
   100 	editor_resource_id =
       
   101         r_phonebook2_settings_default_saving_storage_popup_listbox;
       
   102 	}
       
   103 
       
   104 // --------------------------------------------------------------------------
       
   105 // Default saving store settings popup listbox
       
   106 // --------------------------------------------------------------------------
       
   107 //
       
   108 RESOURCE POPUP_SETTING_LIST
       
   109         r_phonebook2_settings_default_saving_storage_popup_listbox
       
   110 	{
       
   111 	}	
       
   112 	
       
   113 // --------------------------------------------------------------------------
       
   114 // Default saving storage settings values
       
   115 // --------------------------------------------------------------------------
       
   116 //
       
   117 RESOURCE ARRAY r_phonebook2_settings_default_saving_storage_text_and_values
       
   118 	{
       
   119 	items =
       
   120 		{			
       
   121 		};
       
   122 	}
       
   123 
       
   124 // --------------------------------------------------------------------------
       
   125 // Default saving storage settings texts
       
   126 // --------------------------------------------------------------------------
       
   127 //
       
   128 RESOURCE AVKON_POPUP_SETTING_TEXTS
       
   129         r_phonebook2_settings_default_saving_storage_setting_texts
       
   130 	{
       
   131 	setting_texts_resource =
       
   132         r_phonebook2_settings_default_saving_storage_text_and_values;
       
   133 	popped_up_texts_resource =
       
   134         r_phonebook2_settings_default_saving_storage_text_and_values;
       
   135 	}
       
   136 
       
   137 
       
   138 // --------------------------------------------------------------------------
       
   139 // predictive search settings texts
       
   140 // --------------------------------------------------------------------------
       
   141 //
       
   142 RESOURCE AVKON_POPUP_SETTING_TEXTS r_phonebook2_settings_predictive_search_setting_texts
       
   143     {
       
   144     setting_texts_resource = r__phonebook2_settings_predictive_search_on_off_texts;
       
   145     popped_up_texts_resource = r__phonebook2_settings_predictive_search_popped_up_on_off_texts;
       
   146     }
       
   147 
       
   148 RESOURCE ARRAY r__phonebook2_settings_predictive_search_on_off_texts
       
   149     {
       
   150     items =
       
   151         {
       
   152         AVKON_ENUMERATED_TEXT { value = 1; text = qtn_phob_set_prediction_on; },
       
   153         AVKON_ENUMERATED_TEXT { value = 0; text = qtn_phob_set_prediction_off; }
       
   154         };
       
   155     }
       
   156 
       
   157 RESOURCE ARRAY r__phonebook2_settings_predictive_search_popped_up_on_off_texts
       
   158     {
       
   159     items =
       
   160         {
       
   161         LBUF { txt = qtn_phob_set_prediction_on; },
       
   162         LBUF { txt = qtn_phob_set_prediction_off; }
       
   163         };
       
   164     }
       
   165 
       
   166 // --------------------------------------------------------------------------
       
   167 // predictive search setting page
       
   168 // --------------------------------------------------------------------------
       
   169 //
       
   170 RESOURCE AVKON_SETTING_PAGE r_phonebook2_settings_predictive_search_page
       
   171     {   
       
   172     type = EAknCtPopupSettingList;
       
   173     editor_resource_id = r_phonebook2_settings_predictive_search_list;
       
   174     }
       
   175 
       
   176 RESOURCE POPUP_SETTING_LIST r_phonebook2_settings_predictive_search_list
       
   177     {
       
   178     }
       
   179   
       
   180 
       
   181 // --------------------------------------------------------------------------
       
   182 // The settings list
       
   183 // --------------------------------------------------------------------------
       
   184 //
       
   185 RESOURCE AVKON_SETTING_ITEM_LIST r_phonebook2_settings_list
       
   186 	{
       
   187 	title = qtn_phob_set_title;
       
   188 	initial_number = 1;
       
   189     items = 
       
   190 		{		
       
   191         AVKON_SETTING_ITEM
       
   192             {
       
   193             identifier = EPbk2SettingMemorySelection;
       
   194             name = qtn_phob_set_contacts_shown;
       
   195             setting_page_resource =
       
   196                 r_phonebook2_settings_memory_selection_page;
       
   197             },
       
   198         AVKON_SETTING_ITEM
       
   199 			{
       
   200       		identifier = EPbk2SettingDefaultSavingStorage;
       
   201 	      	name = qtn_phob_set_default_storage;
       
   202 	      	setting_page_resource =
       
   203                 r_phonebook2_settings_default_saving_storage_page;
       
   204 			associated_resource =
       
   205                 r_phonebook2_settings_default_saving_storage_setting_texts;
       
   206 			},
       
   207         AVKON_SETTING_ITEM
       
   208 			{
       
   209       		identifier = EPbk2SettingNameOrder;
       
   210 	      	name = qtn_phob_set_disp_names;
       
   211 	      	setting_page_resource = r_phonebook2_settings_nameorder_page;
       
   212 			associated_resource =
       
   213                 r_phonebook2_settings_nameorder_setting_texts;
       
   214 			},
       
   215       AVKON_SETTING_ITEM
       
   216             {
       
   217             identifier = EPbk2SettingPredictiveSearch;
       
   218             name = qtn_phob_set_prediction;
       
   219             setting_page_resource = r_phonebook2_settings_predictive_search_page;
       
   220             associated_resource =
       
   221                 r_phonebook2_settings_predictive_search_setting_texts;
       
   222             }
       
   223 		};
       
   224 	}
       
   225 
       
   226 // --------------------------------------------------------------------------
       
   227 // The settings list without name ordering item
       
   228 // --------------------------------------------------------------------------
       
   229 //
       
   230 RESOURCE AVKON_SETTING_ITEM_LIST r_phonebook2_settings_list_no_name_ordering
       
   231 	{
       
   232 	title = qtn_phob_set_title;
       
   233 	initial_number = 1;
       
   234     items = 
       
   235 		{		
       
   236         AVKON_SETTING_ITEM
       
   237             {
       
   238             identifier = EPbk2SettingMemorySelection;
       
   239             name = qtn_phob_set_contacts_shown;
       
   240             setting_page_resource =
       
   241                 r_phonebook2_settings_memory_selection_page;
       
   242             },
       
   243         AVKON_SETTING_ITEM
       
   244 			{
       
   245       		identifier = EPbk2SettingDefaultSavingStorage;
       
   246 	      	name = qtn_phob_set_default_storage;
       
   247 	      	setting_page_resource = r_phonebook2_settings_default_saving_storage_page;
       
   248 			associated_resource =
       
   249                 r_phonebook2_settings_default_saving_storage_setting_texts;
       
   250 			}
       
   251 		};
       
   252 	}
       
   253 
       
   254 // End of File