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