1 /* |
|
2 * Copyright (c) 2002 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: Profiles Settings View resources |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // RESOURCE IDENTIFIER |
|
21 NAME PRO2 |
|
22 |
|
23 // INTERNAL INCLUDES |
|
24 #include <profileapp.loc> |
|
25 #include <profile.loc> |
|
26 #include "ProfileSettingsView.hrh" |
|
27 #include "ProfileInternal.hrh" |
|
28 |
|
29 // EXTERNAL INCLUDES |
|
30 #include <eikon.rh> |
|
31 #include <avkon.rh> |
|
32 #include <avkon.rsg> |
|
33 #include <avkon.loc> |
|
34 #include <avkon.mbg> |
|
35 #include <AvkonIcons.hrh> |
|
36 #include <drmcommon.loc> |
|
37 #include <e32keys.h> |
|
38 #include <bldvariant.hrh> |
|
39 #include <ProfileEng.hrh> |
|
40 #include <Profile.hrh> |
|
41 |
|
42 // RESOURCE DEFINITIONS |
|
43 |
|
44 RESOURCE RSS_SIGNATURE {} |
|
45 |
|
46 RESOURCE TBUF { buf = ""; } |
|
47 |
|
48 RESOURCE EIK_APP_INFO {} |
|
49 |
|
50 // Include the common part of the resources (of application and plugin): |
|
51 #include "ProfileSettingsViewCommon.rss" |
|
52 |
|
53 // ----------------------------------------------------------------------------- |
|
54 // |
|
55 // r_profile_setting_item_list |
|
56 // ?description |
|
57 // |
|
58 // ----------------------------------------------------------------------------- |
|
59 // |
|
60 RESOURCE AVKON_SETTING_ITEM_LIST r_profile_setting_item_list |
|
61 { |
|
62 items = |
|
63 { |
|
64 AVKON_SETTING_ITEM |
|
65 { |
|
66 identifier = EProfileSettingRingingToneId; |
|
67 name = qtn_mode_ringing_tone; |
|
68 }, |
|
69 AVKON_SETTING_ITEM |
|
70 { |
|
71 identifier = EProfileSettingRingingToneLine1Id; |
|
72 name = qtn_mode_line1_tone; |
|
73 }, |
|
74 AVKON_SETTING_ITEM |
|
75 { |
|
76 identifier = EProfileSettingRingingToneLine2Id; |
|
77 name = qtn_mode_line2_tone; |
|
78 }, |
|
79 AVKON_SETTING_ITEM |
|
80 { |
|
81 identifier = EProfileSettingRingingTypeId; |
|
82 name = qtn_mode_ringing_type_2; |
|
83 setting_page_resource = r_profile_ringing_type_setting_page; |
|
84 associated_resource = r_profile_ringing_type_setting_texts; |
|
85 }, |
|
86 AVKON_SETTING_ITEM |
|
87 { |
|
88 identifier = EProfileSettingRingingVolumeId; |
|
89 name = qtn_mode_ringing_volume; |
|
90 setting_page_resource = r_profile_ringing_volume_setting_page; |
|
91 }, |
|
92 AVKON_SETTING_ITEM |
|
93 { |
|
94 identifier = EProfileSettingMediaVolumeId; |
|
95 name = qtn_profiles_media_volume; |
|
96 setting_page_resource = r_profile_media_volume_setting_page; |
|
97 }, |
|
98 AVKON_SETTING_ITEM |
|
99 { |
|
100 identifier = EProfileSettingMessageAlertToneId; |
|
101 name = qtn_mode_message_tone; |
|
102 }, |
|
103 AVKON_SETTING_ITEM |
|
104 { |
|
105 identifier = EProfileSettingKeypadVolumeId; |
|
106 name = qtn_mode_keypad_volume; |
|
107 setting_page_resource = r_profile_keypad_volume_setting_page; |
|
108 associated_resource = r_profile_keypad_volume_setting_texts; |
|
109 }, |
|
110 AVKON_SETTING_ITEM |
|
111 { |
|
112 identifier = EProfileSettingVibratingAlertId; |
|
113 name = qtn_mode_vibrating_alert; |
|
114 setting_page_resource = r_profile_vibrating_alert_setting_page; |
|
115 associated_resource = r_profile_vibrating_alert_setting_texts; |
|
116 }, |
|
117 AVKON_SETTING_ITEM |
|
118 { |
|
119 identifier = EProfileSettingEmailVibratingAlertId; |
|
120 name = qtn_profiles_email_vibra; |
|
121 setting_page_resource = r_profile_email_vibrating_alert_setting_page; |
|
122 associated_resource = r_profile_email_vibrating_alert_setting_texts; |
|
123 }, |
|
124 AVKON_SETTING_ITEM |
|
125 { |
|
126 identifier = EProfileSettingVideoCallToneId; |
|
127 name = qtn_mode_vt_tone; |
|
128 }, |
|
129 AVKON_SETTING_ITEM |
|
130 { |
|
131 identifier = EProfileSettingEmailAlertToneId; |
|
132 name = qtn_profiles_e_mail_tone; |
|
133 }, |
|
134 AVKON_SETTING_ITEM |
|
135 { |
|
136 identifier = EProfileSettingWarningAndGameTonesId; |
|
137 name = qtn_mode_warning_game; |
|
138 setting_page_resource = r_profile_warning_tones_setting_page; |
|
139 associated_resource = r_profile_warning_alert_setting_texts; |
|
140 }, |
|
141 AVKON_SETTING_ITEM |
|
142 { |
|
143 identifier = EProfileSettingTTSRingingToneId; |
|
144 name = qtn_mode_tts_ringing_tone; |
|
145 setting_page_resource = r_profile_tts_tones_setting_page; |
|
146 associated_resource = r_profile_tts_setting_texts; |
|
147 }, |
|
148 AVKON_SETTING_ITEM |
|
149 { |
|
150 identifier = EProfileSetting3dEffectId; |
|
151 name = qtn_profiles_tone_3d_effect; |
|
152 setting_page_resource = r_profile_3d_effect_setting_page; |
|
153 associated_resource = r_profile_3d_effect_setting_texts; |
|
154 }, |
|
155 AVKON_SETTING_ITEM |
|
156 { |
|
157 identifier = EProfileSetting3dEchoId; |
|
158 name = qtn_profiles_tone_3d_echo; |
|
159 setting_page_resource = r_profile_3d_echo_setting_page; |
|
160 associated_resource = r_profile_3d_echo_setting_texts; |
|
161 }, |
|
162 AVKON_SETTING_ITEM |
|
163 { |
|
164 identifier = EProfileSettingTactileFeedbackId; |
|
165 name = qtn_mode_tactile_feedback; |
|
166 setting_page_resource = r_profile_tactile_feedback_setting_page; |
|
167 associated_resource = r_profile_tactile_feedback_setting_texts; |
|
168 }, |
|
169 AVKON_SETTING_ITEM |
|
170 { |
|
171 identifier = EProfileSettingAudioFeedbackId; |
|
172 name = qtn_mode_audio_feedback; |
|
173 setting_page_resource = r_profile_audio_feedback_setting_page; |
|
174 associated_resource = r_profile_audio_feedback_setting_texts; |
|
175 }, |
|
176 AVKON_SETTING_ITEM |
|
177 { |
|
178 identifier = EProfileSettingAlertForId; |
|
179 name = qtn_mode_alert_for; |
|
180 setting_page_resource = r_profile_alert_for_setting_page; |
|
181 }, |
|
182 AVKON_SETTING_ITEM |
|
183 { |
|
184 identifier = EProfileSettingPTTRingingToneId; |
|
185 name = qtn_poc_profile_ringing_tone; |
|
186 }, |
|
187 AVKON_SETTING_ITEM |
|
188 { |
|
189 identifier = EProfileSettingPTTStatusId; |
|
190 name = qtn_poc_profile_status; |
|
191 setting_page_resource = r_profile_ptt_status_setting_page; |
|
192 associated_resource = r_profile_ptt_status_setting_texts; |
|
193 }, |
|
194 AVKON_SETTING_ITEM |
|
195 { |
|
196 identifier = EProfileSettingProfileNameId; |
|
197 name = qtn_mode_sett_profile_name; |
|
198 setting_page_resource = r_profile_name_setting_page; |
|
199 } |
|
200 }; |
|
201 } |
|
202 |
|
203 // ----------------------------------------------------------------------------- |
|
204 // |
|
205 // r_profile_alert_for_setting_page |
|
206 // ?description |
|
207 // |
|
208 // ----------------------------------------------------------------------------- |
|
209 // |
|
210 RESOURCE AVKON_SETTING_PAGE r_profile_alert_for_setting_page |
|
211 { |
|
212 label = qtn_mode_alert_for; |
|
213 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__UNMARK; |
|
214 type = EAknSetListBox; |
|
215 editor_resource_id = r_profile_alert_for_control; |
|
216 } |
|
217 |
|
218 // ----------------------------------------------------------------------------- |
|
219 // |
|
220 // r_profile_alert_for_control |
|
221 // ?description |
|
222 // |
|
223 // ----------------------------------------------------------------------------- |
|
224 // |
|
225 RESOURCE LISTBOX r_profile_alert_for_control |
|
226 { |
|
227 flags = EEikListBoxMultipleSelection; |
|
228 } |
|
229 |
|
230 // ----------------------------------------------------------------------------- |
|
231 // |
|
232 // r_profile_name_setting_page |
|
233 // ?description |
|
234 // |
|
235 // ----------------------------------------------------------------------------- |
|
236 // |
|
237 RESOURCE AVKON_SETTING_PAGE r_profile_name_setting_page |
|
238 { |
|
239 label = qtn_mode_sett_profile_name; |
|
240 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
241 type = EEikCtEdwin; |
|
242 editor_resource_id = r_profile_name_control; |
|
243 } |
|
244 |
|
245 // ----------------------------------------------------------------------------- |
|
246 // |
|
247 // r_profile_name_control |
|
248 // ?description |
|
249 // |
|
250 // ----------------------------------------------------------------------------- |
|
251 // |
|
252 RESOURCE EDWIN r_profile_name_control |
|
253 { |
|
254 flags = EEikEdwinNoLineOrParaBreaks; |
|
255 width = 9; |
|
256 lines = 5; |
|
257 maxlength = PROFILES_MAX_NAME_LENGTH; |
|
258 } |
|
259 |
|
260 // ----------------------------------------------------------------------------- |
|
261 // |
|
262 // r_profile_media_volume_setting_page |
|
263 // ?description |
|
264 // |
|
265 // ----------------------------------------------------------------------------- |
|
266 // |
|
267 RESOURCE AVKON_SETTING_PAGE r_profile_media_volume_setting_page |
|
268 { |
|
269 label = qtn_profiles_media_volume; |
|
270 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
271 type = EAknCtVolumeControl; |
|
272 editor_resource_id = r_profile_ringing_volume_control; |
|
273 } |
|
274 |
|
275 // ----------------------------------------------------------------------------- |
|
276 // |
|
277 // r_profile_ptt_status_setting_page |
|
278 // ?description |
|
279 // |
|
280 // ----------------------------------------------------------------------------- |
|
281 // |
|
282 RESOURCE AVKON_SETTING_PAGE r_profile_ptt_status_setting_page |
|
283 { |
|
284 label = qtn_mode_ringing_type_2; |
|
285 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
286 type = EAknCtPopupSettingList; |
|
287 editor_resource_id = r_profile_empty_popup_setting_list_control; |
|
288 } |
|
289 |
|
290 // ----------------------------------------------------------------------------- |
|
291 // |
|
292 // r_profile_ptt_status_setting_texts |
|
293 // ?description |
|
294 // |
|
295 // ----------------------------------------------------------------------------- |
|
296 // |
|
297 RESOURCE AVKON_POPUP_SETTING_TEXTS r_profile_ptt_status_setting_texts |
|
298 { |
|
299 setting_texts_resource = r_profile_ptt_status_texts_and_values; |
|
300 } |
|
301 |
|
302 // ----------------------------------------------------------------------------- |
|
303 // |
|
304 // r_profile_ptt_status_texts_and_values |
|
305 // ?description |
|
306 // |
|
307 // ----------------------------------------------------------------------------- |
|
308 // |
|
309 RESOURCE ARRAY r_profile_ptt_status_texts_and_values |
|
310 { |
|
311 items = |
|
312 { |
|
313 AVKON_ENUMERATED_TEXT { |
|
314 value = EProfilePttActive; text = qtn_poc_profile_status_active; }, |
|
315 AVKON_ENUMERATED_TEXT { |
|
316 value = EProfilePttSilent; text = qtn_poc_profile_status_silent; }, |
|
317 AVKON_ENUMERATED_TEXT { |
|
318 value = EProfilePttDoNotDisturb; text = qtn_poc_profile_status_dnd; } |
|
319 }; |
|
320 } |
|
321 |
|
322 |
|
323 |
|
324 // ----------------------------------------------------------------------------- |
|
325 // |
|
326 // r_profile_text_all_callers |
|
327 // ?description |
|
328 // |
|
329 // ----------------------------------------------------------------------------- |
|
330 // |
|
331 RESOURCE TBUF r_profile_text_all_callers { buf = qtn_tc_all_callers; } |
|
332 |
|
333 // ----------------------------------------------------------------------------- |
|
334 // |
|
335 // r_profile_text_several_groups |
|
336 // ?description |
|
337 // |
|
338 // ----------------------------------------------------------------------------- |
|
339 // |
|
340 RESOURCE TBUF r_profile_text_several_groups { buf = qtn_tc_several_groups; } |
|
341 |
|
342 // ----------------------------------------------------------------------------- |
|
343 // |
|
344 // r_profile_text_rename_error |
|
345 // ?description |
|
346 // |
|
347 // ----------------------------------------------------------------------------- |
|
348 // |
|
349 RESOURCE TBUF r_profile_text_rename_error { buf = qtn_mode_rename_error; } |
|
350 |
|
351 // ----------------------------------------------------------------------------- |
|
352 // |
|
353 // r_profile_confirm_ringtone_found |
|
354 // ?description |
|
355 // |
|
356 // ----------------------------------------------------------------------------- |
|
357 // |
|
358 RESOURCE TBUF r_profile_confirm_ringtone_found { |
|
359 buf = qtn_profiles_confirm_ringtone_found; } |
|
360 |
|
361 // ----------------------------------------------------------------------------- |
|
362 // |
|
363 // r_profile_confirm_ringtone_found_query |
|
364 // ?description |
|
365 // |
|
366 // ----------------------------------------------------------------------------- |
|
367 // |
|
368 RESOURCE DIALOG r_profile_confirm_ringtone_found_query |
|
369 { |
|
370 flags = EGeneralQueryFlags; |
|
371 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
372 items = |
|
373 { |
|
374 DLG_LINE |
|
375 { |
|
376 type = EAknCtQuery; |
|
377 id = EGeneralQuery; |
|
378 control = AVKON_CONFIRMATION_QUERY |
|
379 { |
|
380 layout = EConfirmationQueryLayout; |
|
381 label = ""; |
|
382 bmpfile = AVKON_BITMAP_FILE; |
|
383 bmpid = EMbmAvkonQgn_note_info; |
|
384 bmpmask = EMbmAvkonQgn_note_info_mask; |
|
385 }; |
|
386 } |
|
387 }; |
|
388 } |
|
389 |
|
390 |
|
391 // ----------------------------------------------------------------------------- |
|
392 // |
|
393 // r_profile_text_psm_infonote |
|
394 // ?description |
|
395 // |
|
396 // ----------------------------------------------------------------------------- |
|
397 // |
|
398 RESOURCE TBUF r_profile_text_psm_infonote { buf = qtn_power_saving_protected_settings_infonote; } |
|
399 |
|
400 |
|
401 // End of File |
|