wlanutilities/wlansettingsui/data/wlansettingsui.rss
branchRCL_3
changeset 54 63be7eb3fc78
parent 52 b852595f5cbe
child 55 f28ada11abbf
equal deleted inserted replaced
52:b852595f5cbe 54:63be7eb3fc78
     1 /*
       
     2 * Copyright (c) 2007 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 "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: 
       
    15 *        Resource file for wlansettingsui
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 //  RESOURCE IDENTIFIER
       
    21 NAME    PWLC // 4 letter ID
       
    22 
       
    23 //  INCLUDES
       
    24 #include <eikon.rh>
       
    25 #include <eikon.rsg>
       
    26 #include <avkon.rh>
       
    27 #include <avkon.rsg>
       
    28 #include <avkon.loc>
       
    29 #include <avkon.mbg>
       
    30 #include <avkon.hrh>
       
    31 
       
    32 #include "wlansettingsui.hrh"
       
    33 #include <wlansettingsui.loc>
       
    34 
       
    35 // CONSTANTS
       
    36 
       
    37 //  RESOURCE DEFINITIONS 
       
    38 
       
    39 //----------------------------------------------------
       
    40 //   
       
    41 //    
       
    42 //    Needed or loading the resource fails!
       
    43 //
       
    44 //----------------------------------------------------
       
    45 //
       
    46 RESOURCE RSS_SIGNATURE
       
    47     {
       
    48     }
       
    49     
       
    50 RESOURCE TBUF { buf="wlansettingsui"; }
       
    51 
       
    52 
       
    53 //----------------------------------------------------
       
    54 //   
       
    55 //    r_qtn_err_os_general 
       
    56 //    General error message.
       
    57 //
       
    58 //----------------------------------------------------
       
    59 //
       
    60 RESOURCE TBUF r_qtn_err_os_general { buf = qtn_err_os_general ; }
       
    61 
       
    62 RESOURCE TBUF
       
    63     {
       
    64     buf = "wlan";
       
    65     }
       
    66 
       
    67 RESOURCE TBUF r_wlan_sett_bg_scan_auto
       
    68     {
       
    69     buf = qtn_wlan_sett_bg_scan_auto;
       
    70     }
       
    71 
       
    72 RESOURCE TBUF r_wlan_sett_bg_scan_1_min
       
    73     {
       
    74     buf = qtn_wlan_sett_bg_scan_1_min;
       
    75     }
       
    76 
       
    77 RESOURCE TBUF r_wlan_sett_bg_scan_x_min
       
    78     {
       
    79     buf = qtn_wlan_sett_bg_scan_x_min;
       
    80     }
       
    81 
       
    82 RESOURCE TBUF r_wlan_prmpt_bg_scan_interval
       
    83     {
       
    84     buf = qtn_wlan_prmpt_bg_scan_interval;
       
    85     }
       
    86 
       
    87 RESOURCE TBUF r_wlan_settings_ui_title                         
       
    88     { 
       
    89     buf = qtn_wlan_main_title; 
       
    90     }
       
    91 
       
    92 RESOURCE MENU_BAR r_wlan_settings_ui_main_view_menubar
       
    93     {
       
    94     titles =
       
    95         {
       
    96         MENU_TITLE 
       
    97             { 
       
    98             menu_pane = r_wlan_settings_ui_main_view_menu; 
       
    99             }
       
   100         };
       
   101     }
       
   102 
       
   103 RESOURCE MENU_PANE r_wlan_settings_ui_main_view_menu
       
   104     {
       
   105     items =
       
   106         {
       
   107         MENU_ITEM 
       
   108             { 
       
   109             command = EWlanSettingsUiCmdChange; 
       
   110             txt = qtn_options_change;
       
   111             flags = EEikMenuItemAction;
       
   112             },
       
   113         MENU_ITEM 
       
   114             { 
       
   115             command = EAknCmdHelp; 
       
   116             txt = qtn_options_help; 
       
   117             },
       
   118         MENU_ITEM
       
   119             {
       
   120             command = EAknCmdExit;
       
   121             txt = qtn_options_exit;
       
   122             }
       
   123         };
       
   124     }
       
   125 
       
   126 //----------------------------------------------------
       
   127 //   
       
   128 //    r_wlan_settings_ui_main_view_buttons
       
   129 //
       
   130 //----------------------------------------------------
       
   131 //
       
   132 RESOURCE CBA r_wlan_settings_ui_main_view_buttons
       
   133     {
       
   134     buttons =
       
   135         {
       
   136         CBA_BUTTON {id=EAknSoftkeyOptions; txt=text_softkey_option;}, 
       
   137         CBA_BUTTON {id=EAknSoftkeyBack; txt=text_softkey_back;},
       
   138         CBA_BUTTON {id=EAknSoftkeyChange; txt=qtn_msk_change;} 
       
   139         };          
       
   140     }
       
   141     
       
   142 RESOURCE DIALOG r_wlan_settings_ui_main_view_dialog
       
   143     {
       
   144     flags = EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
       
   145             EEikDialogFlagNoTitleBar |EEikDialogFlagButtonsRight |
       
   146             EEikDialogFlagCbaButtons | EEikDialogFlagNoBorder |
       
   147             EEikDialogFlagWait;
       
   148     title =  qtn_wlan_main_title;
       
   149     buttons = r_wlan_settings_ui_main_view_buttons;
       
   150     items =
       
   151         {
       
   152         DLG_LINE
       
   153             {
       
   154             type = EWlanSettingsUiSettingItemList;
       
   155             itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
   156             id = EWlanSettingsUiDlgSettingList;
       
   157             control = AVKON_SETTING_ITEM_LIST
       
   158                 {
       
   159                 title = "";
       
   160                 initial_number = EWlanSettingsUiItemListInitialNumber;
       
   161                 items =
       
   162                     {
       
   163                     AVKON_SETTING_ITEM
       
   164                         {
       
   165                         identifier = EWlanSettingsUiSettingShowWlanAvail;
       
   166                         setting_page_resource =
       
   167                             r_wlan_settings_ui_show_wlan_avail_setting_page;
       
   168                         name = qtn_wlan_sett_show_wlan_avail;            
       
   169                         associated_resource =
       
   170                             r_wlan_settings_ui_show_wlan_avail_values;
       
   171                         },
       
   172                     AVKON_SETTING_ITEM
       
   173                         {
       
   174                         identifier = EWlanSettingsUiSettingScanNetworks;
       
   175                         setting_page_resource =
       
   176                             r_wlan_settings_ui_scan_networks_setting_page;
       
   177                         name = qtn_wlan_sett_bg_scan_interval;            
       
   178                         associated_resource =
       
   179                             r_wlan_settings_ui_scan_network_values;
       
   180                         },
       
   181                     AVKON_SETTING_ITEM
       
   182                         {
       
   183                         identifier = EWlanSettingsUiSettingPowerSaving;
       
   184                         setting_page_resource =
       
   185                             r_wlan_settings_ui_power_saving_setting_page;
       
   186                         name = qtn_wlan_sett_power_saving;            
       
   187                         associated_resource =
       
   188                             r_wlan_settings_ui_power_saving_values;
       
   189                         }
       
   190                     };
       
   191                 };
       
   192             }
       
   193         };
       
   194     }
       
   195 
       
   196 RESOURCE AVKON_SETTING_PAGE r_wlan_settings_ui_show_wlan_avail_setting_page
       
   197     {    
       
   198     label= qtn_wlan_sett_show_wlan_avail;
       
   199     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   200     type = EAknCtPopupSettingList;
       
   201     editor_resource_id = r_wlan_settings_ui_selection_popup_listbox;
       
   202     }
       
   203 
       
   204 RESOURCE AVKON_POPUP_SETTING_TEXTS r_wlan_settings_ui_show_wlan_avail_values
       
   205     {
       
   206     setting_texts_resource = r_wlan_settings_ui_show_wlan_avail_value_array;
       
   207     }
       
   208 
       
   209 RESOURCE ARRAY r_wlan_settings_ui_show_wlan_avail_value_array
       
   210     {
       
   211     items =
       
   212         {
       
   213         AVKON_ENUMERATED_TEXT
       
   214             {
       
   215             value = 0;
       
   216             text = qtn_wlan_sett_bg_scan_never;
       
   217             },
       
   218         AVKON_ENUMERATED_TEXT
       
   219             {
       
   220             value = 1;
       
   221             text = qtn_wlan_sett_bg_scan_enabled;
       
   222             }
       
   223         };
       
   224     }
       
   225 
       
   226 RESOURCE AVKON_SETTING_PAGE r_wlan_settings_ui_scan_networks_setting_page
       
   227     { 
       
   228     label = qtn_wlan_sett_bg_scan_interval;
       
   229     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   230     type =  EAknCtPopupSettingList;
       
   231     editor_resource_id = r_wlan_settings_ui_selection_popup_listbox;
       
   232     }
       
   233 
       
   234 RESOURCE POPUP_SETTING_LIST r_wlan_settings_ui_selection_popup_listbox
       
   235     {
       
   236     flags = 0;
       
   237     }
       
   238 
       
   239 RESOURCE AVKON_POPUP_SETTING_TEXTS r_wlan_settings_ui_scan_network_values
       
   240     {
       
   241     flags = 0;
       
   242     setting_texts_resource = r_wlan_settings_ui_scan_network_values_array;
       
   243     }
       
   244 
       
   245 RESOURCE ARRAY r_wlan_settings_ui_scan_network_values_array
       
   246     {
       
   247     items =
       
   248         {
       
   249         AVKON_ENUMERATED_TEXT
       
   250             {
       
   251             value = EWlanSettingsUiScanNetworkAuto;
       
   252             text = qtn_wlan_sett_bg_scan_auto;
       
   253             },
       
   254         AVKON_ENUMERATED_TEXT
       
   255             {
       
   256             value = EWlanSettingsUiScanNetworkUserDef;
       
   257             text = qtn_wlan_sett_bg_scan_user_def;
       
   258             }
       
   259         };
       
   260     }
       
   261 
       
   262 RESOURCE AVKON_SETTING_PAGE r_wlan_settings_ui_power_saving_setting_page
       
   263     {    
       
   264     label= qtn_wlan_sett_power_saving;
       
   265     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   266     type = EAknCtPopupSettingList;
       
   267     editor_resource_id = r_wlan_settings_ui_selection_popup_listbox;
       
   268     }
       
   269 
       
   270 RESOURCE AVKON_POPUP_SETTING_TEXTS r_wlan_settings_ui_power_saving_values
       
   271     {
       
   272     setting_texts_resource = r_wlan_settings_ui_power_saving_value_array;
       
   273     }
       
   274 
       
   275 RESOURCE ARRAY r_wlan_settings_ui_power_saving_value_array
       
   276     {
       
   277     items =
       
   278         {
       
   279         AVKON_ENUMERATED_TEXT
       
   280             {
       
   281             value = 1;
       
   282             text = qtn_wlan_sett_power_saving_enabled;
       
   283             },
       
   284         AVKON_ENUMERATED_TEXT
       
   285             {
       
   286             value = 0;
       
   287             text = qtn_wlan_sett_power_saving_disabled;
       
   288             }
       
   289         };
       
   290     }
       
   291 
       
   292 RESOURCE DIALOG r_wlan_settings_ui_number_editor_2
       
   293     {
       
   294     flags = EGeneralQueryFlags;
       
   295     buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   296     items=
       
   297         {
       
   298         DLG_LINE
       
   299             {
       
   300             type=EAknCtQuery;
       
   301             id=EGeneralQuery;
       
   302             control= AVKON_DATA_QUERY
       
   303                 {
       
   304                 layout = ENumberLayout;
       
   305                 control = AVKON_INTEGER_EDWIN
       
   306                     {
       
   307                     maxlength = EWlanSettingsUiDlgMaxLength2;
       
   308                     };
       
   309                 };
       
   310             }
       
   311         };
       
   312     }
       
   313 
       
   314 RESOURCE TBUF r_wlan_settings_ui_power_saving_infonote
       
   315     {
       
   316     buf = qtn_power_saving_protected_settings_infonote;
       
   317     }      
       
   318 
       
   319 //End of File