phonebookui/Phonebook2/GroupExtension/rss/PguListView.rss
branchRCL_3
changeset 63 f4a778e096c2
child 64 c1e8ba0c2b16
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/phonebookui/Phonebook2/GroupExtension/rss/PguListView.rss	Wed Sep 01 12:29:52 2010 +0100
@@ -0,0 +1,181 @@
+/*
+* Copyright (c) 2002-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: 
+*     This file contains all the resources for Phonebook 2 groups list view.
+*
+*/
+
+
+#include <VPbkFieldType.rh>
+
+// ---------------------------------------------------------
+// Groups List View's main resource
+// ---------------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_phonebook2_groupslist_appview
+    {
+    menubar = r_phonebook2_groupslist_menubar;
+    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
+    }
+
+// ---------------------------------------------------------
+// Groups List View's main menu pane
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_phonebook2_groupslist_menu
+    {
+    items=
+        {
+        MENU_ITEM
+            {
+            command = EPbk2CmdOpenGroup;
+            txt = qtn_fldr_open_group;
+            flags = EEikMenuItemAction;
+            },
+        MENU_ITEM
+            {
+            command = EPbk2CmdWriteGroup;
+            txt = qtn_phob_opt_send;
+            flags = EEikMenuItemSpecific;
+            },            
+        MENU_ITEM
+            {
+            command = EPbk2CmdCreateNewGroup;
+            txt = qtn_fldr_new_group;
+            },
+        MENU_ITEM
+            {
+            command = EPbk2CmdRenameGroup;
+            txt = qtn_fldr_rename_group;
+            flags = EEikMenuItemSpecific;
+            },
+        MENU_ITEM
+            {
+            command = EPbk2CmdSetToneToGroup;
+            txt = qtn_phob_opt_group_rtone;
+            flags = EEikMenuItemSpecific;
+            },
+        MENU_ITEM
+             {
+             command = EPbk2CmdRemoveGroup;
+             txt = qtn_fldr_delete_group;
+             flags = EEikMenuItemSpecific;
+             }
+        };
+    }
+
+// ---------------------------------------------------------
+// Groups List View's menu bar
+// ---------------------------------------------------------
+//
+RESOURCE MENU_BAR r_phonebook2_groupslist_menubar
+    {
+    titles = 
+        {
+        MENU_TITLE
+            {
+            menu_pane = R_PHONEBOOK2_SYSTEM_MENU;
+            },
+        MENU_TITLE
+            {
+            menu_pane = R_PHONEBOOK2_SETTINGS_MENU;
+            },
+        MENU_TITLE
+            {
+            menu_pane = R_PHONEBOOK2_INFO_MENU;
+            },
+        MENU_TITLE
+            {
+            menu_pane = r_phonebook2_groupslist_menu;
+            },
+        MENU_TITLE
+            {
+            menu_pane = R_PHONEBOOK2_GROUPVIEWS_POC_MENU;
+            }                                
+        };
+    }
+
+// ---------------------------------------------------------
+// Groups List View's context menu
+// ---------------------------------------------------------
+//
+RESOURCE MENU_PANE r_phonebook2_grouplist_context_menu
+    {
+    items=
+        {
+        MENU_ITEM
+            {
+            command = EPbk2CmdCreateNewGroup;
+            txt = qtn_fldr_new_group;
+            }
+        };
+    }
+
+// ---------------------------------------------------------
+// Groups List View's context menu bar
+// ---------------------------------------------------------
+//
+RESOURCE MENU_BAR r_phonebook2_grouplist_context_menubar
+    {
+    titles = 
+        {
+        MENU_TITLE
+            {
+            menu_pane = R_PHONEBOOK2_SETTINGS_MENU;
+            },
+        MENU_TITLE
+            {
+            menu_pane = r_phonebook2_grouplist_context_menu;
+            }
+        };
+    }
+        
+// ---------------------------------------------------------
+// Groups list control
+// ---------------------------------------------------------
+//
+RESOURCE PBK2_CONTACT_CONTROL r_pbk2_groups_list_control
+    {
+    flags = KPbk2ContactViewListControlUpdateContextPane;
+    listbox = LISTBOX
+        {
+        flags = EAknListBoxLoopScrolling;
+        };
+    iconArray = R_PBK2_FIELDTYPE_ICONS;
+	emptyIconId = PHONEBOOK2_ICON_ID
+        {
+        ownerUid = KPbk2UID3;
+        id = EPbk2qgn_prop_nrtyp_empty;
+        };
+	defaultIconId = PHONEBOOK2_ICON_ID {};
+    }       
+    
+// --------------------------------------------------------------------------
+// Group display order definition
+// --------------------------------------------------------------------------
+//
+RESOURCE VPBK_FIELD_TYPE_MAPPING_LIST r_group_display_order
+    {
+    items =
+        {
+        /// Generic label
+        VPBK_FIELD_TYPE_MAPPING
+            {
+            versitProperty = VBK_FIELD_VERSIT_PROPERTY {};
+            nonVersitType = EVPbkNonVersitTypeGenericLabel;
+            }
+        };
+    }    
+       
+// End of File