diff -r bad0cc58d154 -r c74b3d9f6b9e wlansecuritysettings/wlaneapsettingsui/EapMschapv2/ConfigUi/data/EapMschapv2Ui.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wlansecuritysettings/wlaneapsettingsui/EapMschapv2/ConfigUi/data/EapMschapv2Ui.rss Wed Sep 01 12:23:57 2010 +0100 @@ -0,0 +1,212 @@ +/* +* 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 MsChapv2 UI resource file +* +*/ + +/* +* %version: 16 % +*/ + +CHARACTER_SET UTF8 + +// RESOURCE IDENTIFIER +NAME EPLM + + +// INCLUDES +#include +#include "EapMschapv2Ui.hrh" // Enums for these resources +#include // Localisation file +#include +#include +#include +#include +#include +#include + + +// CONSTANTS +#define KUsernameMaxNameLength 255 + + +// RESOURCE DEFINITIONS + +RESOURCE RSS_SIGNATURE { } + + +RESOURCE TBUF16 { buf = ""; } + +RESOURCE CBA r_mschap_ui_softkeys_options_back_edit + { + buttons = + { + CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, + CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; }, + CBA_BUTTON { id = EMschapv2UiCmdChange; txt = qtn_msk_change; } + }; + } + +RESOURCE DIALOG r_mschapv2_setting_dialog + { + flags = EAknDialogSelectionList | EEikDialogFlagWait; + buttons = r_mschap_ui_softkeys_options_back_edit; + items = + { + DLG_LINE + { + id = EMschapv2SettingsListBox; + type = EAknCtSettingListBox; + control = LISTBOX + { + flags = EAknListBoxMenuList; + }; + } + }; + } + + +RESOURCE AVKON_SETTING_PAGE r_mschapv2_username_page + { + softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; + label = qtn_wlan_eap_sett_username; + type = EEikCtEdwin; + editor_resource_id = r_mschapv2_setting_edwin; + } + + +RESOURCE AVKON_SETTING_PAGE r_mschapv2_password_page + { + softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; + label = qtn_wlan_eap_sett_password; + type = EEikCtSecretEd; + editor_resource_id = r_mschapv2_setting_password; + } + + +RESOURCE SECRETED r_mschapv2_setting_password + { + num_letters = KUsernameMaxNameLength; + } + + +RESOURCE EDWIN r_mschapv2_setting_edwin + { + width = 9; + lines = 5; + maxlength=KUsernameMaxNameLength; + allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode; + default_input_mode = EAknEditorTextInputMode; + flags = EEikEdwinAutoSelection | EEikEdwinNoLineOrParaBreaks; + } + + +RESOURCE MENU_BAR r_mschapv2_menubar + { + titles = + { + MENU_TITLE { menu_pane = r_mschapv2_menu_pane; txt = ""; } + }; + } + + +RESOURCE MENU_PANE r_mschapv2_menu_pane + { + items = + { + MENU_ITEM + { + command = EMschapv2UiCmdChange; + 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_mschapv2_settings_title { buf = qtn_wlan_eap_mschapv2_title; } +RESOURCE TBUF r_plain_mschapv2_settings_title { buf = qtn_wlan_eap_plain_mschapv2_title; } +RESOURCE TBUF r_mschapv2_username_string { buf = qtn_wlan_eap_sett_username; } +RESOURCE TBUF r_mschapv2_passprompt_string { buf = qtn_wlan_eap_sett_passprompt; } +RESOURCE TBUF r_mschapv2_password_string { buf = qtn_wlan_eap_sett_password; } +RESOURCE TBUF r_mschapv2_passprompt_on { buf = qtn_wlan_eap_sett_passprompt_on; } +RESOURCE TBUF r_mschapv2_passprompt_off { buf = qtn_wlan_eap_sett_passprompt_off; } + + + +RESOURCE AVKON_POPUP_SETTING_TEXTS r_mschapv2_yesno_texts + { + setting_texts_resource = r_mschapv2_yes_no_texts_resource; + popped_up_texts_resource = r_mschapv2_yes_no_array; + } + + +RESOURCE ARRAY r_mschapv2_yes_no_texts_resource + { + items= + { + AVKON_ENUMERATED_TEXT + { + value = 0; + text = qtn_wlan_eap_sett_passprompt_off; + }, + + AVKON_ENUMERATED_TEXT + { + value = 1; + text = qtn_wlan_eap_sett_passprompt_on; + } + }; + } + + +RESOURCE ARRAY r_mschapv2_yes_no_array + { + items= + { + LBUF { txt = qtn_wlan_eap_sett_passprompt_off; }, + LBUF { txt = qtn_wlan_eap_sett_passprompt_on; } + }; + } + + +RESOURCE AVKON_SETTING_PAGE r_mschapv2_display_yesno_page + { + softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; + label = qtn_wlan_eap_sett_passprompt; + type = EAknCtPopupSettingList; + editor_resource_id = r_mschapv2_setting_enumerated_popup; + } + + +RESOURCE POPUP_SETTING_LIST r_mschapv2_setting_enumerated_popup + { + flags = EAknPopupSettingListFlagInitialised; + } + + +// End of File