wlansecuritysettings/wlaneapsettingsui/pap/configui/data/papui.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: PAP UI resource file
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 8 %
       
    20 */
       
    21 
       
    22 //  RESOURCE IDENTIFIER
       
    23 NAME PAPC
       
    24 
       
    25 //  INCLUDES
       
    26 #include <eikon.rh>
       
    27 #include "papui.hrh"   // Enums for these resources
       
    28 #include <papui.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 
       
    39 #define ESecUiQueryFlags (EGeneralQueryFlags | EEikDialogFlagNotifyEsc | EEikDialogFlagWait)
       
    40 
       
    41 
       
    42 //  RESOURCE DEFINITIONS 
       
    43 
       
    44 RESOURCE RSS_SIGNATURE { }
       
    45 
       
    46 
       
    47 RESOURCE TBUF16 { buf=""; }
       
    48 
       
    49 
       
    50 RESOURCE CBA r_pap_ui_softkeys_options_back_edit
       
    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 = EPapUiCmdChange; txt = qtn_msk_change; }
       
    57         };
       
    58     }
       
    59     
       
    60 RESOURCE DIALOG r_pap_setting_dialog
       
    61     {
       
    62 /*    flags = EEikDialogFlagFillAppClientRect | 
       
    63             EEikDialogFlagCbaButtons | 
       
    64             EEikDialogFlagWait | 
       
    65             EEikDialogFlagNotifyEsc; */
       
    66     
       
    67     flags = EAknDialogSelectionList | EEikDialogFlagWait;
       
    68     buttons = r_pap_ui_softkeys_options_back_edit;
       
    69     items = 
       
    70         { 
       
    71         DLG_LINE
       
    72             {
       
    73             id = EPapSettingsListBox;
       
    74             type = EAknCtSettingListBox;
       
    75             control = LISTBOX 
       
    76                 {
       
    77                 flags = EAknListBoxMenuList;
       
    78                 };
       
    79             }
       
    80         }; 
       
    81     }
       
    82 
       
    83 
       
    84 
       
    85 RESOURCE AVKON_SETTING_PAGE r_pap_username_page
       
    86     {
       
    87     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
    88     label= qtn_wlan_eap_sett_username;
       
    89     type = EEikCtEdwin;
       
    90     editor_resource_id = r_pap_username_editor;
       
    91     }
       
    92 
       
    93 RESOURCE EDWIN r_pap_username_editor 
       
    94     {
       
    95     width = 9;
       
    96     lines = 5;
       
    97     maxlength = KPapUsernameMaxLength;
       
    98     allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
    99     default_input_mode = EAknEditorTextInputMode;
       
   100     default_case = EAknEditorLowerCase;
       
   101     avkon_flags = EAknEditorFlagLatinInputModesOnly;
       
   102     flags = EEikEdwinAutoSelection | EEikEdwinNoLineOrParaBreaks;
       
   103     }
       
   104 
       
   105 RESOURCE AVKON_SETTING_PAGE r_pap_password_popup_page
       
   106     {
       
   107     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   108     label = qtn_wlan_eap_sett_password;
       
   109     type = EAknCtPopupSettingList;
       
   110     editor_resource_id = r_pap_setting_enumerated_popup;
       
   111     }
       
   112     
       
   113 RESOURCE POPUP_SETTING_LIST r_pap_setting_enumerated_popup
       
   114     {
       
   115     flags = EAknPopupSettingListFlagInitialised;
       
   116     }
       
   117 
       
   118    
       
   119 RESOURCE AVKON_POPUP_SETTING_TEXTS r_pap_password_prompt_choices
       
   120     {
       
   121     setting_texts_resource = r_pap_prompt_choices_resource;
       
   122     popped_up_texts_resource = r_pap_prompt_choices_texts_array;
       
   123     }       
       
   124 
       
   125 RESOURCE ARRAY r_pap_prompt_choices_resource
       
   126     {
       
   127     items=
       
   128         {
       
   129         AVKON_ENUMERATED_TEXT 
       
   130             { 
       
   131             value = 1; 
       
   132             text = qtn_wlan_eap_pap_sett_password_prompt; 
       
   133             },
       
   134 
       
   135         AVKON_ENUMERATED_TEXT 
       
   136             { 
       
   137             value = 0; 
       
   138             text = qtn_wlan_eap_pap_sett_password_udef; 
       
   139             }
       
   140         };
       
   141     }
       
   142     
       
   143 RESOURCE ARRAY r_pap_prompt_choices_texts_array
       
   144     {
       
   145     items=
       
   146         {
       
   147         LBUF { txt = qtn_wlan_eap_pap_sett_password_prompt; },
       
   148         LBUF { txt = qtn_wlan_eap_pap_sett_password_udef; }
       
   149         };
       
   150     }
       
   151     
       
   152 RESOURCE AVKON_SETTING_PAGE r_pap_password_setting_page
       
   153     {
       
   154     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   155     label = qtn_wlan_eap_sett_password;
       
   156     type = EEikCtSecretEd;
       
   157     editor_resource_id = r_pap_setting_password;
       
   158     }
       
   159 
       
   160 
       
   161 RESOURCE SECRETED r_pap_setting_password 
       
   162     {
       
   163     num_letters = KPapPasswordMaxLength;
       
   164     }    
       
   165 
       
   166 // No dialog, make this as another setting page, only that
       
   167 // it is not visible when setting list is drawn.
       
   168 // It can be referred to and opened with the item id defined in .hrh.
       
   169 /*RESOURCE DIALOG r_pap_password_dialog
       
   170     {
       
   171     flags=ESecUiQueryFlags;
       
   172     buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   173     items=
       
   174         {
       
   175         DLG_LINE
       
   176             {
       
   177             type=EAknCtQuery;
       
   178             id=EGeneralQuery;
       
   179             control= AVKON_DATA_QUERY 
       
   180                 { 
       
   181                 layout = ECodeLayout;
       
   182                 label = qtn_wlan_eap_sett_password;
       
   183                 control = SECRETED
       
   184                     { 
       
   185                     num_letters = KPapPasswordMaxLength;
       
   186                     };
       
   187                 };
       
   188             }
       
   189         };
       
   190     }
       
   191 */   
       
   192 
       
   193 RESOURCE MENU_BAR r_pap_menubar
       
   194     {
       
   195     titles =
       
   196         {
       
   197         MENU_TITLE 
       
   198             { 
       
   199             menu_pane = r_pap_menu_pane; 
       
   200             txt = ""; 
       
   201             }
       
   202         };
       
   203     }
       
   204 
       
   205 
       
   206 RESOURCE MENU_PANE r_pap_menu_pane
       
   207     {
       
   208     items =
       
   209         {
       
   210         MENU_ITEM 
       
   211             { 
       
   212             command = EPapUiCmdChange;
       
   213             txt = qtn_options_change;
       
   214             flags = EEikMenuItemAction; 
       
   215             },
       
   216             
       
   217         MENU_ITEM 
       
   218             { 
       
   219             command = EAknCmdHelp;
       
   220             txt = qtn_options_help; 
       
   221             },
       
   222 
       
   223         MENU_ITEM 
       
   224             { 
       
   225             command = EAknCmdExit;
       
   226             txt = qtn_options_exit; 
       
   227             }           
       
   228         };
       
   229     }
       
   230 
       
   231 
       
   232 // Resource strings
       
   233 RESOURCE TBUF r_pap_settings_title              { buf = qtn_wlan_eap_pap_title; }
       
   234 RESOURCE TBUF r_pap_username_not_defined        { buf = qtn_wlan_eap_sett_username_not_defined; }
       
   235 RESOURCE TBUF r_pap_define_username_info_note   { buf = qtn_wlan_eap_pap_define_user_name; }
       
   236 RESOURCE TBUF r_pap_username_setting_title              { buf = qtn_wlan_eap_sett_username; }
       
   237 RESOURCE TBUF r_pap_password_setting_title              { buf = qtn_wlan_eap_sett_password; }
       
   238  
       
   239 // End of File