locationsystemui/locationsysui/locnotprefplugin/data/locnotprefpluginview.rss
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     1 /*
       
     2 * Copyright (c) 2006 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:  Contains all the resource definitions for the Location Notation
       
    15 *                Preferences plug-in
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 //  RESOURCE IDENTIFIER
       
    21 
       
    22 NAME    LNPR // 4 Letter Identifier
       
    23 
       
    24 //  SYSTEM INCLUDES
       
    25 #include <data_caging_paths_strings.hrh>
       
    26 #include <bldvariant.hrh>
       
    27 #include <avkon.rh>
       
    28 #include <avkon.rsg>
       
    29 #include <avkon.mbg>
       
    30 #include <EIKCORE.rsg>
       
    31 #include <eikon.rh>
       
    32 #include <eikon.rsg>
       
    33 #include <avkon.loc>
       
    34 
       
    35 // USER INCLUDES
       
    36 #include <location.loc>
       
    37 #include <locnotprefsettings.loc>
       
    38 #include "locnotprefplugin.hrh"
       
    39 
       
    40 //  RESOURCE DEFINITIONS 
       
    41     
       
    42 RESOURCE RSS_SIGNATURE 
       
    43     {
       
    44     }
       
    45 
       
    46 //------------------------------------------------------------------------------
       
    47 //   
       
    48 // r_locnotprefplugin_view
       
    49 // Location Notation Preferences plug-in view
       
    50 //
       
    51 //------------------------------------------------------------------------------
       
    52 //
       
    53 RESOURCE AVKON_VIEW r_locnotprefplugin_view
       
    54     {
       
    55     menubar = r_locnotprefplugin_menubar_view;
       
    56     cba = r_locnotprefplugin_cba;    
       
    57     }
       
    58 
       
    59 //------------------------------------------------------------------------------
       
    60 //   
       
    61 // r_locnotprefplugin_cba
       
    62 // CBA for Location Notation preferences plug-in
       
    63 //
       
    64 //-------------------------------------------------------------------------------
       
    65 //   
       
    66 RESOURCE CBA r_locnotprefplugin_cba
       
    67     {
       
    68     flags = 0;
       
    69     buttons = 
       
    70         {
       
    71         CBA_BUTTON 
       
    72             {
       
    73             id = EAknSoftkeyOptions; 
       
    74             txt = text_softkey_option;
       
    75             },
       
    76         CBA_BUTTON 
       
    77             {
       
    78             id = EAknSoftkeyBack; 
       
    79             txt = text_softkey_back;
       
    80             },
       
    81         CBA_BUTTON
       
    82             {
       
    83             id = ELocNotPrefMSKChange; 
       
    84             txt = qtn_msk_change;
       
    85             }
       
    86         };
       
    87     }
       
    88 
       
    89 //------------------------------------------------------------------------------
       
    90 //   
       
    91 // r_locnotprefplugin_menubar_view
       
    92 //
       
    93 // Menu bar for Location Notation preferences plug-in view.
       
    94 //
       
    95 //------------------------------------------------------------------------------
       
    96 //
       
    97 RESOURCE MENU_BAR r_locnotprefplugin_menubar_view
       
    98     {
       
    99     titles=
       
   100         {
       
   101         MENU_TITLE 
       
   102             { 
       
   103             menu_pane = r_locnotprefplugin_menu; txt=""; 
       
   104             }
       
   105         };
       
   106     }
       
   107 
       
   108 //------------------------------------------------------------------------------
       
   109 //   
       
   110 // r_locnotprefplugin_menu
       
   111 //
       
   112 // Menu Items for Location Notation preferences plug-in view.
       
   113 //
       
   114 //------------------------------------------------------------------------------
       
   115 //
       
   116 RESOURCE MENU_PANE r_locnotprefplugin_menu
       
   117     {
       
   118     items=
       
   119         {
       
   120         MENU_ITEM 
       
   121             { 
       
   122             command = ELocNotPrefChange; 
       
   123             txt = qtn_options_change; 
       
   124             flags = EEikMenuItemAction;
       
   125             },
       
   126         MENU_ITEM 
       
   127             { 
       
   128             command = EAknCmdHelp; 
       
   129             txt = qtn_options_help; 
       
   130             },
       
   131         MENU_ITEM 
       
   132             {
       
   133             // Exit option should use 'EEikCmdExit' instead of 'EEAknCmdExit'
       
   134             // This is to ensure that the Exit command is not handled by the 
       
   135             // ProcessCommandL of CAknView and is transferred to 
       
   136             // CAknViewAppUi::HandleCommandL. This behaviour is necessary 
       
   137             // for proper handling of the Exit command from an App Server's 
       
   138             // perspective.
       
   139             command = EEikCmdExit;  
       
   140             txt = qtn_options_exit; 
       
   141             }
       
   142         };
       
   143     }
       
   144     
       
   145 //------------------------------------------------------------------------------
       
   146 // r_loc_settings_notations
       
   147 // 
       
   148 // Caption text for Location Notation preferences settings
       
   149 //------------------------------------------------------------------------------
       
   150 //
       
   151 RESOURCE TBUF r_loc_settings_notations
       
   152     {
       
   153     buf = qtn_loc_settings_notations;
       
   154     }
       
   155        
       
   156 //------------------------------------------------------------------------------
       
   157 // r_loc_title_notations
       
   158 // 
       
   159 // Title text for Location Notation preferences settings
       
   160 //------------------------------------------------------------------------------
       
   161 //
       
   162 RESOURCE TBUF r_loc_title_notations
       
   163     {
       
   164     buf = qtn_loc_title_notations;
       
   165     }
       
   166     
       
   167 //------------------------------------------------------------------------------
       
   168 // r_loc_notation_measures
       
   169 // 
       
   170 // List box text for System of Measurements
       
   171 //------------------------------------------------------------------------------
       
   172 //
       
   173 RESOURCE TBUF r_loc_notation_measures
       
   174     {
       
   175     buf = qtn_loc_notation_measures;
       
   176     }
       
   177 
       
   178 //------------------------------------------------------------------------------
       
   179 // r_loc_notation_coordinate_format
       
   180 // 
       
   181 // List box text for Co-ordinate display format
       
   182 //------------------------------------------------------------------------------
       
   183 //
       
   184 RESOURCE TBUF r_loc_notation_coordinate_format
       
   185     {
       
   186     buf = qtn_loc_notation_coordinate_format;
       
   187     }
       
   188 
       
   189 //------------------------------------------------------------------------------
       
   190 // r_loc_metric_system
       
   191 // 
       
   192 // Settings value for System of measures. Indicates usage of Metric system of 
       
   193 // measurement for all location applications
       
   194 //------------------------------------------------------------------------------
       
   195 //
       
   196 RESOURCE TBUF r_loc_metric_system
       
   197     {
       
   198     buf = qtn_loc_metric_system;
       
   199     }
       
   200 
       
   201 //------------------------------------------------------------------------------
       
   202 // r_loc_imperial_system
       
   203 // 
       
   204 // Settings value for System of measures. Indicates usage of Imperial system of 
       
   205 // measurement for all location applications
       
   206 //------------------------------------------------------------------------------
       
   207 //
       
   208 RESOURCE TBUF r_loc_imperial_system
       
   209     {
       
   210     buf = qtn_loc_imperial_system;
       
   211     }
       
   212 
       
   213 //------------------------------------------------------------------------------
       
   214 // r_loc_format_decimal_seconds
       
   215 // 
       
   216 // Settings value for Co-ordinate display format. Indicates usage of Degrees, 
       
   217 // minutes, seconds and decimal seconds
       
   218 //------------------------------------------------------------------------------
       
   219 //
       
   220 RESOURCE TBUF r_loc_format_decimal_seconds
       
   221     {
       
   222     buf = qtn_loc_format_decimal_seconds;
       
   223     }
       
   224 
       
   225 //------------------------------------------------------------------------------
       
   226 // r_loc_format_decimal_minutes
       
   227 // 
       
   228 // Settings value for Co-ordinate display format. Indicates usage of Degrees, 
       
   229 // minutes and decimal minutes
       
   230 //------------------------------------------------------------------------------
       
   231 //
       
   232 RESOURCE TBUF r_loc_format_decimal_minutes
       
   233     {
       
   234     buf = qtn_loc_format_decimal_minutes;
       
   235     }
       
   236 
       
   237 //------------------------------------------------------------------------------
       
   238 // r_loc_format_decimal_degrees
       
   239 // 
       
   240 // Settings value for Co-ordinate display format. Indicates usage of Degrees  
       
   241 // and decimal degrees
       
   242 //------------------------------------------------------------------------------
       
   243 //
       
   244 RESOURCE TBUF r_loc_format_decimal_degrees
       
   245     {
       
   246     buf = qtn_loc_format_decimal_degrees;
       
   247     }
       
   248     
       
   249 //------------------------------------------------------------------------------
       
   250 // r_loc_sysofmeas_settings
       
   251 //
       
   252 // Settings page for manipulating System of measurement settings
       
   253 //------------------------------------------------------------------------------
       
   254 //
       
   255 RESOURCE AVKON_SETTING_PAGE r_loc_sysofmeas_settings
       
   256     { 
       
   257     label = qtn_loc_notation_measures;
       
   258     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   259     type = EAknSetListBox;
       
   260     editor_resource_id = r_loc_not_settings_listbox;
       
   261     }      
       
   262 
       
   263 //------------------------------------------------------------------------------
       
   264 // r_loc_coorddisplay_settings
       
   265 //
       
   266 // Settings page for manipulating Co-ordinate display format settings
       
   267 //------------------------------------------------------------------------------
       
   268 //
       
   269 RESOURCE AVKON_SETTING_PAGE r_loc_coorddisplay_settings
       
   270     { 
       
   271     label = qtn_loc_notation_coordinate_format;
       
   272     softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
       
   273     type = EAknSetListBox;
       
   274     editor_resource_id = r_loc_not_settings_listbox;
       
   275     } 
       
   276      
       
   277 //------------------------------------------------------------------------------
       
   278 //   
       
   279 //    r_blid_settings_listbox 
       
   280 //    Set Settings text
       
   281 //
       
   282 //------------------------------------------------------------------------------
       
   283 //
       
   284 RESOURCE LISTBOX r_loc_not_settings_listbox 
       
   285     {
       
   286     flags = EEikListBoxMultipleSelection;
       
   287     }   
       
   288 // End of File