wlansecuritysettings/wlaneapsettingsui/EapMschapv2/ConfigUi/data/EapMschapv2Ui.rss
changeset 0 c8830336c852
child 2 1c7bc153c08e
equal deleted inserted replaced
-1:000000000000 0:c8830336c852
       
     1 /*
       
     2 * Copyright (c) 2001-2009 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 the License "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: EAP MsChapv2 UI resource file
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 CHARACTER_SET   UTF8
       
    21 
       
    22 //  RESOURCE IDENTIFIER
       
    23 NAME EPLM
       
    24 
       
    25 
       
    26 //  INCLUDES
       
    27 #include <eikon.rh>
       
    28 #include "EapMschapv2Ui.hrh"   // Enums for these resources
       
    29 #include <eapmschapv2ui.loc>   // Localisation file
       
    30 #include <wlaneapsettingsui.loc>
       
    31 #include <eikon.rsg>
       
    32 #include <avkon.rsg>
       
    33 #include <avkon.rh>
       
    34 #include <avkon.mbg>
       
    35 #include <avkon.loc>
       
    36 
       
    37 
       
    38 //  CONSTANTS  
       
    39 #define KUsernameMaxNameLength 255
       
    40 
       
    41 
       
    42 //  RESOURCE DEFINITIONS 
       
    43 
       
    44 RESOURCE RSS_SIGNATURE { }
       
    45 
       
    46 
       
    47 RESOURCE TBUF16 { buf = ""; }
       
    48 
       
    49 RESOURCE CBA r_mschap_ui_softkeys_options_back_edit
       
    50     {
       
    51     buttons =
       
    52         {
       
    53         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
    54         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
    55         CBA_BUTTON { id = EMschapv2UiCmdChange; txt = qtn_msk_change; }
       
    56         };
       
    57     }
       
    58 
       
    59 RESOURCE DIALOG r_mschapv2_setting_dialog
       
    60     {
       
    61     flags = EAknDialogSelectionList | EEikDialogFlagWait;
       
    62     buttons = r_mschap_ui_softkeys_options_back_edit;
       
    63     items = 
       
    64         { 
       
    65         DLG_LINE
       
    66             {
       
    67             id = EMschapv2SettingsListBox;
       
    68             type = EAknCtSettingListBox;
       
    69             control = LISTBOX 
       
    70                 {
       
    71                 flags = EAknListBoxMenuList;
       
    72                 };
       
    73             }
       
    74         }; 
       
    75     }
       
    76 
       
    77 
       
    78 RESOURCE AVKON_SETTING_PAGE r_mschapv2_username_page
       
    79     {
       
    80     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
    81     label = qtn_wlan_eap_sett_username;
       
    82     type = EEikCtEdwin;
       
    83     editor_resource_id = r_mschapv2_setting_edwin;
       
    84     }
       
    85 
       
    86 
       
    87 RESOURCE AVKON_SETTING_PAGE r_mschapv2_password_page
       
    88     {
       
    89     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
    90     label = qtn_wlan_eap_sett_password;
       
    91     type = EEikCtSecretEd;
       
    92     editor_resource_id = r_mschapv2_setting_password;
       
    93     }
       
    94 
       
    95 
       
    96 RESOURCE SECRETED r_mschapv2_setting_password 
       
    97     {
       
    98     num_letters = KUsernameMaxNameLength;
       
    99     }
       
   100 
       
   101 
       
   102 RESOURCE EDWIN r_mschapv2_setting_edwin 
       
   103     {
       
   104     width = 9;
       
   105     lines = 5;
       
   106     maxlength=KUsernameMaxNameLength;
       
   107     allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
   108     default_input_mode = EAknEditorTextInputMode;
       
   109     flags = EEikEdwinAutoSelection | EEikEdwinNoLineOrParaBreaks;
       
   110     }
       
   111 
       
   112 
       
   113 RESOURCE MENU_BAR r_mschapv2_menubar
       
   114     {
       
   115     titles =
       
   116         {
       
   117         MENU_TITLE { menu_pane = r_mschapv2_menu_pane; txt = ""; }
       
   118         };
       
   119     }
       
   120 
       
   121 
       
   122 RESOURCE MENU_PANE r_mschapv2_menu_pane
       
   123     {
       
   124     items =
       
   125         {
       
   126         MENU_ITEM 
       
   127             { 
       
   128             command = EMschapv2UiCmdChange;  
       
   129             txt = qtn_options_change; 
       
   130             flags = EEikMenuItemAction;
       
   131             },
       
   132 
       
   133         MENU_ITEM 
       
   134             { 
       
   135             command = EAknCmdHelp; 
       
   136             txt = qtn_options_help; 
       
   137             },
       
   138 
       
   139         MENU_ITEM 
       
   140             { 
       
   141             command = EAknCmdExit;
       
   142             txt = qtn_options_exit; 
       
   143             }
       
   144         };
       
   145     }
       
   146 
       
   147 
       
   148 // Resource strings
       
   149 RESOURCE TBUF r_mschapv2_settings_title       { buf = qtn_wlan_eap_mschapv2_title; }
       
   150 RESOURCE TBUF r_plain_mschapv2_settings_title { buf = qtn_wlan_eap_plain_mschapv2_title; }
       
   151 RESOURCE TBUF r_mschapv2_username_string      { buf = qtn_wlan_eap_sett_username; }
       
   152 RESOURCE TBUF r_mschapv2_passprompt_string    { buf = qtn_wlan_eap_sett_passprompt; }
       
   153 RESOURCE TBUF r_mschapv2_password_string      { buf = qtn_wlan_eap_sett_password; }
       
   154 RESOURCE TBUF r_mschapv2_passprompt_on        { buf = qtn_wlan_eap_sett_passprompt_on; }
       
   155 RESOURCE TBUF r_mschapv2_passprompt_off       { buf = qtn_wlan_eap_sett_passprompt_off; }
       
   156 
       
   157 
       
   158 
       
   159 RESOURCE AVKON_POPUP_SETTING_TEXTS r_mschapv2_yesno_texts
       
   160     {
       
   161     setting_texts_resource = r_mschapv2_yes_no_texts_resource;
       
   162     popped_up_texts_resource = r_mschapv2_yes_no_array;
       
   163     }
       
   164 
       
   165 
       
   166 RESOURCE ARRAY r_mschapv2_yes_no_texts_resource
       
   167     {
       
   168     items=
       
   169         {
       
   170         AVKON_ENUMERATED_TEXT 
       
   171             { 
       
   172             value = 0; 
       
   173             text = qtn_wlan_eap_sett_passprompt_off; 
       
   174             },
       
   175 
       
   176         AVKON_ENUMERATED_TEXT 
       
   177             { 
       
   178             value = 1; 
       
   179             text = qtn_wlan_eap_sett_passprompt_on; 
       
   180             }
       
   181         };
       
   182     }
       
   183 
       
   184 
       
   185 RESOURCE ARRAY r_mschapv2_yes_no_array
       
   186     {
       
   187     items=
       
   188         {
       
   189         LBUF { txt = qtn_wlan_eap_sett_passprompt_off; },
       
   190         LBUF { txt = qtn_wlan_eap_sett_passprompt_on; }
       
   191         };
       
   192     }
       
   193 
       
   194 
       
   195 RESOURCE AVKON_SETTING_PAGE r_mschapv2_display_yesno_page
       
   196     {
       
   197     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   198     label = qtn_wlan_eap_sett_passprompt;
       
   199     type = EAknCtPopupSettingList;
       
   200     editor_resource_id = r_mschapv2_setting_enumerated_popup;
       
   201     }
       
   202 
       
   203 
       
   204 RESOURCE POPUP_SETTING_LIST r_mschapv2_setting_enumerated_popup
       
   205     {
       
   206     flags = EAknPopupSettingListFlagInitialised;
       
   207     }
       
   208 
       
   209 
       
   210 // End of File