uifw/AvKon/tsrc/bc/bctestdom5.0/bctestdomavkonpsln/group/bctestdomavkonpsln.rss
changeset 21 558113899881
parent 14 3320e4e6e8bb
child 22 75713bee6484
child 33 b3425bf29f82
equal deleted inserted replaced
14:3320e4e6e8bb 21:558113899881
     1 /*
       
     2 * Copyright (c) 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:  resources for the module
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  RESOURCE IDENTIFIER
       
    20 NAME BCDO
       
    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 
       
    34 #include "bctestdomavkonpsln.hrh"
       
    35 #include "bctestdomavkonpsln.loc"
       
    36 
       
    37 //  CONSTANTS
       
    38 
       
    39 //  MACROS
       
    40 #define CHECKBOX_SETTING_PAGE_NUMBER     1
       
    41 
       
    42 
       
    43 //  RESOURCE DEFINITIONS
       
    44 //-----------------------------------------------------------------------------
       
    45 //
       
    46 //    RSS_SIGNATURE
       
    47 //
       
    48 //
       
    49 //-----------------------------------------------------------------------------
       
    50 //
       
    51 RESOURCE RSS_SIGNATURE
       
    52     {
       
    53     }
       
    54 
       
    55 //-----------------------------------------------------------------------------
       
    56 //
       
    57 //    TBUF16
       
    58 //
       
    59 //
       
    60 //-----------------------------------------------------------------------------
       
    61 //
       
    62 RESOURCE TBUF16
       
    63     {
       
    64     buf = qtn_app_buf;
       
    65     }
       
    66 
       
    67 //-----------------------------------------------------------------------------
       
    68 //
       
    69 //    EIK_APP_INFO
       
    70 //
       
    71 //
       
    72 //-----------------------------------------------------------------------------
       
    73 //
       
    74 RESOURCE EIK_APP_INFO
       
    75     {
       
    76     menubar = r_bctestdomavkonpsln_menubar_main;
       
    77     cba = r_bctestdomavkonpsln_cba_options_next;
       
    78     }
       
    79 
       
    80 // ---------------------------------------------------------
       
    81 //    Provide Caption and Icon Info for Scalable UI
       
    82 //
       
    83 // ---------------------------------------------------------
       
    84 //
       
    85 RESOURCE LOCALISABLE_APP_INFO r_bctestdomavkonpsln_localisable_app_info
       
    86     {
       
    87     short_caption = qtn_apps_tavl_grid; 
       
    88 
       
    89     caption_and_icon = 
       
    90     CAPTION_AND_ICON_INFO
       
    91         {
       
    92         caption = qtn_apps_tavl_list; 
       
    93         };
       
    94     }
       
    95     
       
    96 //-----------------------------------------------------------------------------
       
    97 //
       
    98 //    r_bctestdomavkonpsln_view
       
    99 //    AVKON_VIEW for CBCTestDomAvkonPslnView
       
   100 //
       
   101 //-----------------------------------------------------------------------------
       
   102 //
       
   103 RESOURCE AVKON_VIEW r_bctestdomavkonpsln_view
       
   104     {
       
   105     menubar = r_bctestdomavkonpsln_menubar_main;
       
   106     }
       
   107 
       
   108 //-----------------------------------------------------------------------------
       
   109 //
       
   110 //    r_bctestdomavkonpsln_menubar
       
   111 //    MenuBar
       
   112 //
       
   113 //-----------------------------------------------------------------------------
       
   114 //
       
   115 RESOURCE MENU_BAR r_bctestdomavkonpsln_menubar_main
       
   116     {
       
   117     titles =
       
   118         {
       
   119         MENU_TITLE
       
   120             {
       
   121             menu_pane = r_bctestdomavkonpsln_menu;            
       
   122             },
       
   123         MENU_TITLE
       
   124             {
       
   125             menu_pane = r_bctestdomavkonpsln_case_menu;
       
   126             }
       
   127         };
       
   128     }
       
   129 
       
   130 //-----------------------------------------------------------------------------
       
   131 //
       
   132 //    r_bctestdomavkonpsln_case_menu
       
   133 //    Menu pane
       
   134 //
       
   135 //-----------------------------------------------------------------------------
       
   136 //
       
   137 RESOURCE MENU_PANE r_bctestdomavkonpsln_case_menu
       
   138     {
       
   139     items = 
       
   140         {
       
   141         MENU_ITEM
       
   142             {
       
   143             command = EBCTestCmdOutline1;
       
   144             txt = qtn_bctestdomavkonpsln_outline1;
       
   145             },
       
   146         MENU_ITEM
       
   147             {
       
   148             command = EBCTestCmdOutline2;
       
   149             txt = qtn_bctestdomavkonpsln_outline2;
       
   150             },
       
   151         MENU_ITEM
       
   152             {
       
   153             command = EBCTestCmdOutline3;
       
   154             txt = qtn_bctestdomavkonpsln_outline3;
       
   155             },
       
   156         MENU_ITEM
       
   157             {
       
   158             command = EBCTestCmdOutline4;
       
   159             txt = qtn_bctestdomavkonpsln_outline4;
       
   160             },
       
   161         MENU_ITEM
       
   162             {
       
   163             command = EBCTestCmdOutline5;
       
   164             txt = qtn_bctestdomavkonpsln_outline5;
       
   165             }
       
   166         };
       
   167     }
       
   168 
       
   169 //-----------------------------------------------------------------------------
       
   170 //
       
   171 //    r_bctestdomavkonpsln_menu
       
   172 //    Menu pane
       
   173 //
       
   174 //-----------------------------------------------------------------------------
       
   175 //
       
   176 RESOURCE MENU_PANE r_bctestdomavkonpsln_menu
       
   177     {
       
   178     items =
       
   179         {
       
   180         MENU_ITEM
       
   181             {
       
   182             command = EProgCmdAutoTest;
       
   183             txt = qtn_bctestdomavkonpsln_autotest;
       
   184             },
       
   185         MENU_ITEM // Menu "Exit"
       
   186             {
       
   187             command = EAknCmdExit;
       
   188             txt = qtn_bctestdomavkonpsln_menu_exit;
       
   189             }
       
   190         };
       
   191     }
       
   192 
       
   193 // ----------------------------------------------------------------------------
       
   194 //
       
   195 //    r_bctestdomavkonpsln_cba_options_next
       
   196 //    ?description
       
   197 //
       
   198 // ----------------------------------------------------------------------------
       
   199 //
       
   200 
       
   201 RESOURCE CBA r_bctestdomavkonpsln_cba_options_next
       
   202     {
       
   203     buttons =
       
   204 	{
       
   205 	CBA_BUTTON 
       
   206 	    {
       
   207 	    id=EAknSoftkeyOptions; 
       
   208 	    txt = text_softkey_option;
       
   209 	    },
       
   210         AVKON_CBA_BUTTON
       
   211             {
       
   212             id = EBCTestDomainCbaCmdNext;
       
   213             txt = qtn_bctestdomavkonpsln_cba_next;
       
   214             }
       
   215 	};
       
   216     }
       
   217     
       
   218 //-----------------------------------------------------------------------------
       
   219 //
       
   220 //    r_bctestdomavkonpsln_avkon_content
       
   221 //
       
   222 //-----------------------------------------------------------------------------
       
   223 // 
       
   224 RESOURCE AVKON_STYLUSACTIVATEDPOPUP_CONTENT r_bctestdomavkonpsln_avkon_content
       
   225     {
       
   226     titletext = qtn_content_title;
       
   227     infotext = qtn_content_info;
       
   228     cmdlinks =
       
   229         {
       
   230         AVKON_STYLUSACTIVATEDPOPUP_LINK
       
   231             {
       
   232             linkid = EAknStylusPopUpCmdLink1;
       
   233             linktext = qtn_content_link_txt;
       
   234             },
       
   235         AVKON_STYLUSACTIVATEDPOPUP_LINK
       
   236             {
       
   237             linkid = EAknStylusPopUpCmdLink2;
       
   238             linktext = qtn_content_link_txt;
       
   239             }
       
   240         };
       
   241     }
       
   242     
       
   243 //-----------------------------------------------------------------------------
       
   244 //
       
   245 //    r_bctestdomavkonpsln_checkbox_setting_page
       
   246 //
       
   247 //-----------------------------------------------------------------------------
       
   248 //
       
   249 RESOURCE AVKON_SETTING_PAGE r_bctestdomavkonpsln_checkbox_setting_page
       
   250     {
       
   251     number = CHECKBOX_SETTING_PAGE_NUMBER;
       
   252     label = qtn_aknatlist_multi_title;
       
   253     type = EAknSetListBox;
       
   254     editor_resource_id = r_bctestdomavkonpsln_listbox;
       
   255     menubar = r_bctestdomavkonpsln_menubar_main;
       
   256     }
       
   257     
       
   258 //-----------------------------------------------------------------------------
       
   259 //
       
   260 //    r_bctestdomavkonpsln_listbox
       
   261 //    ListBox( Single )
       
   262 //
       
   263 //-----------------------------------------------------------------------------
       
   264 //
       
   265 
       
   266 RESOURCE LISTBOX r_bctestdomavkonpsln_listbox
       
   267     {
       
   268     array_id = r_bctestdomavkonpsln_item_array;
       
   269     flags = EAknListBoxSelectionList;
       
   270     }
       
   271     
       
   272 //-----------------------------------------------------------------------------
       
   273 //
       
   274 //    r_bctestdomavkonpsln_item_array
       
   275 //    Items array for ListBox( Single 3 )
       
   276 //
       
   277 //-----------------------------------------------------------------------------
       
   278 //
       
   279 RESOURCE ARRAY r_bctestdomavkonpsln_item_array
       
   280     {
       
   281     items =
       
   282         {
       
   283         LBUF
       
   284             {
       
   285             txt = qtn_list_item_first;
       
   286             },
       
   287         LBUF
       
   288             {
       
   289             txt = qtn_list_item_second;
       
   290             }
       
   291         };
       
   292     }
       
   293 
       
   294 //-----------------------------------------------------------------------------
       
   295 //
       
   296 //    r_bctestdomavkonpsln_editor
       
   297 //
       
   298 //-----------------------------------------------------------------------------
       
   299 //
       
   300 RESOURCE AVKON_INTEGER_EDWIN  r_bctestdomavkonpsln_editor
       
   301     {
       
   302     maxlength = 0;
       
   303     min = -99999999;
       
   304     max = 99999999;
       
   305     unset_value=-100000000;
       
   306     }
       
   307 
       
   308 // ----------------------------------------------------------------------------
       
   309 //
       
   310 //    r_bctestdomavkonpsln_avkon_dynamic_volume_control
       
   311 //    ?description
       
   312 //
       
   313 // ----------------------------------------------------------------------------
       
   314 //
       
   315 RESOURCE DYNAMIC_VOLUME r_bctestdomavkonpsln_avkon_dynamic_volume_control
       
   316     {
       
   317     flags = EDynRangePopupVolumeControl;
       
   318     value = 30; // Has to have a value, otherwise crashes
       
   319     bmpfile = AVKON_BMP_FILENAME;
       
   320     bmpid = EMbmAvkonQgn_indi_speaker_active;
       
   321     bmpmask = EMbmAvkonQgn_indi_speaker_active_mask;
       
   322     minvalue = 0;
       
   323     maxvalue = 40;
       
   324     }
       
   325 
       
   326 // ----------------------------------------------------------------------------
       
   327 //
       
   328 //    NAVI_LABEL r_bctest_avkonpsln_label
       
   329 //    ?description
       
   330 //
       
   331 // ----------------------------------------------------------------------------
       
   332 //    
       
   333 RESOURCE NAVI_LABEL r_bctest_avkonpsln_label
       
   334     {
       
   335     txt = qtn_bctestdomavkonpsln_cba_next;
       
   336     }
       
   337 // End of File