|
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 fetch resources. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <pbk2icons.hrh> |
|
20 |
|
21 // -------------------------------------------------------------------------- |
|
22 // Navi pane label for single entry fetch |
|
23 // -------------------------------------------------------------------------- |
|
24 // |
|
25 RESOURCE NAVI_DECORATOR r_pbk2_single_entry_fetch_navilabel |
|
26 { |
|
27 type = ENaviDecoratorLabel; |
|
28 control = NAVI_LABEL |
|
29 { |
|
30 txt = qtn_phob_navi_select_one_entry; |
|
31 }; |
|
32 } |
|
33 |
|
34 // -------------------------------------------------------------------------- |
|
35 // Single entry fetch resource |
|
36 // -------------------------------------------------------------------------- |
|
37 // |
|
38 RESOURCE PBK2_FETCH_DIALOG r_pbk2_single_entry_fetch_dlg |
|
39 { |
|
40 dialog = r_pbk2_single_entry_fetch_control_dlg; |
|
41 cba = r_pbk2_softkeys_select_back_select; |
|
42 emptyCba = r_pbk2_softkeys_empty_back_empty; |
|
43 navi_pane = r_pbk2_single_entry_fetch_navilabel; |
|
44 } |
|
45 |
|
46 // -------------------------------------------------------------------------- |
|
47 // Multiple entry fetch resource with groups tab |
|
48 // -------------------------------------------------------------------------- |
|
49 // |
|
50 RESOURCE PBK2_FETCH_DIALOG r_pbk2_multiple_entry_fetch_dlg |
|
51 { |
|
52 dialog = r_pbk2_multiple_entry_fetch_control_dlg; |
|
53 cba = r_pbk2_softkeys_ok_back_ok; |
|
54 emptyCba = r_pbk2_softkeys_empty_back_empty; |
|
55 } |
|
56 |
|
57 // -------------------------------------------------------------------------- |
|
58 // Multiple entry fetch resource without groups tab |
|
59 // -------------------------------------------------------------------------- |
|
60 // |
|
61 RESOURCE PBK2_FETCH_DIALOG r_pbk2_multiple_entry_fetch_no_groups_dlg |
|
62 { |
|
63 dialog = r_pbk2_multiple_entry_fetch_no_groups_control_dlg; |
|
64 cba = r_pbk2_softkeys_ok_back_ok; |
|
65 emptyCba = r_pbk2_softkeys_empty_back_empty; |
|
66 } |
|
67 |
|
68 // -------------------------------------------------------------------------- |
|
69 // Call item fetch resource |
|
70 // -------------------------------------------------------------------------- |
|
71 // |
|
72 RESOURCE PBK2_FETCH_DIALOG r_pbk2_call_item_fetch_dlg |
|
73 { |
|
74 dialog = r_pbk2_single_entry_fetch_control_dlg; |
|
75 cba = r_pbk2_softkeys_call_back_call; |
|
76 emptyCba = r_pbk2_softkeys_empty_back_empty; |
|
77 navi_pane = r_pbk2_single_entry_fetch_navilabel; |
|
78 } |
|
79 |
|
80 // -------------------------------------------------------------------------- |
|
81 // Single entry fetch dialog |
|
82 // -------------------------------------------------------------------------- |
|
83 // |
|
84 RESOURCE DIALOG r_pbk2_single_entry_fetch_control_dlg |
|
85 { |
|
86 flags = PBK2_FETCHDIALOG_FLAGS; |
|
87 pages = 0; // Single page |
|
88 buttons = r_pbk2_softkeys_empty_back_empty; |
|
89 items = |
|
90 { |
|
91 DLG_LINE |
|
92 { |
|
93 type = EPbk2CtNamesContactViewList; |
|
94 id = ECtrlFetchNamesList; |
|
95 itemflags = EEikDlgItemTakesEnterKey | |
|
96 EEikDlgItemOfferAllHotKeys; |
|
97 control = PBK2_CONTACT_CONTROL |
|
98 { |
|
99 flags = KPbk2ContactViewListControlUpdateContextPane | |
|
100 KPbk2ContactViewListControlFindBox; |
|
101 listbox = LISTBOX |
|
102 { |
|
103 flags = EAknListBoxLoopScrolling; |
|
104 }; |
|
105 iconArray = r_pbk2_contact_list_icons; |
|
106 emptyIconId = PHONEBOOK2_ICON_ID |
|
107 { |
|
108 ownerUid = KPbk2UID3; |
|
109 id = EPbk2qgn_prop_nrtyp_empty; |
|
110 }; |
|
111 defaultIconId = PHONEBOOK2_ICON_ID {}; |
|
112 }; |
|
113 } |
|
114 }; |
|
115 } |
|
116 |
|
117 // -------------------------------------------------------------------------- |
|
118 // Multiple entry fetch with groups dialog |
|
119 // -------------------------------------------------------------------------- |
|
120 // |
|
121 RESOURCE DIALOG r_pbk2_multiple_entry_fetch_control_dlg |
|
122 { |
|
123 flags = PBK2_FETCHDIALOG_FLAGS; |
|
124 pages = r_pbk2_multiple_entry_fetch_dlg_pages; |
|
125 buttons = r_pbk2_softkeys_empty_back_empty; |
|
126 } |
|
127 |
|
128 // -------------------------------------------------------------------------- |
|
129 // Multiple entry fetch without groups dialog |
|
130 // -------------------------------------------------------------------------- |
|
131 // |
|
132 RESOURCE DIALOG r_pbk2_multiple_entry_fetch_no_groups_control_dlg |
|
133 { |
|
134 flags = PBK2_FETCHDIALOG_FLAGS; |
|
135 pages = r_pbk2_multiple_entry_fetch_no_groups_dlg_pages; |
|
136 buttons = r_pbk2_softkeys_empty_back_empty; |
|
137 } |
|
138 |
|
139 // -------------------------------------------------------------------------- |
|
140 // Multiple entry fetch with groups dialog pages |
|
141 // -------------------------------------------------------------------------- |
|
142 // |
|
143 RESOURCE ARRAY r_pbk2_multiple_entry_fetch_dlg_pages |
|
144 { |
|
145 items = |
|
146 { |
|
147 PAGE |
|
148 { |
|
149 id = ECtrlFetchNamesList; |
|
150 bmpfile = phonebook2_mbm_file_location; |
|
151 bmpid = qgn_prop_nrtyp_empty; // Tab skinning handles icons |
|
152 bmpmask = qgn_prop_nrtyp_empty_mask; // Tab skinning handles icons |
|
153 lines = r_pbk2_multiple_entry_fetch_contactview; |
|
154 }, |
|
155 PAGE |
|
156 { |
|
157 id = ECtrlFetchGroupsList; |
|
158 bmpfile = phonebook2_mbm_file_location; |
|
159 bmpid = qgn_prop_nrtyp_empty; // Tab skinning handles icons |
|
160 bmpmask = qgn_prop_nrtyp_empty_mask; // Tab skinning handles icons |
|
161 lines = r_pbk2_multiple_entry_fetch_groupsview; |
|
162 } |
|
163 }; |
|
164 } |
|
165 // -------------------------------------------------------------------------- |
|
166 // Multiple entry fetch without groups dialog pages |
|
167 // -------------------------------------------------------------------------- |
|
168 // |
|
169 RESOURCE ARRAY r_pbk2_multiple_entry_fetch_no_groups_dlg_pages |
|
170 { |
|
171 items = |
|
172 { |
|
173 PAGE |
|
174 { |
|
175 id = ECtrlFetchNamesList; |
|
176 bmpfile = phonebook2_mbm_file_location; |
|
177 bmpid = qgn_prop_pb_all_tab2; |
|
178 bmpmask = qgn_prop_pb_all_tab2_mask; |
|
179 lines = r_pbk2_multiple_entry_fetch_contactview; |
|
180 } |
|
181 }; |
|
182 } |
|
183 |
|
184 // -------------------------------------------------------------------------- |
|
185 // Multiple entry fetch dialog page lines - contacts list |
|
186 // -------------------------------------------------------------------------- |
|
187 // |
|
188 RESOURCE ARRAY r_pbk2_multiple_entry_fetch_contactview |
|
189 { |
|
190 items = |
|
191 { |
|
192 DLG_LINE |
|
193 { |
|
194 type = EPbk2CtNamesContactViewList; |
|
195 id = ECtrlFetchNamesList; |
|
196 itemflags = EEikDlgItemTakesEnterKey | |
|
197 EEikDlgItemOfferAllHotKeys; |
|
198 control = PBK2_CONTACT_CONTROL |
|
199 { |
|
200 flags = KPbk2ContactViewListControlUpdateContextPane | |
|
201 KPbk2ContactViewListControlFindBox; |
|
202 listbox = LISTBOX |
|
203 { |
|
204 flags = EAknListBoxMultiselectionList | |
|
205 EAknListBoxLoopScrolling; |
|
206 }; |
|
207 iconArray = r_pbk2_checkbox_icons; |
|
208 emptyIconId = PHONEBOOK2_ICON_ID |
|
209 { |
|
210 ownerUid = KPbk2UID3; |
|
211 id = EPbk2qgn_prop_checkbox_off; |
|
212 }; |
|
213 defaultIconId = PHONEBOOK2_ICON_ID |
|
214 { |
|
215 ownerUid = KPbk2UID3; |
|
216 id = EPbk2qgn_prop_checkbox_off; |
|
217 }; |
|
218 }; |
|
219 } |
|
220 }; |
|
221 } |
|
222 |
|
223 // -------------------------------------------------------------------------- |
|
224 // Multiple entry fetch dialog page lines - groups list |
|
225 // -------------------------------------------------------------------------- |
|
226 // |
|
227 RESOURCE ARRAY r_pbk2_multiple_entry_fetch_groupsview |
|
228 { |
|
229 items = |
|
230 { |
|
231 DLG_LINE |
|
232 { |
|
233 type = EPbk2CtGroupsContactViewList; |
|
234 id = ECtrlFetchGroupsList; |
|
235 itemflags = EEikDlgItemTakesEnterKey | |
|
236 EEikDlgItemOfferAllHotKeys; |
|
237 control = PBK2_CONTACT_CONTROL |
|
238 { |
|
239 flags = KPbk2ContactViewListControlUpdateContextPane; |
|
240 listbox = LISTBOX |
|
241 { |
|
242 flags = EAknListBoxMultiselectionList | |
|
243 EAknListBoxLoopScrolling; |
|
244 }; |
|
245 iconArray = r_pbk2_checkbox_icons; |
|
246 emptyIconId = PHONEBOOK2_ICON_ID |
|
247 { |
|
248 ownerUid = KPbk2UID3; |
|
249 id = EPbk2qgn_prop_checkbox_off; |
|
250 }; |
|
251 defaultIconId = PHONEBOOK2_ICON_ID |
|
252 { |
|
253 ownerUid = KPbk2UID3; |
|
254 id = EPbk2qgn_prop_checkbox_off; |
|
255 }; |
|
256 }; |
|
257 } |
|
258 }; |
|
259 } |
|
260 |
|
261 // End of File |