classicui_pub/tsrc/bc/apps/bctestlauncher/group/bctestlauncher.rss
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2006-2007 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:         This file contains all the resources for the BCTestLauncher.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 NAME    AUTO 
       
    27 
       
    28 #include <eikon.rh>
       
    29 #include <avkon.rh>
       
    30 #include <avkon.rsg>
       
    31 #include <avkon.mbg>
       
    32 #include <appinfo.rh>
       
    33 
       
    34 #include <eikon.rsg>
       
    35 
       
    36 #include "BCTestLauncher.hrh"
       
    37 #include "BCTestLauncher.loc"
       
    38 
       
    39 #define APP_BITMAP_DIR "\\resource\\apps"
       
    40 #define AVKON_BMP_FILENAME AVKON_ICON_FILE
       
    41 #define BCTESTLAUNCHER_BMP_FNAME APP_BITMAP_DIR"\\bctestlauncher.mbm"
       
    42 
       
    43 #define BCTESTLAUNCHER_LISTBOX_HEIGHT 3
       
    44 #define BCTESTLAUNCHER_LISTBOX_WIDTH 3
       
    45 
       
    46 //  RESOURCE DEFINITIONS 
       
    47 //----------------------------------------------------------------------------
       
    48 //
       
    49 //    RSS_SIGNATURE
       
    50 //    Symbian OS requirement
       
    51 //
       
    52 //----------------------------------------------------------------------------
       
    53 //
       
    54 RESOURCE RSS_SIGNATURE
       
    55     {
       
    56     }
       
    57 
       
    58 //----------------------------------------------------------------------------
       
    59 //
       
    60 //    TBUF
       
    61 //    Symbian OS requirement
       
    62 //
       
    63 //----------------------------------------------------------------------------
       
    64 //
       
    65 RESOURCE TBUF
       
    66     {
       
    67     buf = qtn_bctestlauncher_caption;
       
    68     }
       
    69 
       
    70 //----------------------------------------------------------------------------
       
    71 //
       
    72 //    EIK_APP_INFO
       
    73 //    Symbian OS requirement
       
    74 //
       
    75 //----------------------------------------------------------------------------
       
    76 //
       
    77 RESOURCE EIK_APP_INFO
       
    78     {
       
    79     status_pane = r_bctestlauncher_status_pane;
       
    80     }
       
    81 
       
    82 // ---------------------------------------------------------------------------
       
    83 //    Provide Caption and Icon Info for Scalable UI
       
    84 //
       
    85 // ---------------------------------------------------------------------------
       
    86 //
       
    87 RESOURCE LOCALISABLE_APP_INFO r_bctestlauncher_localisable_app_info
       
    88     {
       
    89     short_caption = qtn_apps_tapb_grid;
       
    90 
       
    91     caption_and_icon = 
       
    92     CAPTION_AND_ICON_INFO
       
    93         {
       
    94         caption = qtn_apps_tapb_list;
       
    95         };
       
    96     }
       
    97 
       
    98 //----------------------------------------------------------------------------
       
    99 //   
       
   100 //    r_bctestlauncher_view
       
   101 //    View definition
       
   102 //
       
   103 //-----------------------------------------------------------------------------
       
   104 //
       
   105 RESOURCE AVKON_VIEW r_bctestlauncher_view
       
   106     {
       
   107     menubar = r_bctestlauncher_menubar_view;  
       
   108     cba = r_bctestlauncher_softkeys_run_exit;
       
   109     }
       
   110 
       
   111 // ---------------------------------------------------------------------------
       
   112 //
       
   113 //    r_bctestlauncher_menubar
       
   114 //    Menu bar (dummy)
       
   115 //
       
   116 // ---------------------------------------------------------------------------
       
   117 //
       
   118 RESOURCE MENU_BAR r_bctestlauncher_menubar_view
       
   119     {
       
   120     titles=
       
   121         {
       
   122         MENU_TITLE
       
   123             {
       
   124             menu_pane = r_bctestlauncher_main_menu;
       
   125             txt = qtn_bctestlauncher_menu;
       
   126             }
       
   127         };
       
   128     }
       
   129 
       
   130 // ---------------------------------------------------------------------------
       
   131 //
       
   132 //    r_bctestlauncher_main_menu
       
   133 //    Menu pane, put new applications here
       
   134 //
       
   135 // ---------------------------------------------------------------------------
       
   136 //
       
   137 RESOURCE MENU_PANE r_bctestlauncher_main_menu
       
   138     {
       
   139     items=
       
   140         {
       
   141         MENU_ITEM 
       
   142             {
       
   143             command = ESdkVersion;
       
   144             txt = qtn_bctestlauncher_sdkversion;
       
   145             },
       
   146         MENU_ITEM 
       
   147             {
       
   148             command = EAutoTestAll;
       
   149             txt = qtn_bctestlauncher_all;
       
   150             },
       
   151         MENU_ITEM 
       
   152             {
       
   153             command = EAutoTestSelection;
       
   154             txt = qtn_bctestlauncher_selection;
       
   155             },
       
   156         MENU_ITEM
       
   157             {
       
   158             txt = qtn_bctestlauncher_separate;
       
   159             cascade = r_bctestlauncher_separate_tests;
       
   160             },
       
   161         MENU_ITEM
       
   162             {
       
   163             command = EAknCmdExit;
       
   164             txt = qtn_bctestlauncher_exit;
       
   165             }
       
   166         };      
       
   167     }
       
   168 
       
   169 //----------------------------------------------------------------------------
       
   170 //   
       
   171 //    r_bctestlauncher_separate_tests
       
   172 //    Menu for separate test applications
       
   173 //
       
   174 //----------------------------------------------------------------------------
       
   175 //
       
   176 RESOURCE MENU_PANE r_bctestlauncher_separate_tests
       
   177     {
       
   178     }
       
   179 
       
   180 //----------------------------------------------------------------------------
       
   181 //   
       
   182 //    r_bctestlauncher_status_pane
       
   183 //    Status pane definition
       
   184 //
       
   185 //----------------------------------------------------------------------------
       
   186 //
       
   187 RESOURCE STATUS_PANE_APP_MODEL r_bctestlauncher_status_pane
       
   188     {
       
   189     panes=
       
   190         {
       
   191         SPANE_PANE
       
   192             {
       
   193             id = EEikStatusPaneUidNavi;
       
   194             type = EAknCtNaviPane;
       
   195             resource = r_bctestlauncher_navi_decorator;
       
   196             }
       
   197         };
       
   198     }
       
   199 
       
   200 //----------------------------------------------------------------------------
       
   201 //   
       
   202 //    r_bctestlauncher_navi_decorator
       
   203 //    Status pane definition of details
       
   204 //
       
   205 //----------------------------------------------------------------------------
       
   206 //
       
   207 RESOURCE NAVI_DECORATOR r_bctestlauncher_navi_decorator
       
   208     {
       
   209     type = ENaviDecoratorControlTabGroup;
       
   210     control = TAB_GROUP
       
   211         {
       
   212         tab_width = EAknTabWidthWithOneTab;
       
   213         active = 0;
       
   214         tabs = {
       
   215             TAB
       
   216                 {
       
   217                 id = EBCTestLauncherView1Tab;
       
   218                 txt = qtn_bctestlauncher_view1_tab;
       
   219                 }
       
   220             };
       
   221         };
       
   222     }
       
   223 
       
   224 RESOURCE CBA r_bctestlauncher_softkeys_run_exit
       
   225     {
       
   226     buttons =
       
   227         {
       
   228         CBA_BUTTON
       
   229             {
       
   230             id=EAknSoftkeyOptions;
       
   231             txt = qtn_bctestlauncher_softkey_run;
       
   232             },
       
   233         CBA_BUTTON
       
   234             {
       
   235             id=EAknCmdExit;
       
   236             txt = qtn_bctestlauncher_exit;
       
   237             }
       
   238         };
       
   239     }
       
   240 
       
   241 RESOURCE TBUF40 r_bctestlauncher_title_setdraw
       
   242     {
       
   243     buf=qtn_bctestlauncher_title_setdraw;
       
   244     }
       
   245 
       
   246 RESOURCE TBUF40 r_bctestlauncher_title_incdraw
       
   247     {
       
   248     buf=qtn_bctestlauncher_title_incdraw;
       
   249     }
       
   250 
       
   251 
       
   252 //----------------------------------------------------------------------------
       
   253 //
       
   254 //    r_bctestlauncher_multi_selection_query
       
   255 //    Resource of Multi Selection Query.
       
   256 //
       
   257 //----------------------------------------------------------------------------
       
   258 //
       
   259 RESOURCE DIALOG r_bctestlauncher_multi_selection_query
       
   260     {
       
   261     flags = EGeneralQueryFlags;
       
   262     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   263     items =
       
   264         {
       
   265         DLG_LINE
       
   266             {
       
   267             type = EAknCtListQueryControl;
       
   268             id = EListQueryControl;
       
   269             control = AVKON_LIST_QUERY_CONTROL
       
   270                 {
       
   271                 listtype = EAknCtSingleGraphicPopupMenuListBox;
       
   272                 listbox = LISTBOX
       
   273                     {
       
   274                     flags = EAknListBoxMultiselectionList;
       
   275                     height = BCTESTLAUNCHER_LISTBOX_HEIGHT;
       
   276                     width = BCTESTLAUNCHER_LISTBOX_WIDTH;
       
   277                     };
       
   278                 heading = qtn_bctestlauncher_selection_title;
       
   279                 };
       
   280             }
       
   281         };
       
   282     }
       
   283 
       
   284 //----------------------------------------------------
       
   285 //   
       
   286 //    r_bctestlauncher_sdkversion_query
       
   287 //    sdk version query for the application
       
   288 //
       
   289 //----------------------------------------------------
       
   290 //
       
   291 RESOURCE DIALOG r_bctestlauncher_sdkversion_query
       
   292     {
       
   293     flags=EGeneralQueryFlags;
       
   294     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   295     items =
       
   296         {
       
   297         DLG_LINE
       
   298             {
       
   299             type = EAknCtQuery;
       
   300             id = EDataQueryDlgCIdDataQuery;
       
   301             control = AVKON_DATA_QUERY
       
   302                 {
       
   303                 layout = EDataLayout;
       
   304                 control = 
       
   305                     AVKON_INTEGER_EDWIN
       
   306                     {
       
   307                     min = 30;
       
   308                     max = 40;
       
   309                     };
       
   310                 };
       
   311             }
       
   312         };
       
   313     }
       
   314 //-----------------------------------------------------------------------------
       
   315 //
       
   316 //    r_bctestlauncher_query_caption
       
   317 //
       
   318 //-----------------------------------------------------------------------------
       
   319 //
       
   320 RESOURCE TBUF64 r_bctestlauncher_query_caption
       
   321     {
       
   322     buf = qtn_bctestlauncher_query_caption;
       
   323     }
       
   324 // End of File