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