XDMSettingsUI/data/XDMPluginRsc.rss
changeset 0 c8caa15ef882
child 12 e6a66db4e9d0
child 18 52d91a16fec3
equal deleted inserted replaced
-1:000000000000 0:c8caa15ef882
       
     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:    Resource file for XDMPlugin
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 //  RESOURCE IDENTIFIER
       
    22 NAME    GSXD // 4 letter ID
       
    23 
       
    24 //  INCLUDES
       
    25 #include    <bldvariant.hrh>
       
    26 #include    <avkon.rh>
       
    27 #include    <avkon.rsg>
       
    28 #include    <avkon.mbg>
       
    29 #include    <eikcore.rsg>
       
    30 #include    <eikon.rh>
       
    31 #include    <eikon.rsg>
       
    32 #include    <avkon.loc>
       
    33 #include    <data_caging_paths_strings.hrh>
       
    34 #include    <appinfo.rh>
       
    35 
       
    36 #include    <gsxdmplugin.loc>
       
    37 #include    "XDMPlugin.hrh"
       
    38 
       
    39 // CONSTANTS
       
    40 //----------------------------------------------------
       
    41 //   
       
    42 //    
       
    43 //    Needed or loading the resource fails!
       
    44 //
       
    45 //----------------------------------------------------
       
    46 //
       
    47 RESOURCE RSS_SIGNATURE
       
    48     {
       
    49     }
       
    50     
       
    51 //----------------------------------------------------
       
    52 //   
       
    53 //    r_gs_xdm_settings_main_menubar
       
    54 //    Menu when main list is visible
       
    55 //
       
    56 //----------------------------------------------------
       
    57 //
       
    58 RESOURCE MENU_BAR r_gs_xdm_settings_main_menubar
       
    59     {
       
    60     titles =
       
    61         {
       
    62         MENU_TITLE { menu_pane = r_gs_xdm_settings_main_menu;}
       
    63         };
       
    64     }
       
    65 
       
    66 //----------------------------------------------------
       
    67 //   
       
    68 //    r_gs_xdm_settings_main_menu
       
    69 //    Main menu when we enter in XDM settings
       
    70 //
       
    71 //----------------------------------------------------
       
    72 //
       
    73 RESOURCE MENU_PANE r_gs_xdm_settings_main_menu
       
    74     {
       
    75     items =
       
    76         {
       
    77         MENU_ITEM
       
    78             { 
       
    79             command = EGSXDMPluginCmdChange;
       
    80             txt = qtn_xdm_settings_change;
       
    81             flags = EEikMenuItemAction;
       
    82             },
       
    83         MENU_ITEM 
       
    84             { 
       
    85             command = EGSXDMPluginCmdEdit;
       
    86             txt = qtn_xdm_options_edit_set;
       
    87             flags = EEikMenuItemAction;
       
    88             },
       
    89         MENU_ITEM 
       
    90             {
       
    91             command = EGSXDMPluginCmdNewSettings;
       
    92             cascade = r_gs_xdm_new_settings_menu; 
       
    93             txt = qtn_xdm_options_new_set;
       
    94             },
       
    95         MENU_ITEM
       
    96             { 
       
    97             command = EGSXDMPluginCmdDelete;
       
    98             txt = qtn_xdm_options_delete;
       
    99             flags = EEikMenuItemSpecific;
       
   100             },
       
   101         MENU_ITEM 
       
   102             { 
       
   103             command = EAknCmdHelp;
       
   104             txt = qtn_options_help;
       
   105             },   
       
   106         MENU_ITEM 
       
   107             { 
       
   108             command = EGSXDMPluginCmdExitFromSL;
       
   109             txt = qtn_options_exit;
       
   110             },     
       
   111         MENU_ITEM 
       
   112             { 
       
   113             command = EAknCmdExit;
       
   114             txt = qtn_options_exit;
       
   115             }     
       
   116         };
       
   117     }
       
   118 
       
   119 //----------------------------------------------------
       
   120 //   
       
   121 //    r_gs_xdm_new_settings_menu
       
   122 //    case menu
       
   123 //
       
   124 //----------------------------------------------------
       
   125 //    
       
   126 RESOURCE MENU_PANE r_gs_xdm_new_settings_menu
       
   127     {
       
   128     items =
       
   129         {
       
   130         MENU_ITEM 
       
   131             { 
       
   132             command = EGSXDMPluginCmdNewDefault;
       
   133             txt = qtn_xdm_options_new_sub_default;
       
   134             },
       
   135         MENU_ITEM 
       
   136             { 
       
   137             command = EGSXDMPluginCmdNewExisting;
       
   138             txt = qtn_xdm_options_new_sub_existing;
       
   139             }        
       
   140         };
       
   141     }
       
   142     
       
   143 //----------------------------------------------------
       
   144 //   
       
   145 //    r_gs_xdm_main_view_title
       
   146 //    XDM view's title.
       
   147 //
       
   148 //----------------------------------------------------
       
   149 //
       
   150 RESOURCE TITLE_PANE r_gs_xdm_main_view_title
       
   151     {
       
   152     txt = qtn_xdm_title;
       
   153     }
       
   154     
       
   155 //----------------------------------------------------
       
   156 //   
       
   157 //    r_gs_xdm_main_view
       
   158 //    XDM plugin main view.
       
   159 //
       
   160 //----------------------------------------------------
       
   161 //
       
   162 RESOURCE AVKON_VIEW r_gs_xdm_main_view
       
   163     {
       
   164     menubar = r_gs_xdm_settings_main_menubar;
       
   165     cba = r_xdmui_mainview_softkeys;//R_AVKON_SOFTKEYS_OPTIONS_BACK;  
       
   166     }
       
   167     
       
   168 //----------------------------------------------------
       
   169 //   
       
   170 //    r_xdmui_mainview_softkeys
       
   171 //    XDM plugin main view softkeys.
       
   172 //
       
   173 //----------------------------------------------------
       
   174 //  
       
   175 RESOURCE CBA r_xdmui_mainview_softkeys
       
   176     {
       
   177     flags = 0;
       
   178     buttons = 
       
   179         {
       
   180         CBA_BUTTON {id=EAknSoftkeyOptions; txt= text_softkey_option;},
       
   181         CBA_BUTTON {id=EAknSoftkeyBack; txt= text_softkey_back;},
       
   182         CBA_BUTTON {id=EGSXDMPluginCmdEdit; txt= qtn_msk_edit;}
       
   183         };
       
   184      }
       
   185      
       
   186 //----------------------------------------------------
       
   187 //   
       
   188 //    r_xdmui_mainview_softkeys_sl
       
   189 //    XDM plugin main view softkeys for settings list
       
   190 //
       
   191 //----------------------------------------------------
       
   192 //  
       
   193 RESOURCE CBA r_xdmui_mainview_softkeys_sl
       
   194     {
       
   195     flags = 0;
       
   196     buttons = 
       
   197         {
       
   198         CBA_BUTTON {id=EAknSoftkeyOptions; txt= text_softkey_option;},
       
   199         CBA_BUTTON {id=EAknSoftkeyBack; txt= text_softkey_back;},
       
   200         CBA_BUTTON {id=EGSXDMPluginCmdChange; txt= qtn_msk_change;}
       
   201         };
       
   202     }
       
   203 
       
   204 // ---------------------------------------------------------
       
   205 //   
       
   206 // r_settings
       
   207 //
       
   208 // settings list - collection of all setting types
       
   209 //   
       
   210 // ---------------------------------------------------------
       
   211 //
       
   212 RESOURCE LISTBOX r_gs_xdm_main_list
       
   213     {
       
   214     flags = EAknListBoxSelectionList;        
       
   215     }   
       
   216 
       
   217     
       
   218 // ---------------------------------------------------------
       
   219 //   
       
   220 // r_settings
       
   221 //
       
   222 // settings list - collection of all setting types
       
   223 //   
       
   224 // ---------------------------------------------------------
       
   225 //   
       
   226 
       
   227 RESOURCE AVKON_SETTING_ITEM_LIST r_settings
       
   228     {
       
   229     flags = EAknSettingItemIncludeHiddenInOrdinal;
       
   230     title = qtn_xdm_title;
       
   231     items = 
       
   232         {
       
   233         AVKON_SETTING_ITEM
       
   234             {
       
   235             identifier = ESettingItemSettingName;
       
   236             setting_page_resource = r_server_name_editor_page;
       
   237             name = qtn_xdm_settings_set_name;
       
   238             compulsory_ind_string = qtn_xdm_compulsory_indicator;
       
   239             empty_item_text = qtn_xdm_settings_must_define;
       
   240             },
       
   241         AVKON_SETTING_ITEM
       
   242             {
       
   243             identifier = ESettingItemAccessPoint;
       
   244             setting_page_resource = r_accesspoint_editor_page;
       
   245             name = qtn_xdm_settings_access_point;
       
   246             compulsory_ind_string = qtn_xdm_compulsory_indicator;
       
   247             empty_item_text = qtn_xdm_settings_must_define;
       
   248             },
       
   249         AVKON_SETTING_ITEM
       
   250             {
       
   251             identifier = ESettingItemServerAddress;
       
   252             setting_page_resource = r_server_address_editor_page;
       
   253             name = qtn_xdm_settings_address;
       
   254             compulsory_ind_string = qtn_xdm_compulsory_indicator;
       
   255             empty_item_text = qtn_xdm_settings_must_define;
       
   256             },
       
   257         AVKON_SETTING_ITEM
       
   258             {
       
   259             identifier = ESettingItemSipURL;
       
   260             setting_page_resource = r_sip_url_editor_page;
       
   261             name = qtn_xdm_settings_sip;
       
   262             },
       
   263         AVKON_SETTING_ITEM
       
   264             {
       
   265             identifier = ESettingItemUserID;
       
   266             setting_page_resource = r_user_id_editor_page;
       
   267             name = qtn_xdm_settings_username;
       
   268             compulsory_ind_string = qtn_xdm_compulsory_indicator;
       
   269             empty_item_text = qtn_xdm_settings_must_define;
       
   270             },
       
   271         AVKON_SETTING_ITEM
       
   272             {
       
   273             identifier = ESettingItemPassword;
       
   274             setting_page_resource = r_password_editor_page;
       
   275             name = qtn_xdm_settings_password;
       
   276             empty_item_text = qtn_xdm_text_password;
       
   277             }
       
   278         };
       
   279     }
       
   280 
       
   281 // ---------------------------------------------------------
       
   282 //   
       
   283 // Settings Pages
       
   284 //
       
   285 // defines the AVKON_SETTING_PAGE structures referred to in 
       
   286 // setting_page_resource fields above.
       
   287 // 
       
   288 // These structures define the way in which the editors used
       
   289 // to change the setting data are presented.
       
   290 // 
       
   291 // ---------------------------------------------------------
       
   292 //   
       
   293 RESOURCE AVKON_SETTING_PAGE r_server_name_editor_page
       
   294     {
       
   295     label= qtn_xdm_settings_set_name;
       
   296     type = EEikCtEdwin;
       
   297     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   298     invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
       
   299     editor_resource_id = r_server_name_editor;
       
   300     }
       
   301   
       
   302 RESOURCE AVKON_SETTING_PAGE r_server_address_editor_page
       
   303     {
       
   304     label= qtn_xdm_settings_address;
       
   305     type = EEikCtEdwin;
       
   306     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   307     invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
       
   308     editor_resource_id = r_server_address_editor;
       
   309     }
       
   310 
       
   311 
       
   312 RESOURCE AVKON_SETTING_PAGE r_accesspoint_editor_page
       
   313     {
       
   314     label= qtn_xdm_settings_access_point;
       
   315     type = EEikCtEdwin;
       
   316     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   317     invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
       
   318     editor_resource_id = r_accesspoint_editor;
       
   319     }
       
   320     
       
   321 RESOURCE AVKON_SETTING_PAGE r_sip_url_editor_page
       
   322     {
       
   323     label= qtn_xdm_settings_sip;
       
   324     type = EEikCtEdwin;
       
   325     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   326     invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
       
   327     editor_resource_id = r_sip_url_editor;
       
   328     }
       
   329   
       
   330 RESOURCE AVKON_SETTING_PAGE r_user_id_editor_page
       
   331     {
       
   332     label= qtn_xdm_settings_username;
       
   333     type = EEikCtEdwin;
       
   334     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   335     invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
       
   336     editor_resource_id = r_user_id_editor;
       
   337     }
       
   338   
       
   339 RESOURCE AVKON_SETTING_PAGE r_password_editor_page
       
   340     {
       
   341     label= qtn_xdm_settings_password;
       
   342     type = EEikCtSecretEd;
       
   343     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   344     invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
       
   345     editor_resource_id = r_password_editor;
       
   346     }
       
   347 
       
   348 RESOURCE EDWIN r_user_id_editor
       
   349     {
       
   350     flags = EEikEdwinAutoSelection | EAknEditorLowerCase | EEikEdwinNoLineOrParaBreaks;
       
   351     allowed_case_modes = EAknEditorLowerCase | EAknEditorUpperCase;
       
   352     numeric_keymap=EAknEditorCalculatorNumberModeKeymap;
       
   353     allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
   354     default_input_mode = EAknEditorTextInputMode;
       
   355     special_character_table = R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG;
       
   356     default_case = EAknEditorLowerCase;
       
   357     avkon_flags = EAknEditorFlagLatinInputModesOnly;
       
   358     width = 0;
       
   359     lines = 0;
       
   360     maxlength = KMaxUserIDLength;
       
   361     }
       
   362   
       
   363 RESOURCE SECRETED r_password_editor
       
   364     {
       
   365     num_letters = KMaxPasswordLength;
       
   366     }
       
   367 
       
   368 RESOURCE EDWIN r_server_address_editor
       
   369     {
       
   370     flags = EEikEdwinAutoSelection | EAknEditorLowerCase | EEikEdwinNoLineOrParaBreaks;
       
   371     allowed_case_modes = EAknEditorLowerCase | EAknEditorUpperCase;
       
   372     numeric_keymap=EAknEditorCalculatorNumberModeKeymap;
       
   373     allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
   374     default_input_mode = EAknEditorTextInputMode;
       
   375     special_character_table = R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG;
       
   376     default_case = EAknEditorLowerCase;
       
   377     avkon_flags = EAknEditorFlagLatinInputModesOnly;
       
   378     width = 0;
       
   379     lines = 0;
       
   380     maxlength = KMaxServerAddressLength;
       
   381     }
       
   382   
       
   383 RESOURCE EDWIN r_accesspoint_editor
       
   384     {
       
   385     maxlength = KMaxAccessPointNameLength;
       
   386     }
       
   387   
       
   388 RESOURCE EDWIN r_server_name_editor
       
   389     {
       
   390     width = 0;
       
   391     lines = 0;
       
   392     flags = EEikEdwinNoLineOrParaBreaks;
       
   393     maxlength = KMaxSettingSetNameLength;
       
   394     }
       
   395   
       
   396 RESOURCE EDWIN r_sip_url_editor
       
   397     {
       
   398     width = 0;
       
   399     lines = 0;
       
   400     maxlength = KMaxSIPURLLength;
       
   401     }
       
   402 
       
   403 
       
   404 RESOURCE DIALOG r_confirmation_query
       
   405     {
       
   406     flags = EGeneralQueryFlags;
       
   407     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   408     items=
       
   409         {
       
   410         DLG_LINE 
       
   411             {
       
   412             type = EAknCtQuery;
       
   413             id = EGeneralQuery;
       
   414             control = AVKON_CONFIRMATION_QUERY
       
   415                 {
       
   416                 layout =EConfirmationQueryLayout;
       
   417                 };
       
   418             }
       
   419         };
       
   420     }
       
   421   
       
   422 //----------------------------------------------------
       
   423 //   
       
   424 //    string resouces
       
   425 //    the strings can be localized in loc file
       
   426 //
       
   427 //----------------------------------------------------
       
   428 //    
       
   429 RESOURCE TBUF r_str_xdm_settings { buf = qtn_xdm_title; }
       
   430 RESOURCE TBUF r_str_xdm_compulsory { buf = qtn_selec_setting_compulsory; }
       
   431 RESOURCE TBUF r_str_xdm_must_define { buf = qtn_poc_settings_must_define; }
       
   432 RESOURCE TBUF r_str_xdm_use_existing { buf = qtn_xdm_propmt_use_exist; }
       
   433 RESOURCE TBUF r_str_xdm_empty_text { buf = qtn_xdm_main_empty_info_text; }
       
   434 RESOURCE TBUF r_str_xdm_empty_text_sec { buf = qtn_xdm_main_empty_info_text_secondary; }
       
   435 RESOURCE TBUF r_str_xdm_new_set { buf = qtn_xdm_text_new_set; }
       
   436 RESOURCE TBUF r_str_xdm_new_set_many { buf = qtn_xdm_text_new_set_many; }
       
   437 RESOURCE TBUF r_str_xdm_conf_delete_last { buf = qtn_xdm_conf_delete_last; }
       
   438 RESOURCE TBUF r_str_xdm_conf_delete { buf = qtn_query_common_conf_delete; }
       
   439 RESOURCE TBUF r_str_xdm_conf_compulsory { buf = qtn_xdm_compulsory_query_info_text; }
       
   440 RESOURCE TBUF r_str_xdm_title_pane_text { buf = qtn_xdm_title; }
       
   441 RESOURCE TBUF r_str_xdm_name_already_exist { buf = qtn_xdm_set_already_exist_info; }
       
   442 RESOURCE TBUF r_str_xdm_ap_name_for_debug_only { buf = qtn_xdm_settings_access_point;}
       
   443 
       
   444 // ******  PDATA RESOURCES END     ******
       
   445 //End of File