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 } |
|
144 }; |
|
145 } |
|
146 |
|
147 |
|
148 // ----------------------------------------------------------------------------- |
|
149 // |
|
150 // r_gs_menu_item_exit |
|
151 // |
|
152 // ----------------------------------------------------------------------------- |
|
153 // |
|
154 RESOURCE MENU_PANE r_gs_menu_item_exit |
|
155 { |
|
156 items = |
|
157 { |
|
158 MENU_ITEM |
|
159 { |
|
160 command = EAknCmdExit; |
|
161 txt = qtn_options_exit; |
|
162 } |
|
163 }; |
|
164 } |
|
165 |
|
166 |
|
167 // ----------------------------------------------------------------------------- |
|
168 // |
|
169 // r_gs_menu_item_help |
|
170 // Help item. |
|
171 // |
|
172 // ----------------------------------------------------------------------------- |
|
173 // |
|
174 RESOURCE MENU_PANE r_gs_menu_item_help |
|
175 { |
|
176 items = |
|
177 { |
|
178 MENU_ITEM |
|
179 { |
|
180 command = EAknCmdHelp; |
|
181 txt = qtn_options_help; |
|
182 } |
|
183 }; |
|
184 } |
|
185 |
|
186 |
|
187 |
|
188 // SVG changes |
|
189 RESOURCE LOCALISABLE_APP_INFO r_gsapp_localisable_app_info |
|
190 { |
|
191 #ifdef RD_CONTROL_PANEL |
|
192 short_caption = qtn_apps_controlpanel_grid; |
|
193 #else |
|
194 short_caption = qtn_apps_settings_grid; |
|
195 #endif //RD_CONTROL_PANEL |
|
196 caption_and_icon = |
|
197 CAPTION_AND_ICON_INFO |
|
198 { |
|
199 #ifdef RD_CONTROL_PANEL |
|
200 caption = qtn_apps_controlpanel_list; |
|
201 #else |
|
202 caption = qtn_apps_settings_list; |
|
203 #endif //RD_CONTROL_PANEL |
|
204 number_of_icons = 1; |
|
205 icon_file = "Z:"APP_BITMAP_DIR"\\GSApp_aif.mif"; |
|
206 |
|
207 }; |
|
208 } |
|
209 |
|
210 //---------------------------------------------------- |
|
211 // |
|
212 // String for GS Cannot be opened during backup restore |
|
213 // r_confirm_note_gs_exit_backup_restore_string |
|
214 // |
|
215 //---------------------------------------------------- |
|
216 // |
|
217 RESOURCE TBUF r_confirm_note_gs_exit_backup_restore_string |
|
218 { buf = qtn_cp_error_open_during_backuprestore; } |
|
219 |
|
220 // MSK Handling |
|
221 |
|
222 // ----------------------------------------------------------------------------- |
|
223 // |
|
224 // r_gs_msk_open |
|
225 // Middle softkey label: open. |
|
226 // |
|
227 // ----------------------------------------------------------------------------- |
|
228 // |
|
229 RESOURCE TBUF r_gs_msk_open |
|
230 { |
|
231 buf = qtn_msk_open; |
|
232 } |
|
233 |
|
234 // ----------------------------------------------------------------------------- |
|
235 // |
|
236 // r_gs_msk_activate |
|
237 // Middle softkey label: activate. |
|
238 // |
|
239 // ----------------------------------------------------------------------------- |
|
240 // |
|
241 RESOURCE TBUF r_gs_msk_activate |
|
242 { |
|
243 buf = qtn_msk_activate; |
|
244 } |
|
245 |
|
246 // ----------------------------------------------------------------------------- |
|
247 // |
|
248 // r_gs_msk_select |
|
249 // Middle softkey label: select. |
|
250 // |
|
251 // ----------------------------------------------------------------------------- |
|
252 // |
|
253 RESOURCE TBUF r_gs_msk_select |
|
254 { |
|
255 buf = qtn_msk_select; |
|
256 } |
|
257 |
|
258 // ----------------------------------------------------------------------------- |
|
259 // |
|
260 // r_gs_msk_change |
|
261 // Middle softkey label: change. |
|
262 // |
|
263 // ----------------------------------------------------------------------------- |
|
264 // |
|
265 RESOURCE TBUF r_gs_msk_change |
|
266 { |
|
267 buf = qtn_msk_change; |
|
268 } |
|
269 |
|
270 // ----------------------------------------------------------------------------- |
|
271 // |
|
272 // r_gs_softkey_option |
|
273 // Middle softkey label: Options. |
|
274 // |
|
275 // ----------------------------------------------------------------------------- |
|
276 // |
|
277 RESOURCE TBUF r_gs_softkey_option |
|
278 { |
|
279 buf = text_softkey_option; |
|
280 } |
|
281 |
|
282 //---------------------------------------------------- |
|
283 // |
|
284 // r_gs_softkeys_options_back_contextoptions |
|
285 // MSK activates Context Menu |
|
286 // |
|
287 //---------------------------------------------------- |
|
288 // |
|
289 RESOURCE CBA r_gs_softkeys_options_back_contextoptions |
|
290 { |
|
291 buttons = |
|
292 { |
|
293 CBA_BUTTON |
|
294 { |
|
295 id=EAknSoftkeyOptions; |
|
296 txt = text_softkey_option; |
|
297 }, |
|
298 CBA_BUTTON |
|
299 { |
|
300 id=EAknSoftkeyBack; |
|
301 txt = text_softkey_back; |
|
302 }, |
|
303 CBA_BUTTON |
|
304 { |
|
305 id=EAknSoftkeyContextOptions; |
|
306 txt = text_softkey_option; |
|
307 } |
|
308 }; |
|
309 } |
|
310 |
|
311 //---------------------------------------------------- |
|
312 // |
|
313 // r_gs_softkeys_options_back_open |
|
314 // Text association with MSK ( OPEN ) |
|
315 // |
|
316 //---------------------------------------------------- |
|
317 // |
|
318 RESOURCE CBA r_gs_softkeys_options_back_open |
|
319 { |
|
320 buttons = |
|
321 { |
|
322 CBA_BUTTON |
|
323 { |
|
324 id=EAknSoftkeyOptions; |
|
325 txt = text_softkey_option; |
|
326 }, |
|
327 CBA_BUTTON |
|
328 { |
|
329 id=EAknSoftkeyBack; |
|
330 txt = text_softkey_back; |
|
331 }, |
|
332 CBA_BUTTON |
|
333 { |
|
334 id=EGSCmdAppOpen; |
|
335 txt = qtn_msk_open; |
|
336 } |
|
337 }; |
|
338 } |
|
339 |
|
340 //---------------------------------------------------- |
|
341 // |
|
342 // r_gs_softkeys_options_exit_open |
|
343 // Text association with MSK ( OPEN ) |
|
344 // |
|
345 //---------------------------------------------------- |
|
346 // |
|
347 RESOURCE CBA r_gs_softkeys_options_exit_open |
|
348 { |
|
349 buttons = |
|
350 { |
|
351 CBA_BUTTON |
|
352 { |
|
353 id=EAknSoftkeyOptions; |
|
354 txt = text_softkey_option; |
|
355 }, |
|
356 CBA_BUTTON |
|
357 { |
|
358 id=EAknSoftkeyExit; |
|
359 txt = text_softkey_exit; |
|
360 }, |
|
361 CBA_BUTTON |
|
362 { |
|
363 id=EGSCmdAppOpen; |
|
364 txt = qtn_msk_open; |
|
365 } |
|
366 }; |
|
367 } |
|
368 |
|
369 |
|
370 //---------------------------------------------------- |
|
371 // |
|
372 // r_gs_softkeys_options_back_change |
|
373 // Text association with MSK ( CHANGE ) |
|
374 // |
|
375 //---------------------------------------------------- |
|
376 // |
|
377 RESOURCE CBA r_gs_softkeys_options_back_change |
|
378 { |
|
379 buttons = |
|
380 { |
|
381 CBA_BUTTON |
|
382 { |
|
383 id=EAknSoftkeyOptions; |
|
384 txt = text_softkey_option; |
|
385 }, |
|
386 CBA_BUTTON |
|
387 { |
|
388 id=EAknSoftkeyBack; |
|
389 txt = text_softkey_back; |
|
390 }, |
|
391 CBA_BUTTON |
|
392 { |
|
393 id=EGSMSKCmdAppChange; |
|
394 txt = qtn_msk_change; |
|
395 } |
|
396 }; |
|
397 } |
|
398 |
|
399 //---------------------------------------------------- |
|
400 // |
|
401 // r_gs_softkeys_options_exit_change |
|
402 // Text association with MSK ( CHANGE ) |
|
403 // |
|
404 //---------------------------------------------------- |
|
405 // |
|
406 RESOURCE CBA r_gs_softkeys_options_exit_change |
|
407 { |
|
408 buttons = |
|
409 { |
|
410 CBA_BUTTON |
|
411 { |
|
412 id=EAknSoftkeyOptions; |
|
413 txt = text_softkey_option; |
|
414 }, |
|
415 CBA_BUTTON |
|
416 { |
|
417 id=EAknSoftkeyExit; |
|
418 txt = text_softkey_exit; |
|
419 }, |
|
420 CBA_BUTTON |
|
421 { |
|
422 id=EGSMSKCmdAppChange; |
|
423 txt = qtn_msk_change; |
|
424 } |
|
425 }; |
|
426 } |
|
427 |
|
428 //---------------------------------------------------- |
|
429 // |
|
430 // r_gs_softkeys_options_exit_change |
|
431 // Text association with MSK ( CHANGE ) |
|
432 // |
|
433 //---------------------------------------------------- |
|
434 // |
|
435 RESOURCE CBA r_gs_softkeys_options_back_empty |
|
436 { |
|
437 buttons = |
|
438 { |
|
439 CBA_BUTTON |
|
440 { |
|
441 id=EAknSoftkeyOptions; |
|
442 txt = text_softkey_option; |
|
443 }, |
|
444 CBA_BUTTON |
|
445 { |
|
446 id=EAknSoftkeyBack; |
|
447 txt = text_softkey_back; |
|
448 }, |
|
449 CBA_BUTTON |
|
450 { |
|
451 id=EAknSoftkeyOk; |
|
452 txt = ""; |
|
453 } |
|
454 }; |
|
455 } |
|
456 |
|
457 //End of File |
|
458 |
|
459 |
|
460 |
|