wlansecuritysettings/wlaneapsettingsui/EapAka/ConfigUi/data/EapAkaUi.rss
branchRCL_3
changeset 46 c74b3d9f6b9e
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
       
     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 AKA UI resource file
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 16 %
       
    20 */
       
    21 
       
    22 CHARACTER_SET   UTF8
       
    23 
       
    24 //  RESOURCE IDENTIFIER
       
    25 NAME EPAK
       
    26 
       
    27 //  INCLUDES
       
    28 #include <eikon.rh>
       
    29 #include "EapAkaUi.hrh"   // Enums for these resources
       
    30 #include <eapakaui.loc>   // Localisation file
       
    31 #include <wlaneapsettingsui.loc>
       
    32 #include <eikon.rsg>
       
    33 #include <avkon.rsg>
       
    34 #include <avkon.rh>
       
    35 #include <avkon.mbg>
       
    36 #include <avkon.loc>
       
    37 
       
    38 
       
    39 //  CONSTANTS  
       
    40 #define KUsernameMaxNameLength 255
       
    41 #define KEdwinWidth	9
       
    42 #define KEdwinLines	5
       
    43 
       
    44 
       
    45 //  RESOURCE DEFINITIONS 
       
    46 
       
    47 RESOURCE RSS_SIGNATURE { }
       
    48 
       
    49 
       
    50 RESOURCE TBUF16 { buf = ""; }
       
    51 
       
    52 RESOURCE CBA r_aka_softkeys_options_back_change
       
    53     {
       
    54     buttons =
       
    55         {
       
    56         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
    57         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
    58         CBA_BUTTON { id = EAkaUiCmdChange; txt = qtn_msk_change; }
       
    59         };
       
    60     }
       
    61 
       
    62 RESOURCE DIALOG r_aka_setting_dialog
       
    63     {
       
    64     flags = EAknDialogSelectionList | EEikDialogFlagWait;
       
    65     buttons = r_aka_softkeys_options_back_change;
       
    66     items = 
       
    67         { 
       
    68         DLG_LINE
       
    69             {
       
    70             id = EAkaSettingsListBox;
       
    71             type = EAknCtSettingListBox;
       
    72             control = LISTBOX 
       
    73                 {
       
    74                 flags = EAknListBoxMenuList;
       
    75                 };
       
    76             }
       
    77         }; 
       
    78     }
       
    79 
       
    80 
       
    81 RESOURCE AVKON_SETTING_PAGE r_aka_username_page
       
    82     {
       
    83     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
    84     label = qtn_wlan_eap_sett_username;
       
    85     type = EEikCtEdwin;
       
    86     editor_resource_id = r_aka_setting_edwin;
       
    87     }
       
    88 
       
    89 
       
    90 RESOURCE AVKON_SETTING_PAGE r_aka_realm_page
       
    91     {
       
    92     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
    93     label = qtn_wlan_eap_sett_realm;
       
    94     type = EEikCtEdwin;
       
    95     editor_resource_id = r_aka_setting_edwin;
       
    96     }
       
    97 
       
    98 
       
    99 RESOURCE EDWIN r_aka_setting_edwin 
       
   100     {
       
   101     width = KEdwinWidth;
       
   102     lines = KEdwinLines;
       
   103     maxlength = KUsernameMaxNameLength;
       
   104     allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
   105     default_input_mode = EAknEditorTextInputMode;
       
   106     default_case = EAknEditorLowerCase;
       
   107     avkon_flags = EAknEditorFlagLatinInputModesOnly;
       
   108     flags = EEikEdwinAutoSelection | EEikEdwinNoLineOrParaBreaks;
       
   109     }
       
   110 
       
   111 
       
   112 RESOURCE MENU_BAR r_aka_menubar
       
   113     {
       
   114     titles =
       
   115         {
       
   116         MENU_TITLE { menu_pane = r_aka_menu_pane; txt = ""; }
       
   117         };
       
   118     }
       
   119 
       
   120 
       
   121 RESOURCE MENU_PANE r_aka_menu_pane
       
   122     {
       
   123     items=
       
   124         {
       
   125         MENU_ITEM 
       
   126             { 
       
   127             command = EAkaUiCmdChange;
       
   128             txt = qtn_options_change;
       
   129             flags = EEikMenuItemAction;
       
   130             },
       
   131         MENU_ITEM 
       
   132             { 
       
   133             command = EAknCmdHelp;
       
   134             txt = qtn_options_help;
       
   135             },
       
   136         MENU_ITEM 
       
   137             {
       
   138             command = EAknCmdExit;
       
   139             txt = qtn_options_exit;
       
   140             }
       
   141         };
       
   142     }
       
   143 
       
   144 
       
   145 // Resource strings
       
   146 RESOURCE TBUF r_aka_settings_title            \
       
   147                                            { buf = qtn_wlan_eap_aka_title; }
       
   148 RESOURCE TBUF r_aka_username_inusestring      \
       
   149                                  { buf = qtn_wlan_eap_sett_username_inuse; }
       
   150 RESOURCE TBUF r_aka_username_inusestring_auto \
       
   151                         { buf = qtn_wlan_eap_sett_username_inuse_from_sim; }
       
   152 RESOURCE TBUF r_aka_username_inusestring_conf \
       
   153                             { buf = qtn_wlan_eap_sett_username_inuse_user; }
       
   154 RESOURCE TBUF r_aka_username_string           \
       
   155                                        { buf = qtn_wlan_eap_sett_username; }
       
   156 RESOURCE TBUF r_aka_realm_inusestring         \
       
   157                                     { buf = qtn_wlan_eap_sett_realm_inuse; }
       
   158 RESOURCE TBUF r_aka_realm_inusestring_auto    \
       
   159                            { buf = qtn_wlan_eap_sett_realm_inuse_from_sim; }
       
   160 RESOURCE TBUF r_aka_realm_inusestring_conf    \
       
   161                                { buf = qtn_wlan_eap_sett_realm_inuse_user; }
       
   162 RESOURCE TBUF r_aka_realm_string              \
       
   163                                           { buf = qtn_wlan_eap_sett_realm; }
       
   164 
       
   165 
       
   166 RESOURCE AVKON_POPUP_SETTING_TEXTS r_aka_username_autouseconf_texts
       
   167     {
       
   168     setting_texts_resource = r_aka_username_autouseconf_texts_resource;
       
   169     popped_up_texts_resource = r_aka_username_automatic_useconfigured_array;
       
   170     }
       
   171 
       
   172 
       
   173 RESOURCE ARRAY r_aka_username_autouseconf_texts_resource
       
   174     {
       
   175     items =
       
   176         {
       
   177         AVKON_ENUMERATED_TEXT 
       
   178             { 
       
   179             value = 0; 
       
   180             text = qtn_wlan_eap_sett_username_inuse_from_sim; 
       
   181             },
       
   182 
       
   183         AVKON_ENUMERATED_TEXT 
       
   184             { 
       
   185             value = 1; 
       
   186             text = qtn_wlan_eap_sett_username_inuse_user; 
       
   187             }
       
   188         };
       
   189     }
       
   190 
       
   191 
       
   192 RESOURCE ARRAY r_aka_username_automatic_useconfigured_array
       
   193     {
       
   194     items =
       
   195         {
       
   196         LBUF { txt = qtn_wlan_eap_sett_username_inuse_from_sim; },
       
   197         LBUF { txt = qtn_wlan_eap_sett_username_inuse_user; }
       
   198         };
       
   199     }
       
   200 
       
   201 
       
   202 RESOURCE AVKON_POPUP_SETTING_TEXTS r_aka_realm_autouseconf_texts
       
   203     {
       
   204     setting_texts_resource = r_aka_realm_autouseconf_texts_resource;
       
   205     popped_up_texts_resource = r_aka_realm_automatic_useconfigured_array;
       
   206     }
       
   207 
       
   208 
       
   209 RESOURCE ARRAY r_aka_realm_autouseconf_texts_resource
       
   210     {
       
   211     items=
       
   212         {
       
   213         AVKON_ENUMERATED_TEXT 
       
   214             { 
       
   215             value = 0; 
       
   216             text = qtn_wlan_eap_sett_realm_inuse_from_sim;
       
   217             },
       
   218 
       
   219         AVKON_ENUMERATED_TEXT 
       
   220             { 
       
   221             value = 1; 
       
   222             text = qtn_wlan_eap_sett_realm_inuse_user; 
       
   223             }
       
   224         };
       
   225     }
       
   226 
       
   227 
       
   228 RESOURCE ARRAY r_aka_realm_automatic_useconfigured_array
       
   229     {
       
   230     items=
       
   231         {
       
   232         LBUF { txt = qtn_wlan_eap_sett_realm_inuse_from_sim; },
       
   233         LBUF { txt = qtn_wlan_eap_sett_realm_inuse_user; }
       
   234         };
       
   235     }
       
   236 
       
   237 
       
   238 RESOURCE AVKON_SETTING_PAGE r_aka_display_autouseconf_page
       
   239     {
       
   240     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   241     label = qtn_wlan_eap_sett_realm_inuse;
       
   242     type = EAknCtPopupSettingList;
       
   243     editor_resource_id = r_aka_setting_enumerated_popup;
       
   244     }
       
   245 
       
   246 
       
   247 RESOURCE POPUP_SETTING_LIST r_aka_setting_enumerated_popup
       
   248     {
       
   249     flags=EAknPopupSettingListFlagInitialised;
       
   250     }
       
   251 
       
   252 
       
   253 // End of File