|
1 /* |
|
2 * Copyright (c) 2002-2004 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: |
|
15 * Resource file for main view. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 // RESOURCE IDENTIFIER |
|
21 NAME GSMV // 4 letter ID |
|
22 |
|
23 // INCLUDES |
|
24 #include <data_caging_paths_strings.hrh> |
|
25 |
|
26 #include <bldvariant.hrh> |
|
27 #include <eikon.rh> |
|
28 #include <eikon.rsg> |
|
29 #include <avkon.rh> |
|
30 #include <avkon.rsg> |
|
31 #include <avkon.mbg> |
|
32 #include <avkon.loc> |
|
33 |
|
34 #include <eikcore.rsg> |
|
35 #include <AvkonIcons.hrh> |
|
36 #include <appinfo.rh> |
|
37 #include <gsapp.loc> |
|
38 |
|
39 // Common resources among GS |
|
40 #include <gscommon.hrh> |
|
41 |
|
42 // CONSTANTS |
|
43 |
|
44 RESOURCE RSS_SIGNATURE |
|
45 { |
|
46 } |
|
47 |
|
48 |
|
49 RESOURCE TBUF |
|
50 { |
|
51 buf="GSApp"; |
|
52 } |
|
53 |
|
54 //---------------------------------------------------- |
|
55 // |
|
56 // EIK_APP_INFO |
|
57 // It contains application information. |
|
58 // |
|
59 //---------------------------------------------------- |
|
60 // |
|
61 RESOURCE EIK_APP_INFO |
|
62 { |
|
63 } |
|
64 |
|
65 |
|
66 //---------------------------------------------------- |
|
67 // |
|
68 // r_gs_main_view |
|
69 // Main view. |
|
70 // |
|
71 //---------------------------------------------------- |
|
72 // |
|
73 RESOURCE AVKON_VIEW r_gs_main_view |
|
74 { |
|
75 menubar = r_gs_menubar_open_exit; |
|
76 cba = r_gs_softkeys_options_exit_open; |
|
77 } |
|
78 |
|
79 //---------------------------------------------------- |
|
80 // |
|
81 // r_gs_main_view_title |
|
82 // Main view's title. |
|
83 // |
|
84 //---------------------------------------------------- |
|
85 // |
|
86 RESOURCE TITLE_PANE r_gs_main_view_title |
|
87 { |
|
88 #ifdef RD_CONTROL_PANEL |
|
89 txt = qtn_cp_title_control_panel; |
|
90 #else |
|
91 txt = qtn_set_title_settings; |
|
92 #endif //RD_CONTROL_PANEL |
|
93 } |
|
94 |
|
95 |
|
96 RESOURCE LISTBOX r_mainview_lbx |
|
97 { |
|
98 flags = EEikListBoxMultipleSelection; |
|
99 } |
|
100 |
|
101 |
|
102 // ----------------------------------------------------------------------------- |
|
103 // |
|
104 // r_gs_menubar_open_exit |
|
105 // GS menu with 'Open' and 'Exit' items. |
|
106 // |
|
107 // ----------------------------------------------------------------------------- |
|
108 // |
|
109 RESOURCE MENU_BAR r_gs_menubar_open_exit |
|
110 { |
|
111 titles = |
|
112 { |
|
113 MENU_TITLE |
|
114 { |
|
115 menu_pane = r_gs_menu_item_exit; |
|
116 }, |
|
117 MENU_TITLE |
|
118 { |
|
119 menu_pane = r_gs_menu_item_help; |
|
120 }, |
|
121 MENU_TITLE |
|
122 { |
|
123 menu_pane = r_gs_menu_item_open; |
|
124 } |
|
125 }; |
|
126 } |
|
127 |
|
128 //---------------------------------------------------- |
|
129 // |
|
130 // r_gs_menu_item_open |
|
131 // Open item. |
|
132 // |
|
133 //---------------------------------------------------- |
|
134 // |
|
135 RESOURCE MENU_PANE r_gs_menu_item_open |
|
136 { |
|
137 items = |
|
138 { |
|
139 MENU_ITEM |
|
140 { |
|
141 command = EAknSoftkeyOpen; |
|
142 txt = qtn_set_options_open; |
|
143 flags = EEikMenuItemAction; // action command |
|
144 } |
|
145 }; |
|
146 } |
|
147 |
|
148 |
|
149 // ----------------------------------------------------------------------------- |
|
150 // |
|
151 // r_gs_menu_item_exit |
|
152 // |
|
153 // ----------------------------------------------------------------------------- |
|
154 // |
|
155 RESOURCE MENU_PANE r_gs_menu_item_exit |
|
156 { |
|
157 items = |
|
158 { |
|
159 MENU_ITEM |
|
160 { |
|
161 command = EAknCmdExit; |
|
162 txt = qtn_options_exit; |
|
163 } |
|
164 }; |
|
165 } |
|
166 |
|
167 |
|
168 // ----------------------------------------------------------------------------- |
|
169 // |
|
170 // r_gs_menu_item_help |
|
171 // Help item. |
|
172 // |
|
173 // ----------------------------------------------------------------------------- |
|
174 // |
|
175 RESOURCE MENU_PANE r_gs_menu_item_help |
|
176 { |
|
177 items = |
|
178 { |
|
179 MENU_ITEM |
|
180 { |
|
181 command = EAknCmdHelp; |
|
182 txt = qtn_options_help; |
|
183 } |
|
184 }; |
|
185 } |
|
186 |
|
187 |
|
188 |
|
189 // SVG changes |
|
190 RESOURCE LOCALISABLE_APP_INFO r_gsapp_localisable_app_info |
|
191 { |
|
192 #ifdef RD_CONTROL_PANEL |
|
193 short_caption = qtn_apps_controlpanel_grid; |
|
194 #else |
|
195 short_caption = qtn_apps_settings_grid; |
|
196 #endif //RD_CONTROL_PANEL |
|
197 caption_and_icon = |
|
198 CAPTION_AND_ICON_INFO |
|
199 { |
|
200 #ifdef RD_CONTROL_PANEL |
|
201 caption = qtn_apps_controlpanel_list; |
|
202 #else |
|
203 caption = qtn_apps_settings_list; |
|
204 #endif //RD_CONTROL_PANEL |
|
205 number_of_icons = 1; |
|
206 icon_file = "Z:"APP_BITMAP_DIR"\\GSApp_aif.mif"; |
|
207 |
|
208 }; |
|
209 } |
|
210 |
|
211 //---------------------------------------------------- |
|
212 // |
|
213 // String for GS Cannot be opened during backup restore |
|
214 // r_confirm_note_gs_exit_backup_restore_string |
|
215 // |
|
216 //---------------------------------------------------- |
|
217 // |
|
218 RESOURCE TBUF r_confirm_note_gs_exit_backup_restore_string |
|
219 { buf = qtn_cp_error_open_during_backuprestore; } |
|
220 |
|
221 // MSK Handling |
|
222 |
|
223 // ----------------------------------------------------------------------------- |
|
224 // |
|
225 // r_gs_msk_open |
|
226 // Middle softkey label: open. |
|
227 // |
|
228 // ----------------------------------------------------------------------------- |
|
229 // |
|
230 RESOURCE TBUF r_gs_msk_open |
|
231 { |
|
232 buf = qtn_msk_open; |
|
233 } |
|
234 |
|
235 // ----------------------------------------------------------------------------- |
|
236 // |
|
237 // r_gs_msk_activate |
|
238 // Middle softkey label: activate. |
|
239 // |
|
240 // ----------------------------------------------------------------------------- |
|
241 // |
|
242 RESOURCE TBUF r_gs_msk_activate |
|
243 { |
|
244 buf = qtn_msk_activate; |
|
245 } |
|
246 |
|
247 // ----------------------------------------------------------------------------- |
|
248 // |
|
249 // r_gs_msk_select |
|
250 // Middle softkey label: select. |
|
251 // |
|
252 // ----------------------------------------------------------------------------- |
|
253 // |
|
254 RESOURCE TBUF r_gs_msk_select |
|
255 { |
|
256 buf = qtn_msk_select; |
|
257 } |
|
258 |
|
259 // ----------------------------------------------------------------------------- |
|
260 // |
|
261 // r_gs_msk_change |
|
262 // Middle softkey label: change. |
|
263 // |
|
264 // ----------------------------------------------------------------------------- |
|
265 // |
|
266 RESOURCE TBUF r_gs_msk_change |
|
267 { |
|
268 buf = qtn_msk_change; |
|
269 } |
|
270 |
|
271 // ----------------------------------------------------------------------------- |
|
272 // |
|
273 // r_gs_softkey_option |
|
274 // Middle softkey label: Options. |
|
275 // |
|
276 // ----------------------------------------------------------------------------- |
|
277 // |
|
278 RESOURCE TBUF r_gs_softkey_option |
|
279 { |
|
280 buf = text_softkey_option; |
|
281 } |
|
282 |
|
283 //---------------------------------------------------- |
|
284 // |
|
285 // r_gs_softkeys_options_back_contextoptions |
|
286 // MSK activates Context Menu |
|
287 // |
|
288 //---------------------------------------------------- |
|
289 // |
|
290 RESOURCE CBA r_gs_softkeys_options_back_contextoptions |
|
291 { |
|
292 buttons = |
|
293 { |
|
294 CBA_BUTTON |
|
295 { |
|
296 id=EAknSoftkeyOptions; |
|
297 txt = text_softkey_option; |
|
298 }, |
|
299 CBA_BUTTON |
|
300 { |
|
301 id=EAknSoftkeyBack; |
|
302 txt = text_softkey_back; |
|
303 }, |
|
304 CBA_BUTTON |
|
305 { |
|
306 id=EAknSoftkeyContextOptions; |
|
307 txt = text_softkey_option; |
|
308 } |
|
309 }; |
|
310 } |
|
311 |
|
312 //---------------------------------------------------- |
|
313 // |
|
314 // r_gs_softkeys_options_back_open |
|
315 // Text association with MSK ( OPEN ) |
|
316 // |
|
317 //---------------------------------------------------- |
|
318 // |
|
319 RESOURCE CBA r_gs_softkeys_options_back_open |
|
320 { |
|
321 buttons = |
|
322 { |
|
323 CBA_BUTTON |
|
324 { |
|
325 id=EAknSoftkeyOptions; |
|
326 txt = text_softkey_option; |
|
327 }, |
|
328 CBA_BUTTON |
|
329 { |
|
330 id=EAknSoftkeyBack; |
|
331 txt = text_softkey_back; |
|
332 }, |
|
333 CBA_BUTTON |
|
334 { |
|
335 id=EGSCmdAppOpen; |
|
336 txt = qtn_msk_open; |
|
337 } |
|
338 }; |
|
339 } |
|
340 |
|
341 //---------------------------------------------------- |
|
342 // |
|
343 // r_gs_softkeys_options_exit_open |
|
344 // Text association with MSK ( OPEN ) |
|
345 // |
|
346 //---------------------------------------------------- |
|
347 // |
|
348 RESOURCE CBA r_gs_softkeys_options_exit_open |
|
349 { |
|
350 buttons = |
|
351 { |
|
352 CBA_BUTTON |
|
353 { |
|
354 id=EAknSoftkeyOptions; |
|
355 txt = text_softkey_option; |
|
356 }, |
|
357 CBA_BUTTON |
|
358 { |
|
359 id=EAknSoftkeyExit; |
|
360 txt = text_softkey_exit; |
|
361 }, |
|
362 CBA_BUTTON |
|
363 { |
|
364 id=EGSCmdAppOpen; |
|
365 txt = qtn_msk_open; |
|
366 } |
|
367 }; |
|
368 } |
|
369 |
|
370 |
|
371 //---------------------------------------------------- |
|
372 // |
|
373 // r_gs_softkeys_options_back_change |
|
374 // Text association with MSK ( CHANGE ) |
|
375 // |
|
376 //---------------------------------------------------- |
|
377 // |
|
378 RESOURCE CBA r_gs_softkeys_options_back_change |
|
379 { |
|
380 buttons = |
|
381 { |
|
382 CBA_BUTTON |
|
383 { |
|
384 id=EAknSoftkeyOptions; |
|
385 txt = text_softkey_option; |
|
386 }, |
|
387 CBA_BUTTON |
|
388 { |
|
389 id=EAknSoftkeyBack; |
|
390 txt = text_softkey_back; |
|
391 }, |
|
392 CBA_BUTTON |
|
393 { |
|
394 id=EGSMSKCmdAppChange; |
|
395 txt = qtn_msk_change; |
|
396 } |
|
397 }; |
|
398 } |
|
399 |
|
400 //---------------------------------------------------- |
|
401 // |
|
402 // r_gs_softkeys_options_exit_change |
|
403 // Text association with MSK ( CHANGE ) |
|
404 // |
|
405 //---------------------------------------------------- |
|
406 // |
|
407 RESOURCE CBA r_gs_softkeys_options_exit_change |
|
408 { |
|
409 buttons = |
|
410 { |
|
411 CBA_BUTTON |
|
412 { |
|
413 id=EAknSoftkeyOptions; |
|
414 txt = text_softkey_option; |
|
415 }, |
|
416 CBA_BUTTON |
|
417 { |
|
418 id=EAknSoftkeyExit; |
|
419 txt = text_softkey_exit; |
|
420 }, |
|
421 CBA_BUTTON |
|
422 { |
|
423 id=EGSMSKCmdAppChange; |
|
424 txt = qtn_msk_change; |
|
425 } |
|
426 }; |
|
427 } |
|
428 |
|
429 //---------------------------------------------------- |
|
430 // |
|
431 // r_gs_softkeys_options_exit_change |
|
432 // Text association with MSK ( CHANGE ) |
|
433 // |
|
434 //---------------------------------------------------- |
|
435 // |
|
436 RESOURCE CBA r_gs_softkeys_options_back_empty |
|
437 { |
|
438 buttons = |
|
439 { |
|
440 CBA_BUTTON |
|
441 { |
|
442 id=EAknSoftkeyOptions; |
|
443 txt = text_softkey_option; |
|
444 }, |
|
445 CBA_BUTTON |
|
446 { |
|
447 id=EAknSoftkeyBack; |
|
448 txt = text_softkey_back; |
|
449 }, |
|
450 CBA_BUTTON |
|
451 { |
|
452 id=EAknSoftkeyOk; |
|
453 txt = ""; |
|
454 } |
|
455 }; |
|
456 } |
|
457 |
|
458 //End of File |
|
459 |
|
460 |
|
461 |