wlansecuritysettings/wlaneapsettingsui/EapSim/ConfigUi/data/EapSimUi.rss
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:23:57 +0100
branchRCL_3
changeset 46 c74b3d9f6b9e
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201029 Kit: 201035

/*
* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: EAP LEAP UI resource file
*
*/

/*
* %version: 17 %
*/

CHARACTER_SET   UTF8

//  RESOURCE IDENTIFIER
NAME EPSI

//  INCLUDES
#include <eikon.rh>
#include "EapSimUi.hrh"   // Enums for these resources
#include <eapsimui.loc>   // Localisation file
#include <wlaneapsettingsui.loc>
#include <eikon.rsg>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <avkon.loc>


//  CONSTANTS  
#define KUsernameMaxNameLength 255


//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }


RESOURCE TBUF16 { buf = ""; }


RESOURCE CBA r_sim_softkeys_options_back_change
    {
    buttons =
        {
        CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
        CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
        CBA_BUTTON { id = ESimUiCmdChange; txt = qtn_msk_change; }
        };
    }


RESOURCE DIALOG r_sim_setting_dialog
    {
    flags = EAknDialogSelectionList | EEikDialogFlagWait;
    buttons = r_sim_softkeys_options_back_change;
    items = 
        { 
        DLG_LINE
            {
            id = ESimSettingsListBox;
            type = EAknCtSettingListBox;
            control = LISTBOX 
                {
                flags = EAknListBoxMenuList;
                };
            }
        }; 
    }


RESOURCE AVKON_SETTING_PAGE r_sim_username_page
    {
    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    label = qtn_wlan_eap_sett_username;
    type = EEikCtEdwin;
    editor_resource_id = r_sim_setting_edwin;
    }


RESOURCE AVKON_SETTING_PAGE r_sim_realm_page
    {
    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    label = qtn_wlan_eap_sett_realm;
    type = EEikCtEdwin;
    editor_resource_id = r_sim_setting_edwin;
    }


RESOURCE EDWIN r_sim_setting_edwin 
    {
    width = 9;
    lines = 5;
    maxlength = KUsernameMaxNameLength;
    allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
    default_input_mode = EAknEditorTextInputMode;
    flags = EEikEdwinAutoSelection | EEikEdwinNoLineOrParaBreaks;
    }


RESOURCE MENU_BAR r_sim_menubar
    {
    titles =
        {
        MENU_TITLE { menu_pane = r_sim_menu_pane; txt = ""; }
        };
    }


RESOURCE MENU_PANE r_sim_menu_pane
    {
    items =
        {
        MENU_ITEM
            {
            command = ESimUiCmdChange;
            txt = qtn_options_change;
            flags = EEikMenuItemAction;
            },
        MENU_ITEM
            {
            command = EAknCmdHelp;
            txt = qtn_options_help;
            },
        MENU_ITEM
            {
            command = EAknCmdExit;
            txt = qtn_options_exit;
            }
        };
    }


// Resource strings
RESOURCE TBUF r_sim_settings_title          { buf = qtn_wlan_eap_sim_title; }
RESOURCE TBUF r_sim_username_inusestring      \
                                  { buf = qtn_wlan_eap_sett_username_inuse; }
RESOURCE TBUF r_sim_username_inusestring_auto \
                         { buf = qtn_wlan_eap_sett_username_inuse_from_sim; }
RESOURCE TBUF r_sim_username_inusestring_conf \
                             { buf = qtn_wlan_eap_sett_username_inuse_user; }
RESOURCE TBUF r_sim_username_string     { buf = qtn_wlan_eap_sett_username; }
RESOURCE TBUF r_sim_realm_inusestring         \
                                     { buf = qtn_wlan_eap_sett_realm_inuse; }
RESOURCE TBUF r_sim_realm_inusestring_auto    \
                            { buf = qtn_wlan_eap_sett_realm_inuse_from_sim; }
RESOURCE TBUF r_sim_realm_inusestring_conf    \
                                { buf = qtn_wlan_eap_sett_realm_inuse_user; }
RESOURCE TBUF r_sim_realm_string           { buf = qtn_wlan_eap_sett_realm; }


RESOURCE AVKON_POPUP_SETTING_TEXTS r_sim_username_autouseconf_texts
    {
    setting_texts_resource = r_sim_username_autouseconf_texts_resource;
    popped_up_texts_resource = r_sim_username_automatic_useconfigured_array;
    }


RESOURCE ARRAY r_sim_username_autouseconf_texts_resource
    {
    items =
        {
        AVKON_ENUMERATED_TEXT 
            { 
            value = 0; 
            text = qtn_wlan_eap_sett_username_inuse_from_sim; 
            },

        AVKON_ENUMERATED_TEXT 
            { 
            value = 1; 
            text = qtn_wlan_eap_sett_username_inuse_user; 
            }
        };
    }


RESOURCE ARRAY r_sim_username_automatic_useconfigured_array
    {
    items =
        {
        LBUF { txt = qtn_wlan_eap_sett_username_inuse_from_sim; },
        LBUF { txt = qtn_wlan_eap_sett_username_inuse_user; }
        };
    }


RESOURCE AVKON_POPUP_SETTING_TEXTS r_sim_realm_autouseconf_texts
    {
    setting_texts_resource = r_sim_realm_autouseconf_texts_resource;
    popped_up_texts_resource = r_sim_realm_automatic_useconfigured_array;
    }


RESOURCE ARRAY r_sim_realm_autouseconf_texts_resource
    {
    items=
        {
        AVKON_ENUMERATED_TEXT 
            { 
            value = 0; 
            text = qtn_wlan_eap_sett_realm_inuse_from_sim; 
            },

        AVKON_ENUMERATED_TEXT 
            { 
            value = 1; 
            text = qtn_wlan_eap_sett_realm_inuse_user; 
            }
        };
    }


RESOURCE ARRAY r_sim_realm_automatic_useconfigured_array
    {
    items=
        {
        LBUF { txt = qtn_wlan_eap_sett_realm_inuse_from_sim; },
        LBUF { txt = qtn_wlan_eap_sett_realm_inuse_user; }
        };
    }


RESOURCE AVKON_SETTING_PAGE r_sim_display_autouseconf_page
    {
    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    label = qtn_wlan_eap_sett_realm_inuse;
    type = EAknCtPopupSettingList;
    editor_resource_id = r_sim_setting_enumerated_popup;
    }


RESOURCE POPUP_SETTING_LIST r_sim_setting_enumerated_popup
    {
    flags = EAknPopupSettingListFlagInitialised;
    }


// End of File