--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wvuing/wvuiave/AppRss/CASettingsNG.rss Thu Dec 17 08:41:52 2009 +0200
@@ -0,0 +1,647 @@
+/*
+* Copyright (c) 2002-2005 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 of settings
+*
+*/
+
+
+//SETTINGS VIEW STARTS HERE
+//----------------------------------------------------
+//
+// r_chatclient_settings_view
+// View-resource definition for settingsview
+//
+//----------------------------------------------------
+//
+RESOURCE TBUF r_chatclien_settings_view_title { buf = qtn_chat_setting_title;}
+
+RESOURCE AVKON_VIEW r_chatclient_settings_view
+ {
+ hotkeys = r_chatclient_hotkeys;
+ menubar = r_chatclient_menubar_settings_view;
+ cba = r_chat_softkeys_options_back__open;
+ }
+
+RESOURCE MENU_BAR r_chatclient_menubar_settings_view
+{
+ titles=
+ {
+ MENU_TITLE { menu_pane=r_chatclient_general_menu; },
+ MENU_TITLE { menu_pane = r_chatclient_settingsview_options_menu; }
+ };
+}
+RESOURCE MENU_PANE r_chatclient_settingsview_options_menu
+{
+ items =
+ {
+ MENU_ITEM { command = EChatClientSettingsOpen; txt = qtn_options_open;}
+ };
+}
+
+RESOURCE LISTBOX r_settings_listbox
+{
+ array_id = r_chatclient_settings_array;
+ flags = EAknListBoxMarkableList;
+}
+RESOURCE ARRAY r_chatclient_settings_array
+ {
+ items =
+ {
+ LBUF { txt = qtn_chat_settings_app; },
+ LBUF { txt = qtn_chat_settings_serv; }
+ };
+ }
+
+
+//APPLICATION SETTINGS DIALOG
+
+RESOURCE DIALOG r_chatclient_appsettings_dlg
+ {
+ buttons = r_chat_softkeys_options_back__change;
+ flags = EEikDialogFlagWait | EEikDialogFlagNoDrag
+ | EEikDialogFlagCbaButtons | EEikDialogFlagNoTitleBar
+ | EEikDialogFlagFillAppClientRect;
+ items=
+ {
+ DLG_LINE
+ {
+ type = EAknCtSettingListBox;
+ id = EChatClientControlIdAppSettings;
+ itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys | EEikDlgItemCtlMinSizeOrLess;
+ control = LISTBOX
+ {
+ flags = EAknListBoxSelectionList;
+ };
+ }
+ };
+ }
+
+
+RESOURCE TBUF r_chatclient_appsettings_title
+ {
+ buf = qtn_chat_setting_app_title;
+ }
+
+RESOURCE TBUF r_chatclient_appsettings_defnick_title
+ {
+ buf = qtn_chat_set_def_nick;
+ }
+
+RESOURCE MENU_BAR r_chatclient_appsettings_menubar
+ {
+ titles=
+ {
+ MENU_TITLE { menu_pane=r_chatclient_general_menu; },
+ MENU_TITLE { menu_pane = r_chatclient_appsettings_menupane; }
+ };
+ }
+
+RESOURCE MENU_PANE r_chatclient_appsettings_menupane
+ {
+ items=
+ {
+ MENU_ITEM
+ {
+ command = EChatClientAppSetChange;
+ txt = qtn_chat_set_opt_change;
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+// r_message_colors
+// Array of LAF colors that will be used in message color dialog
+// ---------------------------------------------------------
+//
+RESOURCE ARRAY r_message_colors
+ {
+ items =
+ {
+ LBUF { txt = "35"; }, // Red
+ LBUF { txt = "23"; }, // Orange
+ LBUF { txt = "5"; }, // Yellow
+ LBUF { txt = "2"; }, // Light Yellow
+ LBUF { txt = "82"; }, // Light Green
+ LBUF { txt = "154"; }, // Green
+ LBUF { txt = "58"; }, // Brown
+ LBUF { txt = "194"; }, // Teal Blue
+ LBUF { txt = "86"; }, // Gray
+ LBUF { txt = "192"; }, // Light Blue
+ LBUF { txt = "199"; }, // Dark Blue
+ LBUF { txt = "210"; }, // Blue
+ LBUF { txt = "215"; }, // Black
+ LBUF { txt = "105"; }, // Purple
+ LBUF { txt = "20"; }, // Light Red
+ LBUF { txt = "21"; } // Pink
+ };
+ }
+
+// ---------------------------------------------------------
+// r_chatclient_color_grid_dlg
+// Color selection dialog with customized "none" text.
+// ---------------------------------------------------------
+//
+RESOURCE DIALOG r_chatclient_color_grid_dlg
+ {
+ flags = EEikDialogFlagWait | EEikDialogFlagNotifyEsc |
+ EEikDialogFlagCbaButtons | EEikDialogFlagNoDrag |
+ EEikDialogFlagNoBorder;
+ buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+ items=
+ {
+ DLG_LINE
+ {
+ type = EAknCtPopupHeadingPane;
+ id = EColourGridPopup;
+ control = AVKON_HEADING
+ {
+ label = qtn_select_colour_prompt;
+ headinglayout = R_AVKON_LIST_HEADING_PANE;
+ };
+ },
+ DLG_LINE
+ {
+ type = EAknCtColourSelectionGridDialog;
+ id = ECtrlGridType;
+ control = AVKON_COLOUR_SELECTION_GRID
+ {
+ nonetext = qtn_chat_set_colour_default;
+ gridcontrol = GRID
+ {
+ style = R_COLOUR_SEL_GRID_STYLE_NONE;
+ flags = EEikDlgItemTakesEnterKey;
+ height = 4;
+ width = 4 ;
+ };
+ };
+ }
+ };
+ }
+
+//APPLICATION SETTING ITEMS
+
+// message colors
+RESOURCE TBUF r_qtn_chat_set_font_colours_own
+ {
+ buf = qtn_chat_set_font_colours_own;
+ }
+RESOURCE TBUF r_qtn_chat_set_font_colours_other
+ {
+ buf = qtn_chat_set_font_colours_other;
+ }
+
+RESOURCE AVKON_SETTING_PAGE r_chat_set_message_color
+ {
+ type = EAknCtPopupSettingList;
+ editor_resource_id = r_chat_set_friendupd_control;
+ softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+ }
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_chat_set_message_color_texts
+ {
+ setting_texts_resource = r_chat_set_message_color_items;
+ popped_up_texts_resource = r_chat_set_message_color_popup;
+ }
+
+RESOURCE ARRAY r_chat_set_message_color_items
+ {
+ items=
+ {
+ AVKON_ENUMERATED_TEXT
+ {
+ value = 0;
+ text = qtn_chat_set_colour_default;
+ },
+ AVKON_ENUMERATED_TEXT { value = 1; text = " "; }
+ };
+ }
+
+RESOURCE ARRAY r_chat_set_message_color_popup
+ {
+ items=
+ {
+ LBUF { txt = qtn_chat_set_colour_default; },
+ LBUF { txt = " "; }
+ };
+ }
+
+
+// default screen name
+RESOURCE AVKON_SETTING_PAGE r_chat_set_def_nick
+ {
+ type = EAknCtPopupSettingList;
+ label = qtn_chat_set_def_nick;
+ editor_resource_id = r_chat_set_def_nick_control;
+ softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+ }
+
+RESOURCE POPUP_SETTING_LIST r_chat_set_def_nick_control
+ {
+ }
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_chat_set_def_nick_texts
+ {
+ setting_texts_resource = r_chat_set_def_nick_items;
+ popped_up_texts_resource = r_chat_set_def_nick_items_popup;
+ }
+
+RESOURCE ARRAY r_chat_set_def_nick_items
+ {
+ items=
+ {
+ AVKON_ENUMERATED_TEXT { value = 0; text = qtn_chat_set_nick_off; },
+ AVKON_ENUMERATED_TEXT { value = 1; text = qtn_chat_set_nick_on; }
+ };
+ }
+
+RESOURCE ARRAY r_chat_set_def_nick_items_popup
+ {
+ items=
+ {
+ LBUF { txt = qtn_chat_set_nick_off; },
+ LBUF { txt = qtn_chat_set_nick_on; }
+ };
+ }
+
+RESOURCE AVKON_SETTING_PAGE r_chat_set_def_nick_edit
+ {
+ type = EEikCtEdwin;
+ label = qtn_chat_set_def_nick;
+ editor_resource_id = r_chat_set_def_nick_editor;
+ softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+ }
+
+RESOURCE EDWIN r_chat_set_def_nick_editor
+ {
+ flags = 0;
+ width = 9;
+ lines = 1;
+ maxlength = 10;
+ }
+
+
+// Authorize IM presence
+RESOURCE TBUF r_chatclient_appsettings_authorizeimpr_title
+ {
+ buf = qtn_chat_set_ownpresence;
+ }
+
+RESOURCE AVKON_SETTING_PAGE r_chat_set_authorizeimpr
+ {
+ type = EAknCtPopupSettingList;
+ editor_resource_id = r_chat_set_friendupd_control;
+ softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+ }
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_chat_set_authorizeimpr_texts
+ {
+ setting_texts_resource = r_chat_set_authorizeimpr_items;
+ popped_up_texts_resource = r_chat_set_authorizeimpr_popup;
+ }
+
+RESOURCE ARRAY r_chat_set_authorizeimpr_items
+ {
+ items=
+ {
+ AVKON_ENUMERATED_TEXT
+ {
+ value = 0; text = qtn_chat_set_presence_pub_on1;
+ },
+ AVKON_ENUMERATED_TEXT
+ {
+ value = 1; text = qtn_chat_set_presence_friends;
+ },
+ AVKON_ENUMERATED_TEXT
+ {
+ value = 2; text = qtn_chat_set_presence_pub_off1;
+ }
+ };
+ }
+
+RESOURCE ARRAY r_chat_set_authorizeimpr_popup
+ {
+ items=
+ {
+ LBUF { txt = qtn_chat_set_presence_pub_on1; },
+ LBUF { txt = qtn_chat_set_presence_friends; },
+ LBUF { txt = qtn_chat_set_presence_pub_off1; }
+ };
+ }
+
+
+// Receive instant messages
+RESOURCE TBUF r_chatclient_appsettings_receiveimessages_title
+ {
+ buf = qtn_chat_set_receive_mess;
+ }
+
+RESOURCE AVKON_SETTING_PAGE r_chat_set_receiveimessages
+ {
+ type = EAknCtPopupSettingList;
+ editor_resource_id = r_chat_set_friendupd_control;
+ softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+ }
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_chat_set_receiveimessages_texts
+ {
+ setting_texts_resource = r_chat_set_receiveimessages_items;
+ popped_up_texts_resource = r_chat_set_receiveimessages_popup;
+ }
+
+RESOURCE ARRAY r_chat_set_receiveimessages_items
+ {
+ items=
+ {
+ AVKON_ENUMERATED_TEXT { value = 0; text = qtn_chat_set_all1; },
+ AVKON_ENUMERATED_TEXT { value = 1; text = qtn_chat_set_from_friends1; },
+ AVKON_ENUMERATED_TEXT { value = 2; text = qtn_chat_set_none1; }
+ };
+ }
+
+RESOURCE ARRAY r_chat_set_receiveimessages_popup
+ {
+ items=
+ {
+ LBUF { txt = qtn_chat_set_all1; },
+ LBUF { txt = qtn_chat_set_from_friends1; },
+ LBUF { txt = qtn_chat_set_none1; }
+ };
+ }
+
+
+// Receive invitations
+RESOURCE TBUF r_chatclient_appsettings_receiveinvitations_title
+ {
+ buf = qtn_chat_set_receive_inv;
+ }
+
+RESOURCE AVKON_SETTING_PAGE r_chat_set_receiveinvitations
+ {
+ type = EAknCtPopupSettingList;
+ editor_resource_id = r_chat_set_friendupd_control;
+ softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+ }
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_chat_set_receiveinvitations_texts
+ {
+ setting_texts_resource = r_chat_set_receiveinvitations_items;
+ popped_up_texts_resource = r_chat_set_receiveinvitations_popup;
+ }
+
+RESOURCE ARRAY r_chat_set_receiveinvitations_items
+ {
+ items=
+ {
+ AVKON_ENUMERATED_TEXT { value = 0; text = qtn_chat_set_all2; },
+ AVKON_ENUMERATED_TEXT { value = 1; text = qtn_chat_set_from_friends2; },
+ AVKON_ENUMERATED_TEXT { value = 2; text = qtn_chat_set_none2; }
+ };
+ }
+
+RESOURCE ARRAY r_chat_set_receiveinvitations_popup
+ {
+ items=
+ {
+ LBUF { txt = qtn_chat_set_all2; },
+ LBUF { txt = qtn_chat_set_from_friends2; },
+ LBUF { txt = qtn_chat_set_none2; }
+ };
+ }
+
+
+//MESSAGE FLOW
+RESOURCE TBUF r_chatclient_appsettings_msgflow_title
+ {
+ buf = qtn_chat_set_msg_listp;
+ }
+
+RESOURCE AVKON_SETTING_PAGE r_chat_set_msgflow
+ {
+ type = EAknCtSlider;
+ label = qtn_chat_set_msg_listp;
+ editor_resource_id = r_chat_set_msgflow_control;
+ softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+ }
+
+RESOURCE SLIDER r_chat_set_msgflow_control
+ {
+ layout = EAknSettingsItemSliderLayout;
+ minvalue = 1;
+ maxvalue = 3;
+ step = 1;
+ valuetype = EAknSliderValueNone;
+ minlabel = qtn_chat_set_flow_slow;
+ maxlabel = qtn_chat_set_flow_fast;
+ }
+
+
+//ORDER IM CONTACTS
+
+RESOURCE TBUF r_chatclient_appsettings_ordercontacts_title
+ {
+ buf = qtn_chat_set_order_contacts;
+ }
+
+RESOURCE AVKON_SETTING_PAGE r_chat_set_ordercontacts
+ {
+ type = EAknCtPopupSettingList;
+ editor_resource_id = r_chat_set_ordercontacts_control;
+ softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+ }
+
+RESOURCE POPUP_SETTING_LIST r_chat_set_ordercontacts_control
+ {
+ }
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_chat_set_ordercontacts_texts
+ {
+ setting_texts_resource = r_chat_set_ordercontacts_items;
+ popped_up_texts_resource = r_chat_set_ordercontacts_popup;
+ }
+
+RESOURCE ARRAY r_chat_set_ordercontacts_items
+ {
+ items=
+ {
+ AVKON_ENUMERATED_TEXT { value = 1; text = qtn_chat_set_alpha; },
+ AVKON_ENUMERATED_TEXT { value = 0; text = qtn_chat_set_by_user_status; }
+ };
+ }
+
+RESOURCE ARRAY r_chat_set_ordercontacts_popup
+ {
+ items=
+ {
+ LBUF { txt = qtn_chat_set_alpha; },
+ LBUF { txt = qtn_chat_set_by_user_status; }
+ };
+ }
+
+
+
+//UPDATING FRIENDS
+RESOURCE TBUF r_chatclient_appsettings_friendupd_title
+ {
+ buf = qtn_chat_set_friendupd;
+ }
+
+RESOURCE AVKON_SETTING_PAGE r_chat_set_friendupd
+ {
+ type = EAknCtPopupSettingList;
+ editor_resource_id = r_chat_set_friendupd_control;
+ softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+ }
+
+RESOURCE POPUP_SETTING_LIST r_chat_set_friendupd_control
+ {
+ }
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_chat_set_friendupd_texts
+ {
+ setting_texts_resource = r_chat_set_friendupd_items;
+ popped_up_texts_resource = r_chat_set_friendupd_popup;
+ }
+
+RESOURCE ARRAY r_chat_set_friendupd_items
+ {
+ items=
+ {
+ AVKON_ENUMERATED_TEXT { value = 1; text = qtn_set_upfrend_auto; },
+ AVKON_ENUMERATED_TEXT { value = 0; text = qtn_set_upfrend_manu; }
+ };
+ }
+
+RESOURCE ARRAY r_chat_set_friendupd_popup
+ {
+ items=
+ {
+ LBUF { txt = qtn_set_upfrend_auto; },
+ LBUF { txt = qtn_set_upfrend_manu; }
+ };
+ }
+
+// SHOW TIMESTAMPS
+RESOURCE TBUF r_qtn_chat_settings_timestamp
+ {
+ buf = qtn_chat_settings_timestamp;
+ }
+
+RESOURCE AVKON_SETTING_PAGE r_chat_set_timestamp
+ {
+ type = EAknCtPopupSettingList;
+ editor_resource_id = r_chat_set_timestamp_control;
+ softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+ }
+
+RESOURCE POPUP_SETTING_LIST r_chat_set_timestamp_control
+ {
+ }
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_chat_set_timestamp_texts
+ {
+ setting_texts_resource = r_chat_set_timestamp_items;
+ popped_up_texts_resource = r_chat_set_timestamp_popup;
+ }
+
+RESOURCE ARRAY r_chat_set_timestamp_items
+ {
+ items=
+ {
+ AVKON_ENUMERATED_TEXT { value = 1; text = qtn_chat_settings_timestamp_yes; },
+ AVKON_ENUMERATED_TEXT { value = 0; text = qtn_chat_settings_timestamp_no; }
+ };
+ }
+
+RESOURCE ARRAY r_chat_set_timestamp_popup
+ {
+ items=
+ {
+ LBUF { txt = qtn_chat_settings_timestamp_yes; },
+ LBUF { txt = qtn_chat_settings_timestamp_no; }
+ };
+ }
+
+
+// show offline contacts
+RESOURCE TBUF r_qtn_chat_set_show_offline_contacts
+ {
+ buf = qtn_chat_set_show_offline_contacts;
+ }
+
+RESOURCE AVKON_SETTING_PAGE r_chat_set_show_offline
+ {
+ type = EAknCtPopupSettingList;
+ editor_resource_id = r_chat_set_show_offline_control;
+ softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
+ }
+
+RESOURCE POPUP_SETTING_LIST r_chat_set_show_offline_control
+ {
+ }
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_chat_set_show_offline_texts
+ {
+ setting_texts_resource = r_chat_set_show_offline_items;
+ popped_up_texts_resource = r_chat_set_show_offline_popup;
+ }
+
+RESOURCE ARRAY r_chat_set_show_offline_items
+ {
+ items=
+ {
+ AVKON_ENUMERATED_TEXT
+ {
+ value = 1; text = qtn_chat_set_show_offline_yes;
+ },
+ AVKON_ENUMERATED_TEXT
+ {
+ value = 0; text = qtn_chat_set_show_offline_no;
+ }
+ };
+ }
+
+RESOURCE ARRAY r_chat_set_show_offline_popup
+ {
+ items=
+ {
+ LBUF { txt = qtn_chat_set_show_offline_yes; },
+ LBUF { txt = qtn_chat_set_show_offline_no; }
+ };
+ }
+
+
+
+// contacts to be reloaded
+
+// SERVER SETTINGS
+
+RESOURCE TBUF r_qtn_chat_wait_savingsettings
+ {
+ buf = qtn_chat_wait_savingsettings;
+ }
+
+RESOURCE TBUF r_chat_audio_text_none { buf = qtn_tc_off; }
+
+RESOURCE TBUF r_chat_audio_text_select_tone { buf = qtn_tc_popup_heading; }
+
+RESOURCE TBUF r_chat_audio_setting_text { buf = qtn_chat_set_tone; }
+
+RESOURCE TBUF r_qtn_chat_set_watch_deactivated { buf = qtn_chat_set_watch_deactivated; }
+
+RESOURCE TBUF r_qtn_chat_settings_tone_invalid { buf = qtn_chat_settings_tone_invalid; }
+
+// code merge Nov 15 2006
+RESOURCE TBUF r_qtn_chat_set_colour_default { buf = qtn_chat_set_colour_default; }
+
+// End of File