wlanutilities/wlansettingsui/data/wlansettingsui.rss
changeset 0 56b72877c1cb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wlanutilities/wlansettingsui/data/wlansettingsui.rss	Thu Dec 17 09:20:28 2009 +0200
@@ -0,0 +1,319 @@
+/*
+* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "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: 
+*        Resource file for wlansettingsui
+*
+*/
+
+
+//  RESOURCE IDENTIFIER
+NAME    PWLC // 4 letter ID
+
+//  INCLUDES
+#include <eikon.rh>
+#include <eikon.rsg>
+#include <avkon.rh>
+#include <avkon.rsg>
+#include <avkon.loc>
+#include <avkon.mbg>
+#include <avkon.hrh>
+
+#include "wlansettingsui.hrh"
+#include <wlansettingsui.loc>
+
+// CONSTANTS
+
+//  RESOURCE DEFINITIONS 
+
+//----------------------------------------------------
+//   
+//    
+//    Needed or loading the resource fails!
+//
+//----------------------------------------------------
+//
+RESOURCE RSS_SIGNATURE
+    {
+    }
+    
+RESOURCE TBUF { buf="wlansettingsui"; }
+
+
+//----------------------------------------------------
+//   
+//    r_qtn_err_os_general 
+//    General error message.
+//
+//----------------------------------------------------
+//
+RESOURCE TBUF r_qtn_err_os_general { buf = qtn_err_os_general ; }
+
+RESOURCE TBUF
+    {
+    buf = "wlan";
+    }
+
+RESOURCE TBUF r_wlan_sett_bg_scan_auto
+    {
+    buf = qtn_wlan_sett_bg_scan_auto;
+    }
+
+RESOURCE TBUF r_wlan_sett_bg_scan_1_min
+    {
+    buf = qtn_wlan_sett_bg_scan_1_min;
+    }
+
+RESOURCE TBUF r_wlan_sett_bg_scan_x_min
+    {
+    buf = qtn_wlan_sett_bg_scan_x_min;
+    }
+
+RESOURCE TBUF r_wlan_prmpt_bg_scan_interval
+    {
+    buf = qtn_wlan_prmpt_bg_scan_interval;
+    }
+
+RESOURCE TBUF r_wlan_settings_ui_title                         
+    { 
+    buf = qtn_wlan_main_title; 
+    }
+
+RESOURCE MENU_BAR r_wlan_settings_ui_main_view_menubar
+    {
+    titles =
+        {
+        MENU_TITLE 
+            { 
+            menu_pane = r_wlan_settings_ui_main_view_menu; 
+            }
+        };
+    }
+
+RESOURCE MENU_PANE r_wlan_settings_ui_main_view_menu
+    {
+    items =
+        {
+        MENU_ITEM 
+            { 
+            command = EWlanSettingsUiCmdChange; 
+            txt = qtn_options_change;
+            flags = EEikMenuItemAction;
+            },
+        MENU_ITEM 
+            { 
+            command = EAknCmdHelp; 
+            txt = qtn_options_help; 
+            },
+        MENU_ITEM
+            {
+            command = EAknCmdExit;
+            txt = qtn_options_exit;
+            }
+        };
+    }
+
+//----------------------------------------------------
+//   
+//    r_wlan_settings_ui_main_view_buttons
+//
+//----------------------------------------------------
+//
+RESOURCE CBA r_wlan_settings_ui_main_view_buttons
+    {
+    buttons =
+        {
+        CBA_BUTTON {id=EAknSoftkeyOptions; txt=text_softkey_option;}, 
+        CBA_BUTTON {id=EAknSoftkeyBack; txt=text_softkey_back;},
+        CBA_BUTTON {id=EAknSoftkeyChange; txt=qtn_msk_change;} 
+        };          
+    }
+    
+RESOURCE DIALOG r_wlan_settings_ui_main_view_dialog
+    {
+    flags = EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
+            EEikDialogFlagNoTitleBar |EEikDialogFlagButtonsRight |
+            EEikDialogFlagCbaButtons | EEikDialogFlagNoBorder |
+            EEikDialogFlagWait;
+    title =  qtn_wlan_main_title;
+    buttons = r_wlan_settings_ui_main_view_buttons;
+    items =
+        {
+        DLG_LINE
+            {
+            type = EWlanSettingsUiSettingItemList;
+            itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
+            id = EWlanSettingsUiDlgSettingList;
+            control = AVKON_SETTING_ITEM_LIST
+                {
+                title = "";
+                initial_number = EWlanSettingsUiItemListInitialNumber;
+                items =
+                    {
+                    AVKON_SETTING_ITEM
+                        {
+                        identifier = EWlanSettingsUiSettingShowWlanAvail;
+                        setting_page_resource =
+                            r_wlan_settings_ui_show_wlan_avail_setting_page;
+                        name = qtn_wlan_sett_show_wlan_avail;            
+                        associated_resource =
+                            r_wlan_settings_ui_show_wlan_avail_values;
+                        },
+                    AVKON_SETTING_ITEM
+                        {
+                        identifier = EWlanSettingsUiSettingScanNetworks;
+                        setting_page_resource =
+                            r_wlan_settings_ui_scan_networks_setting_page;
+                        name = qtn_wlan_sett_bg_scan_interval;            
+                        associated_resource =
+                            r_wlan_settings_ui_scan_network_values;
+                        },
+                    AVKON_SETTING_ITEM
+                        {
+                        identifier = EWlanSettingsUiSettingPowerSaving;
+                        setting_page_resource =
+                            r_wlan_settings_ui_power_saving_setting_page;
+                        name = qtn_wlan_sett_power_saving;            
+                        associated_resource =
+                            r_wlan_settings_ui_power_saving_values;
+                        }
+                    };
+                };
+            }
+        };
+    }
+
+RESOURCE AVKON_SETTING_PAGE r_wlan_settings_ui_show_wlan_avail_setting_page
+    {    
+    label= qtn_wlan_sett_show_wlan_avail;
+    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+    type = EAknCtPopupSettingList;
+    editor_resource_id = r_wlan_settings_ui_selection_popup_listbox;
+    }
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_wlan_settings_ui_show_wlan_avail_values
+    {
+    setting_texts_resource = r_wlan_settings_ui_show_wlan_avail_value_array;
+    }
+
+RESOURCE ARRAY r_wlan_settings_ui_show_wlan_avail_value_array
+    {
+    items =
+        {
+        AVKON_ENUMERATED_TEXT
+            {
+            value = 0;
+            text = qtn_wlan_sett_bg_scan_never;
+            },
+        AVKON_ENUMERATED_TEXT
+            {
+            value = 1;
+            text = qtn_wlan_sett_bg_scan_enabled;
+            }
+        };
+    }
+
+RESOURCE AVKON_SETTING_PAGE r_wlan_settings_ui_scan_networks_setting_page
+    { 
+    label = qtn_wlan_sett_bg_scan_interval;
+    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+    type =  EAknCtPopupSettingList;
+    editor_resource_id = r_wlan_settings_ui_selection_popup_listbox;
+    }
+
+RESOURCE POPUP_SETTING_LIST r_wlan_settings_ui_selection_popup_listbox
+    {
+    flags = 0;
+    }
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_wlan_settings_ui_scan_network_values
+    {
+    flags = 0;
+    setting_texts_resource = r_wlan_settings_ui_scan_network_values_array;
+    }
+
+RESOURCE ARRAY r_wlan_settings_ui_scan_network_values_array
+    {
+    items =
+        {
+        AVKON_ENUMERATED_TEXT
+            {
+            value = EWlanSettingsUiScanNetworkAuto;
+            text = qtn_wlan_sett_bg_scan_auto;
+            },
+        AVKON_ENUMERATED_TEXT
+            {
+            value = EWlanSettingsUiScanNetworkUserDef;
+            text = qtn_wlan_sett_bg_scan_user_def;
+            }
+        };
+    }
+
+RESOURCE AVKON_SETTING_PAGE r_wlan_settings_ui_power_saving_setting_page
+    {    
+    label= qtn_wlan_sett_power_saving;
+    softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+    type = EAknCtPopupSettingList;
+    editor_resource_id = r_wlan_settings_ui_selection_popup_listbox;
+    }
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_wlan_settings_ui_power_saving_values
+    {
+    setting_texts_resource = r_wlan_settings_ui_power_saving_value_array;
+    }
+
+RESOURCE ARRAY r_wlan_settings_ui_power_saving_value_array
+    {
+    items =
+        {
+        AVKON_ENUMERATED_TEXT
+            {
+            value = 1;
+            text = qtn_wlan_sett_power_saving_enabled;
+            },
+        AVKON_ENUMERATED_TEXT
+            {
+            value = 0;
+            text = qtn_wlan_sett_power_saving_disabled;
+            }
+        };
+    }
+
+RESOURCE DIALOG r_wlan_settings_ui_number_editor_2
+    {
+    flags = EGeneralQueryFlags;
+    buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+    items=
+        {
+        DLG_LINE
+            {
+            type=EAknCtQuery;
+            id=EGeneralQuery;
+            control= AVKON_DATA_QUERY
+                {
+                layout = ENumberLayout;
+                control = AVKON_INTEGER_EDWIN
+                    {
+                    maxlength = EWlanSettingsUiDlgMaxLength2;
+                    };
+                };
+            }
+        };
+    }
+
+RESOURCE TBUF r_wlan_settings_ui_power_saving_infonote
+    {
+    buf = qtn_power_saving_protected_settings_infonote;
+    }      
+
+//End of File