--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookui/Phonebook2/USIMExtension/rss/Pbk2USimFixedDialingView.rss Tue Feb 02 10:12:17 2010 +0200
@@ -0,0 +1,402 @@
+/*
+* Copyright (c) 2005-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: Phonebook 2 fixed dialing view definition.
+*
+*/
+
+
+// --------------------------------------------------------------------------
+// FDN contact view
+// --------------------------------------------------------------------------
+//
+RESOURCE VPBK_CONTACT_VIEW r_psu2_fdn_contacts_view
+ {
+ uri = KVPBK_SIM_GLOBAL_FDN_URI;
+ flags = EVPbkContactViewFlagsNone;
+ subViews = {};
+ }
+
+// --------------------------------------------------------------------------
+// View definition
+// --------------------------------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_psu2_fixed_dialing_appview
+ {
+ menubar = r_psu2_fixed_dialing_menubar;
+ cba = R_AVKON_SOFTKEYS_BACK;
+ }
+
+// --------------------------------------------------------------------------
+// Menu bar
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_BAR r_psu2_fixed_dialing_menubar
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = R_PHONEBOOK2_SYSTEM_MENU;
+ },
+ MENU_TITLE
+ {
+ menu_pane = r_psu2_fixed_dialing_copy_menupane;
+ },
+ MENU_TITLE
+ {
+ menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST;
+ },
+ MENU_TITLE
+ {
+ menu_pane = r_psu2_fixed_dialing_menupane;
+ },
+ MENU_TITLE
+ {
+ menu_pane = R_PHONEBOOK2_CALL_MENU;
+ },
+ MENU_TITLE
+ {
+ menu_pane = r_psu2_fixed_dialing_open_menupane;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Context menubar
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_BAR r_psu2_fixed_dialing_context_menubar
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_psu2_fixed_dialing_copy_context_menupane;
+ },
+ MENU_TITLE
+ {
+ menu_pane = r_psu2_fixed_dialing_newcontact_menupane;
+ },
+ MENU_TITLE
+ {
+ menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST;
+ },
+ MENU_TITLE
+ {
+ menu_pane = r_psu2_fixed_dialing_delete_menupane;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Open menu pane
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_psu2_fixed_dialing_open_menupane
+ {
+ items=
+ {
+ MENU_ITEM
+ {
+ command = EPsu2CmdOpenFixedDialingInfoView;
+ txt = qtn_simp_opt_entry_view;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Delete menu pane
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_psu2_fixed_dialing_delete_menupane
+ {
+ items=
+ {
+ MENU_ITEM
+ {
+ command = EPbk2CmdDeleteMe;
+ txt = qtn_phob_opt_entry_delete;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// New contact menu pane
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_psu2_fixed_dialing_newcontact_menupane
+ {
+ items=
+ {
+ MENU_ITEM
+ {
+ command = EPsu2CmdNewContact;
+ txt = qtn_simp_opt_entry_create;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Menu pane
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_psu2_fixed_dialing_menupane
+ {
+ items=
+ {
+ MENU_ITEM
+ {
+ command = EPsu2CmdActivateFDN;
+ txt = qtn_fdn_activate_fdn;
+ },
+ MENU_ITEM
+ {
+ command = EPsu2CmdDeactivateFDN;
+ txt = qtn_fdn_deactivate_fdn;
+ },
+ MENU_ITEM
+ {
+ command = EPsu2CmdNewContact;
+ txt = qtn_simp_opt_entry_create;
+ },
+ MENU_ITEM
+ {
+ command = EPbk2CmdEditMe;
+ txt = qtn_phob_opt_entry_edit;
+ },
+ MENU_ITEM
+ {
+ command = EPbk2CmdDeleteMe;
+ txt = qtn_phob_opt_entry_delete;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Copy menu pane
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_psu2_fixed_dialing_copy_menupane
+ {
+ items=
+ {
+ MENU_ITEM
+ {
+ command = EPbk2CmdCopy;
+ txt = qtn_simp_opt_copy_to_pb;
+ },
+ MENU_ITEM
+ {
+ command = EPsu2CmdCopyFromContacts;
+ txt = qtn_fdn_opt_copy_from_pb;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Copy context menu pane
+// --------------------------------------------------------------------------
+//
+RESOURCE MENU_PANE r_psu2_fixed_dialing_copy_context_menupane
+ {
+ items=
+ {
+ MENU_ITEM
+ {
+ command = EPbk2CmdCopy;
+ txt = qtn_simp_opt_copy_to_pb;
+ },
+ MENU_ITEM
+ {
+ command = EPsu2CmdCopyFromContacts;
+ txt = qtn_fdn_opt_copy_from_pb;
+ }
+ };
+ }
+// --------------------------------------------------------------------------
+// Names list control
+// --------------------------------------------------------------------------
+//
+RESOURCE PBK2_CONTACT_CONTROL r_psu2_fixed_dialing_name_list_control
+ {
+ /// Flags
+ flags = KPbk2ContactViewListControlUpdateContextPane | KPbk2ContactViewListControlFindBox;
+ /// Listbox resource
+ listbox = LISTBOX
+ {
+ flags = EAknListBoxMarkableList|EAknListBoxLoopScrolling|EAknListBoxShiftEnterMarks;
+ };
+ /// Optional link to an icon array resource, see PBK2_ICON_ARRAY
+ iconArray = R_PBK2_FIELDTYPE_ICONS;
+ /// Empty icon id in iconArray(s)
+ emptyIconId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2UID3;
+ id = EPbk2qgn_prop_nrtyp_empty;
+ };
+ defaultIconId = PHONEBOOK2_ICON_ID
+ {
+ ownerUid = KPbk2UID3;
+ id = EPbk2qgn_prop_nrtyp_phone;
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Tabs
+// --------------------------------------------------------------------------
+//
+RESOURCE PBK2_VIEW_NODE_TAB_ARRAY r_psu2_fixed_dialing_view_tabs
+ {
+ items =
+ {
+ PBK2_VIEW_NODE_TAB
+ {
+ version = 0;
+ tabsInGroup = 1;
+ tab = r_psu2_fixed_dialing_view_tab1;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Tab
+// --------------------------------------------------------------------------
+//
+RESOURCE TAB r_psu2_fixed_dialing_view_tab1
+ {
+ id = EPsu2FixedDialingViewId;
+ }
+
+// --------------------------------------------------------------------------
+// A dialog for asking fixed dialling phone number
+// --------------------------------------------------------------------------
+//
+RESOURCE DIALOG r_psu2_fdn_numberquery_dialog
+ {
+ flags= EAknGeneralQueryFlags;
+ buttons=R_PBK2_SOFTKEYS_CALL_CANCEL_CALL;
+ items=
+ {
+ DLG_LINE
+ {
+ type=EAknCtQuery;
+ id=EGeneralQuery;
+ control=AVKON_DATA_QUERY
+ {
+ layout = EPhoneLayout;
+ label = qtn_fdn_enter_number_to_call;
+ control= EDWIN
+ {
+ };
+ };
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Name formatting field types
+// --------------------------------------------------------------------------
+//
+RESOURCE VPBK_FIELD_TYPE_MAPPING_LIST r_psu2_fdn_name_display_order
+ {
+ items =
+ {
+ // Last name
+ VPBK_FIELD_TYPE_MAPPING
+ {
+ versitProperty = VBK_FIELD_VERSIT_PROPERTY
+ {
+ name = EVPbkVersitNameN;
+ subField = EVPbkVersitSubFieldFamilyName;
+ };
+ },
+ // First name
+ VPBK_FIELD_TYPE_MAPPING
+ {
+ versitProperty = VBK_FIELD_VERSIT_PROPERTY
+ {
+ name = EVPbkVersitNameN;
+ subField = EVPbkVersitSubFieldGivenName;
+ };
+ },
+ /// Last name reading
+ VPBK_FIELD_TYPE_MAPPING
+ {
+ versitProperty = VBK_FIELD_VERSIT_PROPERTY
+ {
+ name = EVPbkVersitNameSOUND;
+ subField = EVPbkVersitSubFieldFamilyNamePronunciation;
+ };
+ },
+ /// First name reading
+ VPBK_FIELD_TYPE_MAPPING
+ {
+ versitProperty = VBK_FIELD_VERSIT_PROPERTY
+ {
+ name = EVPbkVersitNameSOUND;
+ subField = EVPbkVersitSubFieldGivenNamePronunciation;
+ };
+ },
+ // SIM GSM number = general mobile
+ VPBK_FIELD_TYPE_MAPPING
+ {
+ versitProperty = VBK_FIELD_VERSIT_PROPERTY
+ {
+ name = EVPbkVersitNameTEL;
+ parameters =
+ {
+ EVPbkVersitParamCELL
+ };
+ };
+ },
+ // Generic label
+ VPBK_FIELD_TYPE_MAPPING
+ {
+ versitProperty = VBK_FIELD_VERSIT_PROPERTY {};
+ nonVersitType = EVPbkNonVersitTypeGenericLabel;
+ }
+ };
+ }
+
+// --------------------------------------------------------------------------
+// Title field selector
+// --------------------------------------------------------------------------
+//
+RESOURCE VPBK_FIELD_TYPE_SELECTOR r_psu2_fdn_title_field_selector
+ {
+ versitProperties =
+ {
+ /// Last name
+ VBK_FIELD_VERSIT_PROPERTY
+ {
+ name = EVPbkVersitNameN;
+ subField = EVPbkVersitSubFieldFamilyName;
+ },
+ /// SIM GSM number = general mobile
+ VBK_FIELD_VERSIT_PROPERTY
+ {
+ name = EVPbkVersitNameTEL;
+ parameters =
+ {
+ EVPbkVersitParamCELL
+ };
+ }
+ };
+ nonVersitType =
+ {
+ EVPbkNonVersitTypeGenericLabel
+ };
+ }
+
+// End of File