26 flags = EVPbkContactViewFlagsNone; |
26 flags = EVPbkContactViewFlagsNone; |
27 subViews = {}; |
27 subViews = {}; |
28 } |
28 } |
29 |
29 |
30 // -------------------------------------------------------------------------- |
30 // -------------------------------------------------------------------------- |
31 // View definition |
31 // Avkon view definition |
32 // -------------------------------------------------------------------------- |
32 // -------------------------------------------------------------------------- |
33 // |
33 // |
34 RESOURCE AVKON_VIEW r_psu2_fixed_dialing_appview |
34 RESOURCE AVKON_VIEW r_psu2_fixed_dialing_appview |
35 { |
35 { |
36 menubar = r_psu2_fixed_dialing_menubar; |
36 menubar = r_psu2_fixed_dialing_menubar; |
61 { |
61 { |
62 menu_pane = r_psu2_fixed_dialing_menupane; |
62 menu_pane = r_psu2_fixed_dialing_menupane; |
63 }, |
63 }, |
64 MENU_TITLE |
64 MENU_TITLE |
65 { |
65 { |
66 menu_pane = R_PHONEBOOK2_CALL_MENU; |
66 menu_pane = R_PHONEBOOK2_STYLUS_CALL_MENU; |
67 }, |
67 }, |
68 MENU_TITLE |
68 MENU_TITLE |
69 { |
69 { |
70 menu_pane = r_psu2_fixed_dialing_open_menupane; |
70 menu_pane = r_psu2_fixed_dialing_open_menupane; |
71 } |
71 } |
72 }; |
72 }; |
73 } |
73 } |
74 |
74 |
75 // -------------------------------------------------------------------------- |
75 // -------------------------------------------------------------------------- |
76 // Context menubar |
76 // Context menu bar |
77 // -------------------------------------------------------------------------- |
77 // -------------------------------------------------------------------------- |
78 // |
78 // |
79 RESOURCE MENU_BAR r_psu2_fixed_dialing_context_menubar |
79 RESOURCE MENU_BAR r_psu2_fixed_dialing_context_menubar |
80 { |
80 { |
81 titles = |
81 titles = |
82 { |
82 { |
83 MENU_TITLE |
83 MENU_TITLE |
84 { |
84 { |
|
85 menu_pane = R_PHONEBOOK2_MARKABLE_LIST_CONTEXT_MENU; |
|
86 }, |
|
87 MENU_TITLE |
|
88 { |
85 menu_pane = r_psu2_fixed_dialing_copy_context_menupane; |
89 menu_pane = r_psu2_fixed_dialing_copy_context_menupane; |
86 }, |
90 }, |
87 MENU_TITLE |
91 MENU_TITLE |
88 { |
92 { |
89 menu_pane = r_psu2_fixed_dialing_newcontact_menupane; |
93 menu_pane = r_psu2_fixed_dialing_newcontact_menupane; |
90 }, |
94 }, |
91 MENU_TITLE |
95 MENU_TITLE |
92 { |
96 { |
93 menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST; |
|
94 }, |
|
95 MENU_TITLE |
|
96 { |
|
97 menu_pane = r_psu2_fixed_dialing_delete_menupane; |
97 menu_pane = r_psu2_fixed_dialing_delete_menupane; |
|
98 } |
|
99 }; |
|
100 } |
|
101 |
|
102 // -------------------------------------------------------------------------- |
|
103 // Menu pane |
|
104 // -------------------------------------------------------------------------- |
|
105 // |
|
106 RESOURCE MENU_PANE r_psu2_fixed_dialing_menupane |
|
107 { |
|
108 items= |
|
109 { |
|
110 MENU_ITEM |
|
111 { |
|
112 command = EPsu2CmdActivateFDN; |
|
113 txt = qtn_fdn_activate_fdn; |
|
114 }, |
|
115 MENU_ITEM |
|
116 { |
|
117 command = EPsu2CmdDeactivateFDN; |
|
118 txt = qtn_fdn_deactivate_fdn; |
|
119 }, |
|
120 MENU_ITEM |
|
121 { |
|
122 command = EPsu2CmdNewContact; |
|
123 txt = qtn_simp_opt_entry_create; |
|
124 }, |
|
125 MENU_ITEM |
|
126 { |
|
127 command = EPbk2CmdEditMe; |
|
128 txt = qtn_phob_opt_entry_edit; |
|
129 flags = EEikMenuItemSpecific; |
|
130 }, |
|
131 MENU_ITEM |
|
132 { |
|
133 command = EPbk2CmdDeleteMe; |
|
134 txt = qtn_phob_opt_entry_delete; |
|
135 flags = EEikMenuItemSpecific; |
98 } |
136 } |
99 }; |
137 }; |
100 } |
138 } |
101 |
139 |
102 // -------------------------------------------------------------------------- |
140 // -------------------------------------------------------------------------- |
146 } |
185 } |
147 }; |
186 }; |
148 } |
187 } |
149 |
188 |
150 // -------------------------------------------------------------------------- |
189 // -------------------------------------------------------------------------- |
151 // Menu pane |
|
152 // -------------------------------------------------------------------------- |
|
153 // |
|
154 RESOURCE MENU_PANE r_psu2_fixed_dialing_menupane |
|
155 { |
|
156 items= |
|
157 { |
|
158 MENU_ITEM |
|
159 { |
|
160 command = EPsu2CmdActivateFDN; |
|
161 txt = qtn_fdn_activate_fdn; |
|
162 }, |
|
163 MENU_ITEM |
|
164 { |
|
165 command = EPsu2CmdDeactivateFDN; |
|
166 txt = qtn_fdn_deactivate_fdn; |
|
167 }, |
|
168 MENU_ITEM |
|
169 { |
|
170 command = EPsu2CmdNewContact; |
|
171 txt = qtn_simp_opt_entry_create; |
|
172 }, |
|
173 MENU_ITEM |
|
174 { |
|
175 command = EPbk2CmdEditMe; |
|
176 txt = qtn_phob_opt_entry_edit; |
|
177 }, |
|
178 MENU_ITEM |
|
179 { |
|
180 command = EPbk2CmdDeleteMe; |
|
181 txt = qtn_phob_opt_entry_delete; |
|
182 } |
|
183 }; |
|
184 } |
|
185 |
|
186 // -------------------------------------------------------------------------- |
|
187 // Copy menu pane |
190 // Copy menu pane |
188 // -------------------------------------------------------------------------- |
191 // -------------------------------------------------------------------------- |
189 // |
192 // |
190 RESOURCE MENU_PANE r_psu2_fixed_dialing_copy_menupane |
193 RESOURCE MENU_PANE r_psu2_fixed_dialing_copy_menupane |
191 { |
194 { |
228 // Names list control |
232 // Names list control |
229 // -------------------------------------------------------------------------- |
233 // -------------------------------------------------------------------------- |
230 // |
234 // |
231 RESOURCE PBK2_CONTACT_CONTROL r_psu2_fixed_dialing_name_list_control |
235 RESOURCE PBK2_CONTACT_CONTROL r_psu2_fixed_dialing_name_list_control |
232 { |
236 { |
233 /// Flags |
237 // Flags |
234 flags = KPbk2ContactViewListControlUpdateContextPane | KPbk2ContactViewListControlFindBox; |
238 flags = KPbk2ContactViewListControlUpdateContextPane | KPbk2ContactViewListControlFindBox; |
235 /// Listbox resource |
239 // Listbox resource |
236 listbox = LISTBOX |
240 listbox = LISTBOX |
237 { |
241 { |
238 flags = EAknListBoxMarkableList|EAknListBoxLoopScrolling|EAknListBoxShiftEnterMarks; |
242 flags = EAknListBoxStylusMarkableList|EAknListBoxLoopScrolling; |
239 }; |
243 }; |
240 /// Optional link to an icon array resource, see PBK2_ICON_ARRAY |
244 // Optional link to an icon array resource, see PBK2_ICON_ARRAY |
241 iconArray = R_PBK2_FIELDTYPE_ICONS; |
245 iconArray = R_PBK2_FIELDTYPE_ICONS; |
242 /// Empty icon id in iconArray(s) |
246 // Empty icon id in iconArray(s) |
243 emptyIconId = PHONEBOOK2_ICON_ID |
247 emptyIconId = PHONEBOOK2_ICON_ID |
244 { |
248 { |
245 ownerUid = KPbk2UID3; |
249 ownerUid = KPbk2UID3; |
246 id = EPbk2qgn_prop_nrtyp_empty; |
250 id = EPbk2qgn_prop_nrtyp_empty; |
247 }; |
251 }; |
310 // |
314 // |
311 RESOURCE VPBK_FIELD_TYPE_MAPPING_LIST r_psu2_fdn_name_display_order |
315 RESOURCE VPBK_FIELD_TYPE_MAPPING_LIST r_psu2_fdn_name_display_order |
312 { |
316 { |
313 items = |
317 items = |
314 { |
318 { |
|
319 /// Top contact indicator / Top contact internal order |
|
320 VPBK_FIELD_TYPE_MAPPING |
|
321 { |
|
322 versitProperty = VBK_FIELD_VERSIT_PROPERTY |
|
323 { |
|
324 name = EVPbkVersitNameTopContact; |
|
325 }; |
|
326 }, |
315 // Last name |
327 // Last name |
316 VPBK_FIELD_TYPE_MAPPING |
328 VPBK_FIELD_TYPE_MAPPING |
317 { |
329 { |
318 versitProperty = VBK_FIELD_VERSIT_PROPERTY |
330 versitProperty = VBK_FIELD_VERSIT_PROPERTY |
319 { |
331 { |
375 // |
387 // |
376 RESOURCE VPBK_FIELD_TYPE_SELECTOR r_psu2_fdn_title_field_selector |
388 RESOURCE VPBK_FIELD_TYPE_SELECTOR r_psu2_fdn_title_field_selector |
377 { |
389 { |
378 versitProperties = |
390 versitProperties = |
379 { |
391 { |
380 /// Last name |
392 // Last name |
381 VBK_FIELD_VERSIT_PROPERTY |
393 VBK_FIELD_VERSIT_PROPERTY |
382 { |
394 { |
383 name = EVPbkVersitNameN; |
395 name = EVPbkVersitNameN; |
384 subField = EVPbkVersitSubFieldFamilyName; |
396 subField = EVPbkVersitSubFieldFamilyName; |
385 }, |
397 }, |
386 /// SIM GSM number = general mobile |
398 // SIM GSM number = general mobile |
387 VBK_FIELD_VERSIT_PROPERTY |
399 VBK_FIELD_VERSIT_PROPERTY |
388 { |
400 { |
389 name = EVPbkVersitNameTEL; |
401 name = EVPbkVersitNameTEL; |
390 parameters = |
402 parameters = { EVPbkVersitParamCELL }; |
391 { |
|
392 EVPbkVersitParamCELL |
|
393 }; |
|
394 } |
403 } |
395 }; |
404 }; |
396 nonVersitType = |
405 nonVersitType = |
397 { |
406 { |
398 EVPbkNonVersitTypeGenericLabel |
407 EVPbkNonVersitTypeGenericLabel |