/*
* Copyright (c) 2002 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: This file contains all the resources for the MediaSettings.*
*/
// Version : %version: 16 %
// RESOURCE IDENTIFIER
NAME MPSE // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <mediasettings.mbg>
#include <avkon.loc>
#include <appinfo.rh>
#include <data_caging_paths_strings.hrh>
#include <ipvideo.loc>
#include <mediasettings.loc>
#include "mediasettings.hrh"
#ifdef RD_MULTIPLE_DRIVE_ENABLERS
#include <CommonDialogs.hrh> // Enumerations
#include <CommonDialogs.rh> // Resource structures
#endif // RD_MULTIPLE_DRIVE_ENABLERS
// CONSTANTS
// Icons file path
#define KMPSettingIconsFilePath APP_BITMAP_DIR"\\mediasettings.mif"
// On/Off setting values:
#define KMPSettingValueOn 1
#define KMPSettingValueOff 0
// Auto disconnect time
#define KMPSettingValueUnlimited 0
#define KMPSettingValueUserDefined 1
// RESOURCE DEFINITIONS
//----------------------------------------------------
//
// RSS_SIGNATURE
//
//----------------------------------------------------
//
RESOURCE RSS_SIGNATURE
{
}
//----------------------------------------------------
//
// TBUF
// Name of the application.
//
//----------------------------------------------------
//
RESOURCE TBUF
{
buf = "MediaSettings";
}
//----------------------------------------------------
//
// EIK_APP_INFO
//
//----------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
status_pane = r_mp_settings_status_pane;
}
// -----------------------------------------------------------------------------
//
// r_mp_settings_localisable_app_info
// Localisable application info resource definition
//
// -----------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_mp_settings_localisable_app_info
{
short_caption = qtn_mp_settings_short_caption;
caption_and_icon =
CAPTION_AND_ICON_INFO
{
caption = qtn_mp_settings_caption;
number_of_icons = 1;
icon_file = KMPSettingIconsFilePath;
};
}
//----------------------------------------------------
//
// r_mp_settings_status_pane
// Status pane for main view.
//
//----------------------------------------------------
//
RESOURCE STATUS_PANE_APP_MODEL r_mp_settings_status_pane
{
layout = R_AVKON_STATUS_PANE_LAYOUT_USUAL;
panes =
{
SPANE_PANE
{
id = EEikStatusPaneUidTitle;
type = EAknCtTitlePane;
resource = r_mpsett_main_view_title;
}
};
}
// *** Common resources ***
// ---------------------------------------------------
//
// r_mpsett_icon_mbm_file
// Path to mpsettings.mbm file
//
// ---------------------------------------------------
//
RESOURCE TBUF r_mpsett_icon_mbm_file
{
buf = KMPSettingIconsFilePath;
}
// ** MENU PANES **
//----------------------------------------------------
//
// r_mpsett_app_menu
// Options menu pane containing common items.
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_mpsett_app_menu
{
items =
{
MENU_ITEM
{
command = EMPSettCmdHelp;
txt = qtn_options_help;
},
MENU_ITEM
{
command = EAknCmdExit;
txt = qtn_options_exit;
}
};
}
//----------------------------------------------------
//
// r_mpsett_open_menu
// Options menu pane containing Open item.
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_mpsett_open_menu
{
items =
{
MENU_ITEM
{
command = EMPSettCmdOpen;
txt = qtn_options_open;
flags = EEikMenuItemAction;
}
};
}
//----------------------------------------------------
//
// r_mpsett_change_menu
// Options menu pane containing Change item.
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_mpsett_change_menu
{
items =
{
MENU_ITEM
{
command = EMPSettCmdChange;
txt = qtn_options_change;
flags = EEikMenuItemAction;
}
};
}
//----------------------------------------------------
//
// r_mpsett_advanced_sett_menu
// Options menu pane containing Advanced settings item.
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_mpsett_advanced_sett_menu
{
items =
{
MENU_ITEM
{
command = EMPSettCmdAdvancedSett;
txt = qtn_mp_option_adv_settings;
}
};
}
//----------------------------------------------------
//
// r_mpsett_app_and_open_menubar
// Options menu containing Open and common items.
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_mpsett_app_and_open_menubar
{
titles =
{
MENU_TITLE
{
menu_pane = r_mpsett_app_menu;
},
MENU_TITLE
{
menu_pane = r_mpsett_open_menu;
}
};
}
//----------------------------------------------------
//
// r_mpsett_app_and_change_menubar
// Options menu containing Change and common items.
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_mpsett_app_and_change_menubar
{
titles =
{
MENU_TITLE
{
menu_pane = r_mpsett_app_menu;
},
MENU_TITLE
{
menu_pane = r_mpsett_change_menu;
}
};
}
//----------------------------------------------------
//
// r_mpsett_app_and_adv_sett_menubar
// Options menu containing Change, Advanced, and common items.
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_mpsett_app_and_adv_sett_menubar
{
titles =
{
MENU_TITLE
{
menu_pane = r_mpsett_app_menu;
},
#ifndef __PROTOCOL_CDMA
MENU_TITLE
{
menu_pane = r_mpsett_advanced_sett_menu;
},
#endif
MENU_TITLE
{
menu_pane = r_mpsett_change_menu;
}
};
}
// ** POPUP SETTING LIST **
//----------------------------------------------------
//
// r_mpsett_popup_setting_list
//
//----------------------------------------------------
//
RESOURCE POPUP_SETTING_LIST r_mpsett_popup_setting_list
{
}
// *** View resources ***
// ** MAIN view **
//----------------------------------------------------
//
// r_mpsett_main_view_title
// Main view's title.
//
//----------------------------------------------------
//-
RESOURCE TITLE_PANE r_mpsett_main_view_title
{
txt = qtn_mp_title_settings;
}
//----------------------------------------------------
//
// r_mpsett_main_lbx_resource
// Main view's listbox resource.
//
//----------------------------------------------------
//
RESOURCE LISTBOX r_mpsett_main_lbx_resource
{
array_id = r_mpsett_main_lbx;
flags = EEikListBoxMultipleSelection;
}
//----------------------------------------------------
//
// r_mpsett_main_lbx
// Main view's listbox.
//
//----------------------------------------------------
//
RESOURCE ARRAY r_mpsett_main_lbx
{
items =
{
LBUF
{
txt = "0\t"qtn_mp_settings_video;
},
LBUF
{
txt = "1\t"qtn_mp_settings_streaming;
}
};
}
//----------------------------------------------------
//
// r_mpsett_main_view
// Main view's Options menu and cba.
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_mpsett_main_view
{
menubar = r_mpsett_app_and_open_menubar;
cba = R_AVKON_SOFTKEYS_SELECTION_LIST;
}
// ** VIDEO view **
//----------------------------------------------------
//
// r_mpsett_video_view_title
// Video view's title.
//
//----------------------------------------------------
//-
RESOURCE TITLE_PANE r_mpsett_video_view_title
{
txt = qtn_mp_title_sett_video;
}
//----------------------------------------------------
//
// r_mpsett_video_view
// Video view's Options menu and cba.
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_mpsett_video_view
{
menubar = r_mpsett_app_and_change_menubar;
cba = R_AVKON_SOFTKEYS_SELECTION_LIST;
}
//----------------------------------------------------
//
// r_gs_mpsett_video_view
// Video view's Options menu and cba.
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_gs_mpsett_video_view
{
menubar = r_mpsett_app_and_change_menubar;
cba = r_mediasetting_softkeys_options_back_change;
}
//----------------------------------------------------
//
// r_mediasetting_softkeys_options_back_change
// Text association with MSK ( CHANGE )
//
//----------------------------------------------------
//
RESOURCE CBA r_mediasetting_softkeys_options_back_change
{
buttons =
{
CBA_BUTTON
{
id=EAknSoftkeyOptions;
txt = text_softkey_option;
},
CBA_BUTTON
{
id=EAknSoftkeyBack;
txt = text_softkey_back;
},
CBA_BUTTON
{
id=EMPMiddleSoftKeyChange;
txt = qtn_msk_change;
}
};
}
// ** STREAMING view **
//----------------------------------------------------
//
// r_mpsett_streaming_view_title
// Streaming view's title.
//
//----------------------------------------------------
//-
RESOURCE TITLE_PANE r_mpsett_streaming_view_title
{
txt = qtn_mp_title_sett_stream;
}
//----------------------------------------------------
//
// r_gs_mpsett_streaming_view
// Streaming view's Options menu and cba.
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_gs_mpsett_streaming_view
{
menubar = r_mpsett_app_and_adv_sett_menubar;
cba=r_mediasetting_softkeys_options_back_open;
}
//----------------------------------------------------
//
// r_mpsett_streaming_view
// Streaming view's Options menu and cba.
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_mpsett_streaming_view
{
menubar = r_mpsett_app_and_adv_sett_menubar;
cba = R_AVKON_SOFTKEYS_SELECTION_LIST;
}
// * PROXY view *
//----------------------------------------------------
//
// r_mpsett_proxy_view_title
// Proxy view's title.
//
//----------------------------------------------------
//-
RESOURCE TITLE_PANE r_mpsett_proxy_view_title
{
txt = qtn_mp_sett_stream_title_proxy;
}
// * NETWORK view *
//----------------------------------------------------
//
// r_mpsett_network_view_title
// Network view's title.
//
//----------------------------------------------------
//-
RESOURCE TITLE_PANE r_mpsett_network_view_title
{
txt = qtn_mp_sett_stream_title_net;
}
// * ADVANCED bw view *
//----------------------------------------------------
//
// r_mpsett_advanced_bw_view_title
// Network view's title.
//
//----------------------------------------------------
//-
RESOURCE TITLE_PANE r_mpsett_advanced_bw_view_title
{
txt = qtn_mp_sett_stream_title_net;
}
//----------------------------------------------------
//
// r_mpsett_advanced_bw_view
// Network view's Options menu and cba.
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_mpsett_advanced_bw_view
{
menubar = r_mpsett_app_and_change_menubar;
cba = R_AVKON_SOFTKEYS_SELECTION_LIST;
}
// *** SETTING ITEM LIST ***
// ** VIDEO setting item list **
//----------------------------------------------------
//
// r_mpsett_video_setting_item_list
// Video setting list view's item list.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_ITEM_LIST r_mpsett_video_setting_item_list
{
flags = EAknSettingItemIncludeHiddenInOrdinal;
items =
{
AVKON_SETTING_ITEM
{
identifier = EMPSettVideoContrastSettingId;
name = qtn_mp_setting_video_contrast;
setting_page_resource = r_mpsett_video_contrast_setting_page;
}
};
}
// * CONTRAST *
//----------------------------------------------------
//
// r_mpsett_video_contrast_setting_page
// Setting page resource for Video contrast setting.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_mpsett_video_contrast_setting_page
{
number = EAknSettingPageNoOrdinalDisplayed;
label = qtn_mp_setting_video_contrast;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
type = EAknCtSlider;
editor_resource_id = r_mpsett_contrast_slider;
}
//----------------------------------------------------
//
// r_mpsett_contrast_slider
// Slider resource for Video contrast setting page.
//
//----------------------------------------------------
//
RESOURCE SLIDER r_mpsett_contrast_slider
{
layout = EAknSettingsItemSliderLayout;
minvalue = 0;
maxvalue = 100;
step = 5;
valuetype = EAknSliderValuePercentage;
minlabel = qtn_vid_contrast_light;
maxlabel = qtn_vid_contrast_dark;
}
//----------------------------------------------------
//
// r_mpsett_contrast_slider_list_value
// Text resource for Video contrast setting's current value.
//
//----------------------------------------------------
//
RESOURCE TBUF r_mpsett_contrast_slider_list_value
{
buf = qtn_mp_contrast_value;
}
// * DEFAULT VIEW *
//----------------------------------------------------
//
// r_mpsett_default_view_setting_page
// Setting page resource for Default View setting.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_mpsett_default_view_setting_page
{
number = EAknSettingPageNoOrdinalDisplayed;
label = qtn_mp_setting_default_playback;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
type = EAknCtPopupSettingList;
editor_resource_id = r_mpsett_default_view_on_off_popup_setting_list;
}
//----------------------------------------------------
//
// r_mpsett_default_view_on_off_popup_setting_list
//
//----------------------------------------------------
//
RESOURCE POPUP_SETTING_LIST r_mpsett_default_view_on_off_popup_setting_list
{
}
// ** STREAMING setting item list **
//----------------------------------------------------
//
// r_mpsett_streaming_setting_item_list
// Proxy setting list view's item list.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_ITEM_LIST r_mpsett_streaming_setting_item_list
{
items =
{
#ifndef __PROTOCOL_CDMA
AVKON_SETTING_ITEM
{
identifier = EMPSettDefaultAPSettingId;
name = qtn_mp_setting_default_ap;
},
AVKON_SETTING_ITEM
{
identifier = EMPSettMinUDPPortSettingId;
name = qtn_mp_setting_min_udp_port;
setting_page_resource = r_mpsett_min_udp_port_setting_page;
},
AVKON_SETTING_ITEM
{
identifier = EMPSettMaxUDPPortSettingId;
name = qtn_mp_setting_max_udp_port;
setting_page_resource = r_mpsett_max_udp_port_setting_page;
},
#endif
AVKON_SETTING_ITEM
{
identifier = EMPSettProxyModeSettingId;
name = qtn_mp_setting_proxy;
setting_page_resource = r_mpsett_proxy_mode_setting_page;
associated_resource = r_mpsett_proxy_mode_setting_texts;
},
AVKON_SETTING_ITEM
{
identifier = EMPSettProxyHostSettingId;
name = qtn_mp_setting_proxy_host;
setting_page_resource = r_mpsett_proxy_host_setting_page;
empty_item_text = qtn_selec_sett_val_field_none;
},
AVKON_SETTING_ITEM
{
identifier = EMPSettProxyPortSettingId;
name = qtn_mp_setting_proxy_port;
setting_page_resource = r_mpsett_proxy_port_setting_page;
}
};
}
// * PROXY mode *
//----------------------------------------------------
//
// r_mpsett_proxy_mode_setting_page
// Setting page for Proxy mode setting.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_mpsett_proxy_mode_setting_page
{
number = EAknSettingPageNoOrdinalDisplayed;
label = qtn_mp_setting_proxy;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
type = EAknCtPopupSettingList;
editor_resource_id = r_mpsett_popup_setting_list;
}
//----------------------------------------------------
//
// r_mpsett_proxy_mode_setting_texts
// Setting text resource for Proxy mode setting.
//
//----------------------------------------------------
//
RESOURCE AVKON_POPUP_SETTING_TEXTS r_mpsett_proxy_mode_setting_texts
{
setting_texts_resource = r_mpsett_proxy_mode_texts;
}
//----------------------------------------------------
//
// r_mpsett_proxy_mode_texts
// Setting texts for Proxy mode setting.
//
//----------------------------------------------------
//
RESOURCE ARRAY r_mpsett_proxy_mode_texts
{
items =
{
AVKON_ENUMERATED_TEXT
{
value = KMPSettingValueOn;
text = qtn_mp_sett_proxy_enabled;
},
AVKON_ENUMERATED_TEXT
{
value = KMPSettingValueOff;
text = qtn_mp_sett_proxy_disabled;
}
};
}
// * PROXY HOSTNAME *
//----------------------------------------------------
//
// r_mpsett_proxy_host_setting_page
// Setting page for Proxy host name setting.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_mpsett_proxy_host_setting_page
{
label= qtn_mp_setting_proxy_host;
type = EEikCtEdwin;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
editor_resource_id = r_mpsett_proxy_host_edwin;
}
//----------------------------------------------------
//
// r_mpsett_proxy_host_edwin
// Text editor for Proxy host name setting page.
//
//----------------------------------------------------
//
RESOURCE EDWIN r_mpsett_proxy_host_edwin
{
flags = KMultiLineExpandingEditorFlags;
lines = 0;
maxlength = 1000;
default_case = EAknEditorLowerCase;
avkon_flags = EAknEditorFlagLatinInputModesOnly;
special_character_table = R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG;
}
// * PROXY PORT *
//----------------------------------------------------
//
// r_mpsett_proxy_port_setting_page
// Setting page for Proxy port setting.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_mpsett_proxy_port_setting_page
{
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
type = EAknCtIntegerEdwin;
editor_resource_id= r_mpsett_proxy_port_edwin;
}
//----------------------------------------------------
//
// r_mpsett_proxy_port_edwin
// Integer editor for Proxy port setting page.
//
//----------------------------------------------------
//
RESOURCE AVKON_INTEGER_EDWIN r_mpsett_proxy_port_edwin
{
min = 0;
max = 65535;
maxlength = 5;
}
// * UDP PORT RANGE *
//----------------------------------------------------
//
// r_mpsett_min_udp_port_setting_page
// Setting page for Min UDP port setting.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_mpsett_min_udp_port_setting_page
{
label = qtn_mp_setting_min_udp_port;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
type = EAknCtIntegerEdwin;
editor_resource_id= r_mpsett_udp_port_edwin;
}
//----------------------------------------------------
//
// r_mpsett_max_udp_port_setting_page
// Setting page for Min UDP port setting.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_mpsett_max_udp_port_setting_page
{
label = qtn_mp_setting_max_udp_port;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
type = EAknCtIntegerEdwin;
editor_resource_id= r_mpsett_udp_port_edwin;
}
//----------------------------------------------------
//
// r_mpsett_udp_port_edwin
// Integer editor for UDP port setting page.
//
//----------------------------------------------------
//
RESOURCE AVKON_INTEGER_EDWIN r_mpsett_udp_port_edwin
{
min = 1024; //magic
max = 65535; //magic
maxlength = 5;
}
// ** BEARER specific bandwidth setting item list **
//----------------------------------------------------
//
// r_mpsett_advancedbw_setting_item_list
// Advanced bandwidth setting list view's item list.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_ITEM_LIST r_mpsett_bearer_bw_setting_item_list
{
items =
{
AVKON_SETTING_ITEM
{
identifier = EMPSettGPRSBwSettingId;
name = qtn_mp_gprs_bandwidth;
setting_page_resource = r_mpsett_gprs_bandw_setting_page;
},
AVKON_SETTING_ITEM
{
identifier = EMPSettEGPRSBwSettingId;
name = qtn_mp_egprs_bandwidth;
setting_page_resource = r_mpsett_egprs_bandw_setting_page;
},
AVKON_SETTING_ITEM
{
identifier = EMPSettWCDMABwSettingId;
name = qtn_mp_wcdma_bandwidth;
setting_page_resource = r_mpsett_wcdma_bandw_setting_page;
},
AVKON_SETTING_ITEM
{
identifier = EMPSettWLANBwSettingId;
name = qtn_mp_wlan_bandwidth;
setting_page_resource = r_mpsett_wlan_bandw_setting_page;
},
AVKON_SETTING_ITEM
{
identifier = EMPSettHSDPABwSettingId;
name = qtn_mp_hsdpa_bandwidth;
setting_page_resource = r_mpsett_hsdpa_bandw_setting_page;
}
};
}
// * GPRS BANDWIDTH *
//----------------------------------------------------
//
// r_mpsett_gprs_bandw_setting_page
// Setting page for Maximum bandwidth setting.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_mpsett_gprs_bandw_setting_page
{
number = EAknSettingPageNoOrdinalDisplayed;
label = qtn_mp_gprs_bandwidth;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
type = EAknCtPopupSettingList;
editor_resource_id = r_mpsett_popup_setting_list;
}
//----------------------------------------------------
//
// r_mpsett_gprs_bw_query
//
//----------------------------------------------------
//
RESOURCE DIALOG r_mpsett_gprs_bw_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EFloatingPointLayout;
label = qtn_mp_header_bw;
control = FLPTED
{
min = 5;
max = 99.99; // Magic: ?
maxlength = 5;
};
};
}
};
}
// * EGPRS BANDWIDTH *
//----------------------------------------------------
//
// r_mpsett_egprs_bandw_setting_page
// Setting page for Maximum bandwidth setting.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_mpsett_egprs_bandw_setting_page
{
number = EAknSettingPageNoOrdinalDisplayed;
label = qtn_mp_egprs_bandwidth;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
type = EAknCtPopupSettingList;
editor_resource_id = r_mpsett_popup_setting_list;
}
//----------------------------------------------------
//
// r_mpsett_egprs_bw_query
//
//----------------------------------------------------
//
RESOURCE DIALOG r_mpsett_egprs_bw_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EFloatingPointLayout;
label = qtn_mp_header_bw;
control = FLPTED
{
min = 5;
max = 199.99; // Magic: ?
maxlength = 6;
};
};
}
};
}
// * WCDMA BANDWIDTH *
//----------------------------------------------------
//
// r_mpsett_wcdma_bandw_setting_page
// Setting page for Maximum bandwidth setting.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_mpsett_wcdma_bandw_setting_page
{
number = EAknSettingPageNoOrdinalDisplayed;
label = qtn_mp_wcdma_bandwidth;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
type = EAknCtPopupSettingList;
editor_resource_id = r_mpsett_popup_setting_list;
}
//----------------------------------------------------
//
// r_mpsett_wcdma_bw_query
//
//----------------------------------------------------
//
RESOURCE DIALOG r_mpsett_wcdma_bw_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EFloatingPointLayout;
label = qtn_mp_header_bw;
control = FLPTED
{
min = 5;
max = 1920.00; // Allow up to 1.92 Mbps
maxlength = 7;
};
};
}
};
}
// * WLAN BANDWIDTH *
//----------------------------------------------------
//
// r_mpsett_wlan_bandw_setting_page
// Setting page for Maximum bandwidth setting.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_mpsett_wlan_bandw_setting_page
{
number = EAknSettingPageNoOrdinalDisplayed;
label = qtn_mp_wlan_bandwidth;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
type = EAknCtPopupSettingList;
editor_resource_id = r_mpsett_popup_setting_list;
}
//----------------------------------------------------
//
// r_mpsett_wlan_bw_query
//
//----------------------------------------------------
//
RESOURCE DIALOG r_mpsett_wlan_bw_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EFloatingPointLayout;
label = qtn_mp_header_bw;
control = FLPTED
{
min = 5;
max = 4300.00; // Allow up to 4.3 Mbps
maxlength = 7;
};
};
}
};
}
// * HSDPA BANDWIDTH *
//----------------------------------------------------
//
// r_mpsett_hsdpa_bandw_setting_page
// Setting page for Maximum bandwidth setting.
//
//----------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_mpsett_hsdpa_bandw_setting_page
{
number = EAknSettingPageNoOrdinalDisplayed;
label = qtn_mp_hsdpa_bandwidth;
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
type = EAknCtPopupSettingList;
editor_resource_id = r_mpsett_popup_setting_list;
}
//----------------------------------------------------
//
// r_mpsett_hsdpa_bw_query
//
//----------------------------------------------------
//
RESOURCE DIALOG r_mpsett_hsdpa_bw_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; //MSK
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EFloatingPointLayout;
label = qtn_mp_header_bw;
control = FLPTED
{
min = 5;
max = 3999.99; // Magic: ?
maxlength = 7;
};
};
}
};
}
// * COMMON for bearer specific bw setting items *
//----------------------------------------------------
//
// r_mpsett_advanced_bw_value
// Setting text resource for advanced bandwidth
// setting value.
//
//----------------------------------------------------
//
RESOURCE TBUF r_mpsett_advanced_bw_value
{
buf = qtn_mp_bw_sett_value;
}
//----------------------------------------------------
//
// r_mpsett_advanced_bw_value_mbit
// Setting text resource for advanced bandwidth
// setting value.
//
//----------------------------------------------------
//
RESOURCE TBUF r_mpsett_advanced_bw_value_mbit
{
buf = qtn_mp_bw_sett_value_mbit;
}
//----------------------------------------------------
//
// r_mpsett_user_defined
//
//----------------------------------------------------
//
RESOURCE TBUF r_mpsett_user_defined
{
buf = qtn_mp_sett_autodiscon_user;
}
// *** PLUGIN VIEWS ***
// *** GSVideoPlugin ***
//----------------------------------------------------
//
// r_gs_mediasetting_view
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_gs_mediasetting_view
{
menubar= r_gs_menubar_mediasetting_dummy_view;
cba=r_mediasetting_softkeys_options_back_open;
}
//----------------------------------------------------
//
// r_mediasetting_softkeys_options_back_open
// Text association with MSK ( OPEN )
//
//----------------------------------------------------
//
RESOURCE CBA r_mediasetting_softkeys_options_back_open
{
buttons =
{
CBA_BUTTON
{
id=EAknSoftkeyOptions;
txt = text_softkey_option;
},
CBA_BUTTON
{
id=EAknSoftkeyBack;
txt = text_softkey_back;
},
CBA_BUTTON
{
id=EMPSettCmdOpen;
txt = qtn_msk_open;
}
};
}
//----------------------------------------------------
//
// r_gs_menubar_mediasetting_dummy_view
// MediaSetting view dummy sub-menubar - needed as a base for other
// menubars.
//----------------------------------------------------
//
RESOURCE MENU_BAR r_gs_menubar_mediasetting_dummy_view
{
titles =
{
MENU_TITLE { menu_pane=r_mpsett_app_menu;},
MENU_TITLE { menu_pane=r_mpsett_open_menu;}
};
}
//----------------------------------------------------
// r_gs_mediasetting_view_caption
//
// MediaSetting view caption for plugin
//----------------------------------------------------
//
RESOURCE TBUF r_gs_mediasetting_view_caption
{
buf = qtn_set_folder_media_player;
}
// MSK Handling
// -----------------------------------------------------------------------------
//
// r_mediasetting_msk_open
// Middle softkey label: open.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_mediasetting_msk_open
{
buf = qtn_msk_open;
}
// -----------------------------------------------------------------------------
//
// r_mediasetting_msk_select
// Middle softkey label: select.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_mediasetting_msk_select
{
buf = qtn_msk_select;
}
// -----------------------------------------------------------------------------
//
// r_mediasetting_msk_change
// Middle softkey label: change.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_mediasetting_msk_change
{
buf = qtn_msk_change;
}
//----------------------------------------------------
//
// r_mpsett_app_and_change_menubar
// Options menu containing Change and common items.
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_mpsett_feeds_menubar
{
titles =
{
MENU_TITLE
{
menu_pane = r_mpsett_app_menu;
}
};
}
// End of File