|
1 /* |
|
2 * Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Phonebook 2 Group members list view base |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // --------------------------------------------------------- |
|
20 // Groups Members View's main resource |
|
21 // --------------------------------------------------------- |
|
22 // |
|
23 RESOURCE AVKON_VIEW r_phonebook2_groupmembers_appview |
|
24 { |
|
25 menubar = r_phonebook2_groupmembers_menubar; |
|
26 cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
27 } |
|
28 |
|
29 // --------------------------------------------------------- |
|
30 // Groups Members View's main menu pane |
|
31 // --------------------------------------------------------- |
|
32 // |
|
33 RESOURCE MENU_PANE r_phonebook2_groupmembers_menu |
|
34 { |
|
35 items= |
|
36 { |
|
37 MENU_ITEM |
|
38 { |
|
39 command = EPbk2CmdRemoveFromGroup; |
|
40 txt = qtn_phob_opt_entry_rem_from_grp; |
|
41 flags = EEikMenuItemSpecific; |
|
42 }, |
|
43 MENU_ITEM |
|
44 { |
|
45 command = EPbk2CmdBelongsToGroups; |
|
46 txt = qtn_phob_opt_entry_is_in_grp; |
|
47 flags = EEikMenuItemSpecific; |
|
48 }, |
|
49 MENU_ITEM |
|
50 { |
|
51 command = EPbk2CmdAddMembers; |
|
52 txt = qtn_phob_opt_fetch_members; |
|
53 } |
|
54 }; |
|
55 } |
|
56 |
|
57 // --------------------------------------------------------- |
|
58 // Groups Members View's context menu bar |
|
59 // --------------------------------------------------------- |
|
60 // |
|
61 RESOURCE MENU_PANE r_phonebook2_groupmembers_markable_list_menu |
|
62 { |
|
63 items = |
|
64 { |
|
65 MENU_ITEM |
|
66 { |
|
67 command = EAknCmdMark; |
|
68 txt = qtn_options_list_mark_one; |
|
69 flags = EEikMenuItemSpecific; |
|
70 }, |
|
71 MENU_ITEM |
|
72 { |
|
73 command = EAknCmdUnmark; |
|
74 txt = qtn_options_list_unmark_one; |
|
75 flags = EEikMenuItemSpecific; |
|
76 }, |
|
77 MENU_ITEM |
|
78 { |
|
79 command = EAknMarkAll; |
|
80 txt = qtn_options_list_mark_all; |
|
81 }, |
|
82 MENU_ITEM |
|
83 { |
|
84 command = EAknUnmarkAll; |
|
85 txt = qtn_options_list_unmark_all; |
|
86 } |
|
87 }; |
|
88 } |
|
89 |
|
90 // --------------------------------------------------------- |
|
91 // Groups Members View's menu bar |
|
92 // --------------------------------------------------------- |
|
93 // |
|
94 RESOURCE MENU_BAR r_phonebook2_groupmembers_menubar |
|
95 { |
|
96 titles = |
|
97 { |
|
98 MENU_TITLE |
|
99 { |
|
100 menu_pane = R_PHONEBOOK2_SYSTEM_MENU; |
|
101 }, |
|
102 MENU_TITLE |
|
103 { |
|
104 menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST; |
|
105 }, |
|
106 MENU_TITLE |
|
107 { |
|
108 menu_pane = R_PHONEBOOK2_BCARD_SEND_MENU; |
|
109 }, |
|
110 MENU_TITLE |
|
111 { |
|
112 menu_pane = r_phonebook2_groupmembers_menu; |
|
113 }, |
|
114 MENU_TITLE |
|
115 { |
|
116 menu_pane = R_PHONEBOOK2_OPEN_CCA; |
|
117 } |
|
118 }; |
|
119 } |
|
120 |
|
121 // --------------------------------------------------------- |
|
122 // Groups Members View's context menu pane |
|
123 // --------------------------------------------------------- |
|
124 // |
|
125 RESOURCE MENU_PANE r_phonebook2_groupmembers_context_menu |
|
126 { |
|
127 items= |
|
128 { |
|
129 MENU_ITEM |
|
130 { |
|
131 command = EPbk2CmdRemoveFromGroup; |
|
132 txt = qtn_phob_opt_entry_rem_from_grp; |
|
133 }, |
|
134 MENU_ITEM |
|
135 { |
|
136 command = EPbk2CmdAddMembers; |
|
137 txt = qtn_phob_opt_fetch_members; |
|
138 } |
|
139 |
|
140 }; |
|
141 } |
|
142 |
|
143 // --------------------------------------------------------- |
|
144 // Groups Members View's context menu bar |
|
145 // --------------------------------------------------------- |
|
146 // |
|
147 RESOURCE MENU_BAR r_phonebook2_groupmembers_context_menubar |
|
148 { |
|
149 titles = |
|
150 { |
|
151 MENU_TITLE |
|
152 { |
|
153 menu_pane = R_PHONEBOOK2_MARKABLE_LIST_CONTEXT_MENU; |
|
154 }, |
|
155 MENU_TITLE |
|
156 { |
|
157 menu_pane = R_PHONEBOOK2_BCARD_SEND_MENU; |
|
158 }, |
|
159 MENU_TITLE |
|
160 { |
|
161 menu_pane = r_phonebook2_groupmembers_context_menu; |
|
162 } |
|
163 }; |
|
164 } |
|
165 |
|
166 // End of File |