1 /* |
|
2 * Copyright (c) 2006 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: resources for the module |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME TEMP |
|
21 |
|
22 // INCLUDES |
|
23 |
|
24 #include <eikon.rh> |
|
25 #include <eikon.rsg> |
|
26 #include <avkon.hrh> |
|
27 #include <avkon.mbg> |
|
28 #include <avkon.rsg> |
|
29 #include <avkon.rh> |
|
30 #include <avkonicons.hrh> |
|
31 |
|
32 #include <appinfo.rh> |
|
33 #include <commondialogs.rh> |
|
34 |
|
35 #include "bctestcmdlg.hrh" |
|
36 #include "bctestcmdlg.loc" |
|
37 |
|
38 // CONSTANTS |
|
39 #define APP_BITMAP_DIR "\\resource\\apps" |
|
40 #define AVKON_BMP_FILENAME AVKON_ICON_FILE |
|
41 #define BCTESTCMDLG_BMP_FNAME APP_BITMAP_DIR"\\bctestcmdlg.mbm" |
|
42 #define PHONE "C:\\Data\\" |
|
43 #define MMC "E:\\" |
|
44 |
|
45 // MACROS |
|
46 |
|
47 // RESOURCE DEFINITIONS |
|
48 //----------------------------------------------------------------------------- |
|
49 // |
|
50 // RSS_SIGNATURE |
|
51 // |
|
52 // |
|
53 //----------------------------------------------------------------------------- |
|
54 // |
|
55 RESOURCE RSS_SIGNATURE |
|
56 { |
|
57 } |
|
58 |
|
59 //----------------------------------------------------------------------------- |
|
60 // |
|
61 // TBUF16 |
|
62 // |
|
63 // |
|
64 //----------------------------------------------------------------------------- |
|
65 // |
|
66 RESOURCE TBUF16 |
|
67 { |
|
68 buf = "BCTestCmDlg"; |
|
69 } |
|
70 |
|
71 //----------------------------------------------------------------------------- |
|
72 // |
|
73 // EIK_APP_INFO |
|
74 // |
|
75 // |
|
76 //----------------------------------------------------------------------------- |
|
77 // |
|
78 RESOURCE EIK_APP_INFO |
|
79 { |
|
80 menubar = r_bctestcmdlg_menubar_main; |
|
81 cba = r_bctestcmdlg_cba_options_next; |
|
82 } |
|
83 |
|
84 // --------------------------------------------------------- |
|
85 // Provide Caption and Icon Info for Scalable UI |
|
86 // |
|
87 // --------------------------------------------------------- |
|
88 // |
|
89 RESOURCE LOCALISABLE_APP_INFO r_bctestcmdlg_localisable_app_info |
|
90 { |
|
91 short_caption = qtn_apps_tavl_grid; |
|
92 |
|
93 caption_and_icon = |
|
94 CAPTION_AND_ICON_INFO |
|
95 { |
|
96 caption = qtn_apps_tavl_list; |
|
97 //number_of_icons = 2; |
|
98 //icon_file = APP_BITMAP_DIR"\\bctestcmdlg_aif.mbm"; |
|
99 }; |
|
100 } |
|
101 |
|
102 //----------------------------------------------------------------------------- |
|
103 // |
|
104 // r_bctestcmdlg_view |
|
105 // AVKON_VIEW for CBCTestCmDlgView |
|
106 // |
|
107 //----------------------------------------------------------------------------- |
|
108 // |
|
109 RESOURCE AVKON_VIEW r_bctestcmdlg_view |
|
110 { |
|
111 menubar = r_bctestcmdlg_menubar_main; |
|
112 } |
|
113 |
|
114 //----------------------------------------------------------------------------- |
|
115 // |
|
116 // r_bctestcmdlg_menubar |
|
117 // MenuBar |
|
118 // |
|
119 //----------------------------------------------------------------------------- |
|
120 // |
|
121 RESOURCE MENU_BAR r_bctestcmdlg_menubar_main |
|
122 { |
|
123 titles = |
|
124 { |
|
125 MENU_TITLE |
|
126 { |
|
127 menu_pane = r_bctestcmdlg_menu; |
|
128 }, |
|
129 MENU_TITLE |
|
130 { |
|
131 menu_pane = r_bctestcmdlg_case_menu; |
|
132 } |
|
133 }; |
|
134 } |
|
135 |
|
136 //----------------------------------------------------------------------------- |
|
137 // |
|
138 // r_bctestcmdlg_case_menu |
|
139 // Menu pane |
|
140 // |
|
141 //----------------------------------------------------------------------------- |
|
142 // |
|
143 RESOURCE MENU_PANE r_bctestcmdlg_case_menu |
|
144 { |
|
145 items = |
|
146 { |
|
147 MENU_ITEM |
|
148 { |
|
149 cascade = r_bctestcmdlg_mem_sel_menu; |
|
150 txt = "Test Mem select dlg"; |
|
151 }, |
|
152 MENU_ITEM |
|
153 { |
|
154 cascade = r_bctestcmdlg_mem_sel_page; |
|
155 txt = "Test Mem select page"; |
|
156 }, |
|
157 MENU_ITEM |
|
158 { |
|
159 cascade = r_bctestcmdlg_file_sel_dlg; |
|
160 txt = "Test File select dlg"; |
|
161 }, |
|
162 MENU_ITEM |
|
163 { |
|
164 cascade = r_bctestcmdlg_file_name_dlg; |
|
165 txt = "Test File prompt dlg"; |
|
166 }, |
|
167 MENU_ITEM |
|
168 { |
|
169 cascade = r_bctestcmdlg_common_dlg; |
|
170 txt = "Test common dlg"; |
|
171 }, |
|
172 MENU_ITEM |
|
173 { |
|
174 cascade = r_bctestcmdlg_mem_sel_setting_item; |
|
175 txt = "Test mem select item"; |
|
176 } |
|
177 }; |
|
178 } |
|
179 |
|
180 //----------------------------------------------------------------------------- |
|
181 // |
|
182 // r_bctestcmdlg_mem_sel_menu |
|
183 // Menu pane |
|
184 // |
|
185 //----------------------------------------------------------------------------- |
|
186 // |
|
187 RESOURCE MENU_PANE r_bctestcmdlg_mem_sel_menu |
|
188 { |
|
189 items = |
|
190 { |
|
191 MENU_ITEM |
|
192 { |
|
193 command = EBCTestCmdMemSelDlgCreate; |
|
194 txt = "Test NewL and ExecuteL"; |
|
195 }, |
|
196 MENU_ITEM |
|
197 { |
|
198 command = EBCTestCmdMemSelDlgCreateWithRes; |
|
199 txt = "Test NewL with Res"; |
|
200 }, |
|
201 MENU_ITEM |
|
202 { |
|
203 command = EBCTestCmdMemSelDlgWithRoot; |
|
204 txt = "Test With Root"; |
|
205 }, |
|
206 MENU_ITEM |
|
207 { |
|
208 command = EBCTestCmdMemSelDlgQuick; |
|
209 txt = "Test RunDlgL"; |
|
210 }, |
|
211 MENU_ITEM |
|
212 { |
|
213 command = EBCTestCmdMemSelDlgQuickTitle; |
|
214 txt = "Test RunDlgL with title"; |
|
215 }, |
|
216 MENU_ITEM |
|
217 { |
|
218 command = EBCTestCmdMemSelDlgQuickRes; |
|
219 txt = "Test RunDlgL with ResID"; |
|
220 }, |
|
221 MENU_ITEM |
|
222 { |
|
223 command = EBCTestCmdMemSelDlgSetting; |
|
224 txt = "Test Settings"; |
|
225 } |
|
226 }; |
|
227 } |
|
228 |
|
229 //----------------------------------------------------------------------------- |
|
230 // |
|
231 // r_bctestcmdlg_mem_sel_page |
|
232 // Menu pane |
|
233 // |
|
234 //----------------------------------------------------------------------------- |
|
235 // |
|
236 RESOURCE MENU_PANE r_bctestcmdlg_mem_sel_page |
|
237 { |
|
238 items = |
|
239 { |
|
240 MENU_ITEM |
|
241 { |
|
242 command = EBCTestCmdMemSelPageCreate; |
|
243 txt = "Test NewL and ExecuteL"; |
|
244 }, |
|
245 MENU_ITEM |
|
246 { |
|
247 command = EBCTestCmdMemSelPageCreateRes; |
|
248 txt = "Test Create with Res"; |
|
249 }, |
|
250 MENU_ITEM |
|
251 { |
|
252 command = EBCTestCmdMemSelPageQuickCreate; |
|
253 txt = "Test Quick Create"; |
|
254 }, |
|
255 MENU_ITEM |
|
256 { |
|
257 command = EBCTestCmdMemSelPageQuickCreateTitle; |
|
258 txt = "Test Quick Create with Title"; |
|
259 }, |
|
260 MENU_ITEM |
|
261 { |
|
262 command = EBCTestCmdMemSelPageQuickCreateRes; |
|
263 txt = "Test Quick Create with Res"; |
|
264 } |
|
265 }; |
|
266 } |
|
267 |
|
268 //----------------------------------------------------------------------------- |
|
269 // |
|
270 // r_bctestcmdlg_file_sel_dlg |
|
271 // Menu pane |
|
272 // |
|
273 //----------------------------------------------------------------------------- |
|
274 // |
|
275 RESOURCE MENU_PANE r_bctestcmdlg_file_sel_dlg |
|
276 { |
|
277 items = |
|
278 { |
|
279 MENU_ITEM |
|
280 { |
|
281 command = EBCTestCmdFileSelDlgCreate; |
|
282 txt = "Test NewL and ExecuteL"; |
|
283 }, |
|
284 MENU_ITEM |
|
285 { |
|
286 command = EBCTestCmdFileSelDlgCreateRes; |
|
287 txt = "Test Create with ResID"; |
|
288 }, |
|
289 MENU_ITEM |
|
290 { |
|
291 command = EBCTestCmdFileSelDlgQuickCreate; |
|
292 txt = "Test Quick Create"; |
|
293 }, |
|
294 MENU_ITEM |
|
295 { |
|
296 command = EBCTestCmdFileSelDlgQuickCreateTitle; |
|
297 txt = "Test Quick Create with Title"; |
|
298 }, |
|
299 MENU_ITEM |
|
300 { |
|
301 command = EBCTestCmdFileSelDlgQuickCreateRes; |
|
302 txt = "Test Quick Create with Res"; |
|
303 }, |
|
304 MENU_ITEM |
|
305 { |
|
306 command = EBCTestCmdFileSelDlgSettings; |
|
307 txt = "Test Settings"; |
|
308 } |
|
309 }; |
|
310 } |
|
311 |
|
312 //----------------------------------------------------------------------------- |
|
313 // |
|
314 // r_bctestcmdlg_file_name_dlg |
|
315 // Menu pane |
|
316 // |
|
317 //----------------------------------------------------------------------------- |
|
318 // |
|
319 RESOURCE MENU_PANE r_bctestcmdlg_file_name_dlg |
|
320 { |
|
321 items = |
|
322 { |
|
323 MENU_ITEM |
|
324 { |
|
325 command = EBCTestCmdFileNameDlgCreate; |
|
326 txt = "Test NewL and ExecuteL"; |
|
327 }, |
|
328 MENU_ITEM |
|
329 { |
|
330 command = EBCTestCmdFileNameDlgCreateRes; |
|
331 txt = "Test Create with ResID"; |
|
332 }, |
|
333 MENU_ITEM |
|
334 { |
|
335 command = EBCTestCmdFileNameDlgQuickCreate; |
|
336 txt = "Test Quick Create"; |
|
337 }, |
|
338 MENU_ITEM |
|
339 { |
|
340 command = EBCTestCmdFileNameDlgQuickCreateTitle; |
|
341 txt = "Test Quick Create with Title"; |
|
342 }, |
|
343 MENU_ITEM |
|
344 { |
|
345 command = EBCTestCmdFileNameDlgQuickCreateRes; |
|
346 txt = "Test Quick Create with Res"; |
|
347 }, |
|
348 MENU_ITEM |
|
349 { |
|
350 command = EBCTestCmdFileNameDlgSettings; |
|
351 txt = "Test Settings"; |
|
352 } |
|
353 }; |
|
354 } |
|
355 |
|
356 //----------------------------------------------------------------------------- |
|
357 // |
|
358 // r_bctestcmdlg_file_name_dlg |
|
359 // Menu pane |
|
360 // |
|
361 //----------------------------------------------------------------------------- |
|
362 // |
|
363 RESOURCE MENU_PANE r_bctestcmdlg_mem_sel_setting_item |
|
364 { |
|
365 items = |
|
366 { |
|
367 MENU_ITEM |
|
368 { |
|
369 command = EBCTestCmdMemSelSettingItemCreate; |
|
370 txt = "Test Create"; |
|
371 }, |
|
372 MENU_ITEM |
|
373 { |
|
374 command = EBCTestCmdMemSelSettingItemEdit; |
|
375 txt = "Test Edit"; |
|
376 }, |
|
377 MENU_ITEM |
|
378 { |
|
379 command = EBCTestCmdMemSelSettingItemStore; |
|
380 txt = "Test Quick Create"; |
|
381 }, |
|
382 MENU_ITEM |
|
383 { |
|
384 command = EBCTestCmdMemSelSettingItemSetting; |
|
385 txt = "Test Setting"; |
|
386 } |
|
387 }; |
|
388 } |
|
389 |
|
390 //----------------------------------------------------------------------------- |
|
391 // |
|
392 // r_bctestcmdlg_common_dlg |
|
393 // Menu pane |
|
394 // |
|
395 //----------------------------------------------------------------------------- |
|
396 // |
|
397 RESOURCE MENU_PANE r_bctestcmdlg_common_dlg |
|
398 { |
|
399 items = |
|
400 { |
|
401 //select |
|
402 MENU_ITEM |
|
403 { |
|
404 command = EBCTestCmdCommonDlgSelect1; |
|
405 txt = "Test Select 1"; |
|
406 }, |
|
407 MENU_ITEM |
|
408 { |
|
409 command = EBCTestCmdCommonDlgSelect2; |
|
410 txt = "Test Select 2"; |
|
411 }, |
|
412 MENU_ITEM |
|
413 { |
|
414 command = EBCTestCmdCommonDlgSelect3; |
|
415 txt = "Test Select 3"; |
|
416 }, |
|
417 MENU_ITEM |
|
418 { |
|
419 command = EBCTestCmdCommonDlgSelect4; |
|
420 txt = "Test Select 4"; |
|
421 }, |
|
422 MENU_ITEM |
|
423 { |
|
424 command = EBCTestCmdCommonDlgSelect5; |
|
425 txt = "Test Select 5"; |
|
426 }, |
|
427 MENU_ITEM |
|
428 { |
|
429 command = EBCTestCmdCommonDlgSelect6; |
|
430 txt = "Test Select 6"; |
|
431 }, |
|
432 MENU_ITEM |
|
433 { |
|
434 command = EBCTestCmdCommonDlgSelect7; |
|
435 txt = "Test Select 7"; |
|
436 }, |
|
437 MENU_ITEM |
|
438 { |
|
439 command = EBCTestCmdCommonDlgSelect8; |
|
440 txt = "Test Select 8"; |
|
441 }, |
|
442 //move |
|
443 MENU_ITEM |
|
444 { |
|
445 command = EBCTestCmdCommonDlgMove1; |
|
446 txt = "Test Move 1"; |
|
447 }, |
|
448 MENU_ITEM |
|
449 { |
|
450 command = EBCTestCmdCommonDlgMove2; |
|
451 txt = "Test Move 2"; |
|
452 }, |
|
453 MENU_ITEM |
|
454 { |
|
455 command = EBCTestCmdCommonDlgMove3; |
|
456 txt = "Test Move 3"; |
|
457 }, |
|
458 MENU_ITEM |
|
459 { |
|
460 command = EBCTestCmdCommonDlgMove4; |
|
461 txt = "Test Move 4"; |
|
462 }, |
|
463 //save |
|
464 MENU_ITEM |
|
465 { |
|
466 command = EBCTestCmdCommonDlgSave1; |
|
467 txt = "Test Save 1"; |
|
468 }, |
|
469 MENU_ITEM |
|
470 { |
|
471 command = EBCTestCmdCommonDlgSave2; |
|
472 txt = "Test Save 2"; |
|
473 }, |
|
474 MENU_ITEM |
|
475 { |
|
476 command = EBCTestCmdCommonDlgSave3; |
|
477 txt = "Test Save 3"; |
|
478 }, |
|
479 MENU_ITEM |
|
480 { |
|
481 command = EBCTestCmdCommonDlgSave4; |
|
482 txt = "Test Save 4"; |
|
483 }, |
|
484 MENU_ITEM |
|
485 { |
|
486 command = EBCTestCmdCommonDlgSave5; |
|
487 txt = "Test Save 5"; |
|
488 }, |
|
489 MENU_ITEM |
|
490 { |
|
491 command = EBCTestCmdCommonDlgSave6; |
|
492 txt = "Test Save 6"; |
|
493 }, |
|
494 MENU_ITEM |
|
495 { |
|
496 command = EBCTestCmdCommonDlgSave7; |
|
497 txt = "Test Save 7"; |
|
498 }, |
|
499 //copy |
|
500 MENU_ITEM |
|
501 { |
|
502 command = EBCTestCmdCommonDlgCopy1; |
|
503 txt = "Test Copy 1"; |
|
504 }, |
|
505 MENU_ITEM |
|
506 { |
|
507 command = EBCTestCmdCommonDlgCopy2; |
|
508 txt = "Test Copy 2"; |
|
509 }, |
|
510 MENU_ITEM |
|
511 { |
|
512 command = EBCTestCmdCommonDlgCopy3; |
|
513 txt = "Test Copy 3"; |
|
514 } |
|
515 }; |
|
516 } |
|
517 |
|
518 |
|
519 |
|
520 |
|
521 |
|
522 |
|
523 //----------------------------------------------------------------------------- |
|
524 // |
|
525 // r_bctestcmdlg_menu |
|
526 // Menu pane |
|
527 // |
|
528 //----------------------------------------------------------------------------- |
|
529 // |
|
530 RESOURCE MENU_PANE r_bctestcmdlg_menu |
|
531 { |
|
532 items = |
|
533 { |
|
534 MENU_ITEM |
|
535 { |
|
536 command = EProgCmdAutoTest; |
|
537 txt = qtn_bctestcmdlg_autotest; |
|
538 }, |
|
539 MENU_ITEM // Menu "Exit" |
|
540 { |
|
541 command = EAknCmdExit; |
|
542 txt = qtn_bctestcmdlg_menu_exit; |
|
543 } |
|
544 }; |
|
545 } |
|
546 |
|
547 // ---------------------------------------------------------------------------- |
|
548 // |
|
549 // r_bctestcmdlg_cba_options_next |
|
550 // ?description |
|
551 // |
|
552 // ---------------------------------------------------------------------------- |
|
553 // |
|
554 |
|
555 RESOURCE CBA r_bctestcmdlg_cba_options_next |
|
556 { |
|
557 buttons = |
|
558 { |
|
559 CBA_BUTTON |
|
560 { |
|
561 id=EAknSoftkeyOptions; |
|
562 txt = text_softkey_option; |
|
563 }, |
|
564 AVKON_CBA_BUTTON |
|
565 { |
|
566 id = EBCTestCmDlgCbaCmdNext; |
|
567 txt = qtn_bctestcmdlg_cba_next; |
|
568 } |
|
569 }; |
|
570 } |
|
571 |
|
572 RESOURCE MEMORYSELECTIONDIALOG r_bctest_memory_selection_locations |
|
573 { |
|
574 locations = |
|
575 { |
|
576 LOCATION { root_path = PHONE; }, |
|
577 LOCATION { root_path = MMC; } |
|
578 }; |
|
579 } |
|
580 |
|
581 RESOURCE FILESELECTIONDIALOG r_bctest_file_selection_all |
|
582 { |
|
583 title = "resTitle"; |
|
584 softkey_1_file = "resSk1"; |
|
585 softkey_1_folder = "resSk2"; |
|
586 softkey_2_root_level = "resSk3"; |
|
587 softkey_2_subfolder = "resSk4"; |
|
588 root_path = "C:\\Data\\"; |
|
589 default_folder = "Sounds\\"; |
|
590 } |
|
591 |
|
592 RESOURCE MENU_BAR r_vr_settings_menubar |
|
593 { |
|
594 titles= |
|
595 { |
|
596 MENU_TITLE { menu_pane = r_vr_settings_menupane; } |
|
597 }; |
|
598 } |
|
599 |
|
600 RESOURCE MENU_PANE r_vr_settings_menupane |
|
601 { |
|
602 items= |
|
603 { |
|
604 MENU_ITEM { command = ECmdChange; txt = "change"; } |
|
605 }; |
|
606 } |
|
607 |
|
608 RESOURCE TBUF r_qtn_vorec_set_store { buf = "set store"; } |
|
609 |
|
610 RESOURCE DIALOG r_vr_settings_dialog |
|
611 { |
|
612 buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
613 flags = EEikDialogFlagWait | EEikDialogFlagNoDrag |
|
614 | EEikDialogFlagCbaButtons | EEikDialogFlagNoTitleBar |
|
615 | EEikDialogFlagFillAppClientRect; |
|
616 items = |
|
617 { |
|
618 DLG_LINE |
|
619 { |
|
620 type = EAknCtSettingListBox; |
|
621 id = EVRSettingsListboxId; |
|
622 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
623 control = LISTBOX |
|
624 { |
|
625 flags = EAknListBoxSelectionList; |
|
626 }; |
|
627 } |
|
628 }; |
|
629 } |
|
630 // End of File |
|