classicui_pub/lists_api/tsrc/data/testsdklists.rss
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Resource definitions for project testsdknotes
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 NAME    TSNS
       
    20 
       
    21 #include <avkon.rsg>
       
    22 #include <avkon.rh>
       
    23 #include <eikon.rh>
       
    24 #include <avkon.mbg>
       
    25 #include "testsdklists.hrh"
       
    26 #include "testsdklists.loc"
       
    27 
       
    28 #define CHECKBOX_SETTING_PAGE_NUMBER     1
       
    29 
       
    30 RESOURCE RSS_SIGNATURE
       
    31     {
       
    32     }
       
    33 RESOURCE TBUF
       
    34     {
       
    35     buf = "";
       
    36     }
       
    37 
       
    38 RESOURCE ARRAY r_testlist_item_array
       
    39     {
       
    40     items =
       
    41         {
       
    42         LBUF
       
    43             {
       
    44             txt = qtn_testlist_item_s1;
       
    45             },
       
    46         LBUF
       
    47             {
       
    48             txt = qtn_testlist_item_s2;
       
    49             },
       
    50         LBUF
       
    51             {
       
    52             txt = qtn_testlist_item_s3;
       
    53             },
       
    54         LBUF
       
    55             {
       
    56             txt = qtn_testlist_item_s4;
       
    57             },
       
    58         LBUF
       
    59             {
       
    60             txt = qtn_testlist_item_s5;
       
    61             },
       
    62         LBUF
       
    63             {
       
    64             txt = qtn_testlist_item_s6;
       
    65             },
       
    66         LBUF
       
    67             {
       
    68             txt = qtn_testlist_item_s7;
       
    69             },
       
    70         LBUF
       
    71             {
       
    72             txt = qtn_testlist_item_s8;
       
    73             },
       
    74         LBUF
       
    75             {
       
    76             txt = qtn_testlist_item_s9;
       
    77             }
       
    78         };
       
    79     }
       
    80 
       
    81 RESOURCE AVKON_SETTING_PAGE r_testlist_setting_page
       
    82     {
       
    83     number = CHECKBOX_SETTING_PAGE_NUMBER;
       
    84     label = qtn_aknatlist_multi_title;
       
    85     type = EAknSetListBox;
       
    86     editor_resource_id = r_testlist_single;
       
    87     menubar = r_testlist_menubar;
       
    88     }
       
    89 
       
    90 RESOURCE MENU_BAR r_testlist_menubar
       
    91     {
       
    92     titles =
       
    93         {
       
    94         MENU_TITLE
       
    95             {
       
    96             menu_pane = r_testlist_menupane;
       
    97             }
       
    98         };
       
    99     }
       
   100     
       
   101 RESOURCE MENU_PANE r_testlist_menupane
       
   102     {
       
   103     items =
       
   104         {
       
   105         MENU_ITEM 
       
   106             {
       
   107             command = EProgSoftkeyNextOutline;
       
   108             txt = qtn_testlist_softkey_next;
       
   109             }
       
   110         };
       
   111     }
       
   112 
       
   113 RESOURCE LISTBOX r_testlist_single
       
   114     {
       
   115     array_id = r_testlist_item_array;
       
   116     flags = EAknListBoxSelectionList;
       
   117     }
       
   118 
       
   119 RESOURCE DIALOG r_testlist_selection_list_dialog
       
   120     {
       
   121     flags = EAknDialogSelectionList;
       
   122     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   123     items =
       
   124         {
       
   125         DLG_LINE
       
   126             {
       
   127             type = EAknCtSingleListBox;
       
   128             id = ETestListDlgLbx;
       
   129             control = LISTBOX
       
   130                 {
       
   131                 flags = EAknListBoxSelectionList;
       
   132                 };
       
   133             }
       
   134         };
       
   135     }
       
   136 
       
   137 RESOURCE DIALOG r_testlist_markable_dialog
       
   138     {
       
   139     flags = EAknDialogMarkableList;
       
   140     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   141     items =
       
   142         {
       
   143         DLG_LINE
       
   144             {
       
   145             type = EAknCtSingleListBox;
       
   146             id = ESelectionListControl; 
       
   147             control = LISTBOX
       
   148                 {
       
   149                 flags = EAknListBoxMarkableList;
       
   150                 };
       
   151             }
       
   152         };
       
   153     }
       
   154 
       
   155 
       
   156 RESOURCE MENU_PANE r_testlist_column_menu
       
   157     {
       
   158     items =
       
   159         {
       
   160         MENU_ITEM
       
   161             {
       
   162             command = ETestCmdOutline01;
       
   163             txt = qtn_testlist_outline01;
       
   164             },
       
   165         MENU_ITEM
       
   166             {
       
   167             command = ETestCmdOutline02;
       
   168             txt = qtn_testlist_outline02;
       
   169             },
       
   170         MENU_ITEM
       
   171             {
       
   172             command = ETestCmdOutline03;
       
   173             txt = qtn_testlist_outline03;
       
   174             }
       
   175         };
       
   176     }
       
   177 
       
   178 RESOURCE LISTBOX r_testlist_listbox
       
   179     {
       
   180     array_id = r_testlist_item_array;
       
   181     flags = EAknListBoxSelectionList;
       
   182     }
       
   183 
       
   184 RESOURCE TBUF r_testlist_drawbuff
       
   185     {
       
   186     buf = qtn_drawbuff;
       
   187     }
       
   188 
       
   189 RESOURCE ARRAY r_testlist_item_array_again
       
   190     {
       
   191     items =
       
   192         {
       
   193         LBUF
       
   194             {
       
   195             txt = qtn_testlist_item_s9;
       
   196             },
       
   197         LBUF
       
   198             {
       
   199             txt = qtn_testlist_item_s2;
       
   200             },
       
   201         LBUF
       
   202             {
       
   203             txt = qtn_testlist_item_s3;
       
   204             },
       
   205         LBUF
       
   206             {
       
   207             txt = qtn_testlist_item_s4;
       
   208             },
       
   209         LBUF
       
   210             {
       
   211             txt = qtn_testlist_item_s5;
       
   212             },
       
   213         LBUF
       
   214             {
       
   215             txt = qtn_testlist_item_s6;
       
   216             },
       
   217         LBUF
       
   218             {
       
   219             txt = qtn_testlist_item_s7;
       
   220             },
       
   221         LBUF
       
   222             {
       
   223             txt = qtn_testlist_item_s8;
       
   224             },
       
   225         LBUF
       
   226             {
       
   227             txt = qtn_testlist_item_s1;
       
   228             }
       
   229         };
       
   230     }
       
   231 
       
   232 RESOURCE LISTBOX r_testlist_setting
       
   233     {
       
   234     array_id = r_testlist_item_setting;
       
   235     flags = EAknListBoxSelectionList;
       
   236     }
       
   237 
       
   238 RESOURCE ARRAY r_testlist_item_setting
       
   239     {
       
   240     items =
       
   241         {
       
   242         LBUF { txt = qtn_testlist_item_st1_add; },
       
   243         LBUF { txt = qtn_testlist_item_st2_rm; },
       
   244         LBUF { txt = qtn_testlist_item_st3; },
       
   245         LBUF { txt = qtn_testlist_item_st4; },
       
   246         LBUF { txt = qtn_testlist_item_st5; },
       
   247         LBUF { txt = qtn_testlist_item_st6; },
       
   248         LBUF { txt = qtn_testlist_item_st7; },
       
   249         LBUF { txt = qtn_testlist_item_st8; }
       
   250         };
       
   251     }
       
   252 
       
   253 RESOURCE LISTBOX r_testlist_single_1
       
   254     {
       
   255     array_id = r_testlist_item_array_again;
       
   256     flags = EAknListBoxSelectionList;
       
   257     }
       
   258 
       
   259 // CAknSingleStyleListBox
       
   260 RESOURCE LISTBOX r_testlist_single_style
       
   261     {
       
   262     array_id = r_testlist_single_style_array;
       
   263     flags = EAknListBoxSelectionList;
       
   264     }
       
   265 
       
   266 RESOURCE ARRAY r_testlist_single_style_array
       
   267     {
       
   268     items =
       
   269         {
       
   270         LBUF { txt = "\tTextLabel\t0\t1"; },
       
   271         LBUF { txt = "\tTextLabel\t0\t1"; },
       
   272         LBUF { txt = "\tTextLabel\t0\t1"; },
       
   273         LBUF { txt = "\tTextLabel\t0\t1"; },
       
   274         LBUF { txt = "\tTextLabel\t0\t1"; }
       
   275         };
       
   276     }
       
   277 
       
   278 // CAknSingleNumberStyleListBox
       
   279 RESOURCE LISTBOX r_testlist_number_style
       
   280     {
       
   281     array_id = r_testlist_number_style_array;
       
   282     flags = EAknListBoxSelectionList;
       
   283     }
       
   284 
       
   285 RESOURCE ARRAY r_testlist_number_style_array
       
   286     {
       
   287     items =
       
   288         {
       
   289         LBUF { txt = "2\tTextLabel\t0\t1"; },
       
   290         LBUF { txt = "2\tTextLabel\t0\t1"; },
       
   291         LBUF { txt = "2\tTextLabel\t0\t1"; },
       
   292         LBUF { txt = "2\tTextLabel\t0\t1"; },
       
   293         LBUF { txt = "2\tTextLabel\t0\t1"; }
       
   294         };
       
   295     }
       
   296 
       
   297 // CAknSingleHeadingStyleListBox
       
   298 RESOURCE LISTBOX r_testlist_heading_style
       
   299     {
       
   300     array_id = r_testlist_heading_style_array;
       
   301     flags = EAknListBoxSelectionList;
       
   302     }
       
   303 
       
   304 RESOURCE ARRAY r_testlist_heading_style_array
       
   305     {
       
   306     items =
       
   307         {
       
   308         LBUF { txt = "Heading\tTextLabel\t0\t1"; },
       
   309         LBUF { txt = "Heading\tTextLabel\t0\t1"; },
       
   310         LBUF { txt = "Heading\tTextLabel\t0\t1"; },
       
   311         LBUF { txt = "Heading\tTextLabel\t0\t1"; },
       
   312         LBUF { txt = "Heading\tTextLabel\t0\t1"; }
       
   313         };
       
   314     }
       
   315 
       
   316 // CAknSingleGraphicStyleListBox
       
   317 RESOURCE LISTBOX r_testlist_graphic_style
       
   318     {
       
   319     array_id = r_testlist_graphic_style_array;
       
   320     flags = EAknListBoxSelectionList;
       
   321     }
       
   322 
       
   323 RESOURCE ARRAY r_testlist_graphic_style_array
       
   324     {
       
   325     items =
       
   326         {
       
   327         LBUF { txt = "0\tTextLabel\t1\t2"; },
       
   328         LBUF { txt = "0\tTextLabel\t1\t2"; },
       
   329         LBUF { txt = "0\tTextLabel\t1\t2"; },
       
   330         LBUF { txt = "0\tTextLabel\t1\t2"; },
       
   331         LBUF { txt = "0\tTextLabel\t1\t2"; }
       
   332         };
       
   333     }
       
   334 
       
   335 // CAknSingleGraphicHeadingStyleListBox
       
   336 RESOURCE LISTBOX r_testlist_graphic_heading_style
       
   337     {
       
   338     array_id = r_testlist_graphic_heading_style_array;
       
   339     flags = EAknListBoxSelectionList;
       
   340     }
       
   341 
       
   342 RESOURCE ARRAY r_testlist_graphic_heading_style_array
       
   343     {
       
   344     items =
       
   345         {
       
   346         LBUF { txt = "0\tHeading\tTextLabel\t1\t2"; },
       
   347         LBUF { txt = "0\tHeading\tTextLabel\t1\t2"; },
       
   348         LBUF { txt = "0\tHeading\tTextLabel\t1\t2"; },
       
   349         LBUF { txt = "0\tHeading\tTextLabel\t1\t2"; },
       
   350         LBUF { txt = "0\tHeading\tTextLabel\t1\t2"; }
       
   351         };
       
   352     }
       
   353 
       
   354 // CAknSingleNumberHeadingStyleListBox
       
   355 RESOURCE LISTBOX r_testlist_number_heading_style
       
   356     {
       
   357     array_id = r_testlist_number_heading_style_array;
       
   358     flags = EAknListBoxSelectionList;
       
   359     }
       
   360 
       
   361 RESOURCE ARRAY r_testlist_number_heading_style_array
       
   362     {
       
   363     items =
       
   364         {
       
   365         LBUF { txt = "1\tHeading\tTextLabel\t2\t3"; },
       
   366         LBUF { txt = "1\tHeading\tTextLabel\t2\t3"; },
       
   367         LBUF { txt = "1\tHeading\tTextLabel\t2\t3"; },
       
   368         LBUF { txt = "1\tHeading\tTextLabel\t2\t3"; },
       
   369         LBUF { txt = "1\tHeading\tTextLabel\t2\t3"; }
       
   370         };
       
   371     }
       
   372 
       
   373 // CAknSingleLargeStyleListBox
       
   374 RESOURCE LISTBOX r_testlist_large_style
       
   375     {
       
   376     array_id = r_testlist_large_style_array;
       
   377     flags = EAknListBoxSelectionList;
       
   378     }
       
   379 
       
   380 RESOURCE ARRAY r_testlist_large_style_array
       
   381     {
       
   382     items =
       
   383         {
       
   384         LBUF { txt = "1\tTextLabel\t0\t0"; },
       
   385         LBUF { txt = "1\tTextLabel\t0\t0"; },
       
   386         LBUF { txt = "1\tTextLabel\t0\t0"; },
       
   387         LBUF { txt = "1\tTextLabel\t0\t0"; },
       
   388         LBUF { txt = "1\tTextLabel\t0\t0"; }
       
   389         };
       
   390     }
       
   391 
       
   392 // CAknDoubleStyleListBox
       
   393 RESOURCE LISTBOX r_testlist_double_style
       
   394     {
       
   395     array_id = r_testlist_double_style_array;
       
   396     flags = EAknListBoxSelectionList;
       
   397     }
       
   398 
       
   399 RESOURCE ARRAY r_testlist_double_style_array
       
   400     {
       
   401     items =
       
   402         {
       
   403         LBUF { txt = " \tFirstLabel\tSecondLabel\t0\t0"; },
       
   404         LBUF { txt = " \tFirstLabel\tSecondLabel\t0\t0"; },
       
   405         LBUF { txt = " \tFirstLabel\tSecondLabel\t0\t0"; },
       
   406         LBUF { txt = " \tFirstLabel\tSecondLabel\t0\t0"; },
       
   407         LBUF { txt = " \tFirstLabel\tSecondLabel\t0\t0"; }
       
   408         };
       
   409     }
       
   410 
       
   411 // CAknDoubleStyle2ListBox
       
   412 RESOURCE LISTBOX r_testlist_double_style2
       
   413     {
       
   414     array_id = r_testlist_double_style2_array;
       
   415     flags = EAknListBoxSelectionList;
       
   416     }
       
   417 
       
   418 RESOURCE ARRAY r_testlist_double_style2_array
       
   419     {
       
   420     items =
       
   421         {
       
   422         LBUF { txt = " \tFirstLongLabel\t\t0"; },
       
   423         LBUF { txt = " \tFirstLongLabel\t\t0"; },
       
   424         LBUF { txt = " \tFirstLongLabel\t\t0"; },
       
   425         LBUF { txt = " \tFirstLongLabel\t\t0"; },
       
   426         LBUF { txt = " \tFirstLongLabel\t\t0"; }
       
   427         };
       
   428     }
       
   429 
       
   430 // CAknDoubleNumberStyleListBox
       
   431 RESOURCE LISTBOX r_testlist_double_number_style
       
   432     {
       
   433     array_id = r_testlist_double_number_style_array;
       
   434     flags = EAknListBoxSelectionList;
       
   435     }
       
   436 
       
   437 RESOURCE ARRAY r_testlist_double_number_style_array
       
   438     {
       
   439     items =
       
   440         {
       
   441         LBUF { txt = "1\tFirstLabel\t\t0\t0"; },
       
   442         LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; },
       
   443         LBUF { txt = "1\tFirstLabel\t\t0\t0"; },
       
   444         LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; },
       
   445         LBUF { txt = "1\tFirstLabel\t\t0\t0"; }
       
   446         };
       
   447     }
       
   448 
       
   449 // CAknDoubleLargeStyleListBox
       
   450 RESOURCE LISTBOX r_testlist_double_large_style
       
   451     {
       
   452     array_id = r_testlist_double_large_style_array;
       
   453     flags = EAknListBoxSelectionList;
       
   454     }
       
   455 
       
   456 RESOURCE ARRAY r_testlist_double_large_style_array
       
   457     {
       
   458     items =
       
   459         {
       
   460         LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; },
       
   461         LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; },
       
   462         LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; },
       
   463         LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; },
       
   464         LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; }
       
   465         };
       
   466     }
       
   467 
       
   468 // CAknDoubleGraphicStyleListBox
       
   469 RESOURCE LISTBOX r_testlist_double_graphic_style
       
   470     {
       
   471     array_id = r_testlist_double_graphic_style_array;
       
   472     flags = EAknListBoxSelectionList;
       
   473     }
       
   474 
       
   475 RESOURCE ARRAY r_testlist_double_graphic_style_array
       
   476     {
       
   477     items =
       
   478         {
       
   479         LBUF { txt = "0\tFirstLabel\tSecondLabel\t0"; },
       
   480         LBUF { txt = "0\tFirstLabel\tSecondLabel\t0"; },
       
   481         LBUF { txt = "0\tFirstLabel\tSecondLabel\t0"; },
       
   482         LBUF { txt = "0\tFirstLabel\tSecondLabel\t0"; },
       
   483         LBUF { txt = "0\tFirstLabel\tSecondLabel\t0"; }
       
   484         };
       
   485     }
       
   486 
       
   487 // CAknFormDoubleGraphicStyleListBox
       
   488 RESOURCE LISTBOX r_testlist_form_double_graphic_style
       
   489     {
       
   490     array_id = r_testlist_form_double_graphic_style_array;
       
   491     flags = EAknListBoxSelectionList;
       
   492     }
       
   493 
       
   494 RESOURCE ARRAY r_testlist_form_double_graphic_style_array
       
   495     {
       
   496     items =
       
   497         {
       
   498         LBUF { txt = "1\tFirstLabel\tSecondLabel\t0"; },
       
   499         LBUF { txt = "1\tFirstLabel\tSecondLabel\t0"; },
       
   500         LBUF { txt = "1\tFirstLabel\tSecondLabel\t0"; },
       
   501         LBUF { txt = "1\tFirstLabel\tSecondLabel\t0"; },
       
   502         LBUF { txt = "1\tFirstLabel\tSecondLabel\t0"; }
       
   503         };
       
   504     }
       
   505 
       
   506 // CAknFormDoubleStyleListBox
       
   507 RESOURCE LISTBOX r_testlist_form_double_style
       
   508     {
       
   509     array_id = r_testlist_form_double_style_array;
       
   510     flags = EAknListBoxSelectionList;
       
   511     }
       
   512 
       
   513 RESOURCE ARRAY r_testlist_form_double_style_array
       
   514     {
       
   515     items =
       
   516         {
       
   517         LBUF { txt = " \tFirstLabel\tSecondLabel\t0"; },
       
   518         LBUF { txt = " \tFirstLabel\tSecondLabel\t0"; },
       
   519         LBUF { txt = " \tFirstLabel\tSecondLabel\t0"; },
       
   520         LBUF { txt = " \tFirstLabel\tSecondLabel\t0"; },
       
   521         LBUF { txt = " \tFirstLabel\tSecondLabel\t0"; }
       
   522         };
       
   523     }
       
   524 
       
   525 // grid
       
   526 RESOURCE GRID r_selection_grid
       
   527     {
       
   528     array_id = r_list_items;
       
   529     flags = EAknListBoxSelectionGrid;
       
   530     style = r_selectiongrid_style;
       
   531     }
       
   532 RESOURCE GRID_STYLE r_selectiongrid_style
       
   533     {
       
   534     layoutflags = EAknGridHorizontalOrientation |
       
   535                     EAknGridLeftToRight |
       
   536                     EAknGridTopToBottom;
       
   537     primaryscroll = EAknGridFollowsItemsAndLoops;
       
   538     secondaryscroll = EAknGridFollowsItemsAndLoops;
       
   539     itemsinprimaryorient = 3;
       
   540     itemsinsecondaryorient = 3;
       
   541     gapwidth = 5;
       
   542     gapheight = 5;
       
   543     width = 100;
       
   544     height = 100;
       
   545 }
       
   546 RESOURCE ARRAY r_list_items
       
   547     {
       
   548     items =
       
   549         {
       
   550         LBUF { txt = "Item 0"; },
       
   551         LBUF { txt = "Item 1"; },
       
   552         LBUF { txt = "Item 2"; },
       
   553         LBUF { txt = "Item 3"; },
       
   554         LBUF { txt = "Item 4"; },
       
   555         LBUF { txt = "Item 5"; },
       
   556         LBUF { txt = "Item 6"; }
       
   557         };
       
   558     }