classicui_pub/lists_api/tsrc/data/testsdklists.rss
author William Roberts <williamr@symbian.org>
Wed, 10 Nov 2010 12:08:34 +0000
branchRCL_3
changeset 76 5c9f0ba5102a
parent 0 2f259fa3e83a
permissions -rw-r--r--
Improve debug tracing of AknGlobalNote::StartL - Bug 2673

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Resource definitions for project testsdknotes
 *
*/


NAME    TSNS

#include <avkon.rsg>
#include <avkon.rh>
#include <eikon.rh>
#include <avkon.mbg>
#include "testsdklists.hrh"
#include "testsdklists.loc"

#define CHECKBOX_SETTING_PAGE_NUMBER     1

RESOURCE RSS_SIGNATURE
    {
    }
RESOURCE TBUF
    {
    buf = "";
    }

RESOURCE ARRAY r_testlist_item_array
    {
    items =
        {
        LBUF
            {
            txt = qtn_testlist_item_s1;
            },
        LBUF
            {
            txt = qtn_testlist_item_s2;
            },
        LBUF
            {
            txt = qtn_testlist_item_s3;
            },
        LBUF
            {
            txt = qtn_testlist_item_s4;
            },
        LBUF
            {
            txt = qtn_testlist_item_s5;
            },
        LBUF
            {
            txt = qtn_testlist_item_s6;
            },
        LBUF
            {
            txt = qtn_testlist_item_s7;
            },
        LBUF
            {
            txt = qtn_testlist_item_s8;
            },
        LBUF
            {
            txt = qtn_testlist_item_s9;
            }
        };
    }

RESOURCE AVKON_SETTING_PAGE r_testlist_setting_page
    {
    number = CHECKBOX_SETTING_PAGE_NUMBER;
    label = qtn_aknatlist_multi_title;
    type = EAknSetListBox;
    editor_resource_id = r_testlist_single;
    menubar = r_testlist_menubar;
    }

RESOURCE MENU_BAR r_testlist_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_testlist_menupane;
            }
        };
    }
    
RESOURCE MENU_PANE r_testlist_menupane
    {
    items =
        {
        MENU_ITEM 
            {
            command = EProgSoftkeyNextOutline;
            txt = qtn_testlist_softkey_next;
            }
        };
    }

RESOURCE LISTBOX r_testlist_single
    {
    array_id = r_testlist_item_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE DIALOG r_testlist_selection_list_dialog
    {
    flags = EAknDialogSelectionList;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtSingleListBox;
            id = ETestListDlgLbx;
            control = LISTBOX
                {
                flags = EAknListBoxSelectionList;
                };
            }
        };
    }

RESOURCE DIALOG r_testlist_markable_dialog
    {
    flags = EAknDialogMarkableList;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtSingleListBox;
            id = ESelectionListControl; 
            control = LISTBOX
                {
                flags = EAknListBoxMarkableList;
                };
            }
        };
    }


RESOURCE MENU_PANE r_testlist_column_menu
    {
    items =
        {
        MENU_ITEM
            {
            command = ETestCmdOutline01;
            txt = qtn_testlist_outline01;
            },
        MENU_ITEM
            {
            command = ETestCmdOutline02;
            txt = qtn_testlist_outline02;
            },
        MENU_ITEM
            {
            command = ETestCmdOutline03;
            txt = qtn_testlist_outline03;
            }
        };
    }

RESOURCE LISTBOX r_testlist_listbox
    {
    array_id = r_testlist_item_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE TBUF r_testlist_drawbuff
    {
    buf = qtn_drawbuff;
    }

RESOURCE ARRAY r_testlist_item_array_again
    {
    items =
        {
        LBUF
            {
            txt = qtn_testlist_item_s9;
            },
        LBUF
            {
            txt = qtn_testlist_item_s2;
            },
        LBUF
            {
            txt = qtn_testlist_item_s3;
            },
        LBUF
            {
            txt = qtn_testlist_item_s4;
            },
        LBUF
            {
            txt = qtn_testlist_item_s5;
            },
        LBUF
            {
            txt = qtn_testlist_item_s6;
            },
        LBUF
            {
            txt = qtn_testlist_item_s7;
            },
        LBUF
            {
            txt = qtn_testlist_item_s8;
            },
        LBUF
            {
            txt = qtn_testlist_item_s1;
            }
        };
    }

RESOURCE LISTBOX r_testlist_setting
    {
    array_id = r_testlist_item_setting;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_item_setting
    {
    items =
        {
        LBUF { txt = qtn_testlist_item_st1_add; },
        LBUF { txt = qtn_testlist_item_st2_rm; },
        LBUF { txt = qtn_testlist_item_st3; },
        LBUF { txt = qtn_testlist_item_st4; },
        LBUF { txt = qtn_testlist_item_st5; },
        LBUF { txt = qtn_testlist_item_st6; },
        LBUF { txt = qtn_testlist_item_st7; },
        LBUF { txt = qtn_testlist_item_st8; }
        };
    }

RESOURCE LISTBOX r_testlist_single_1
    {
    array_id = r_testlist_item_array_again;
    flags = EAknListBoxSelectionList;
    }

// CAknSingleStyleListBox
RESOURCE LISTBOX r_testlist_single_style
    {
    array_id = r_testlist_single_style_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_single_style_array
    {
    items =
        {
        LBUF { txt = "\tTextLabel\t0\t1"; },
        LBUF { txt = "\tTextLabel\t0\t1"; },
        LBUF { txt = "\tTextLabel\t0\t1"; },
        LBUF { txt = "\tTextLabel\t0\t1"; },
        LBUF { txt = "\tTextLabel\t0\t1"; }
        };
    }

// CAknSingleNumberStyleListBox
RESOURCE LISTBOX r_testlist_number_style
    {
    array_id = r_testlist_number_style_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_number_style_array
    {
    items =
        {
        LBUF { txt = "2\tTextLabel\t0\t1"; },
        LBUF { txt = "2\tTextLabel\t0\t1"; },
        LBUF { txt = "2\tTextLabel\t0\t1"; },
        LBUF { txt = "2\tTextLabel\t0\t1"; },
        LBUF { txt = "2\tTextLabel\t0\t1"; }
        };
    }

// CAknSingleHeadingStyleListBox
RESOURCE LISTBOX r_testlist_heading_style
    {
    array_id = r_testlist_heading_style_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_heading_style_array
    {
    items =
        {
        LBUF { txt = "Heading\tTextLabel\t0\t1"; },
        LBUF { txt = "Heading\tTextLabel\t0\t1"; },
        LBUF { txt = "Heading\tTextLabel\t0\t1"; },
        LBUF { txt = "Heading\tTextLabel\t0\t1"; },
        LBUF { txt = "Heading\tTextLabel\t0\t1"; }
        };
    }

// CAknSingleGraphicStyleListBox
RESOURCE LISTBOX r_testlist_graphic_style
    {
    array_id = r_testlist_graphic_style_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_graphic_style_array
    {
    items =
        {
        LBUF { txt = "0\tTextLabel\t1\t2"; },
        LBUF { txt = "0\tTextLabel\t1\t2"; },
        LBUF { txt = "0\tTextLabel\t1\t2"; },
        LBUF { txt = "0\tTextLabel\t1\t2"; },
        LBUF { txt = "0\tTextLabel\t1\t2"; }
        };
    }

// CAknSingleGraphicHeadingStyleListBox
RESOURCE LISTBOX r_testlist_graphic_heading_style
    {
    array_id = r_testlist_graphic_heading_style_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_graphic_heading_style_array
    {
    items =
        {
        LBUF { txt = "0\tHeading\tTextLabel\t1\t2"; },
        LBUF { txt = "0\tHeading\tTextLabel\t1\t2"; },
        LBUF { txt = "0\tHeading\tTextLabel\t1\t2"; },
        LBUF { txt = "0\tHeading\tTextLabel\t1\t2"; },
        LBUF { txt = "0\tHeading\tTextLabel\t1\t2"; }
        };
    }

// CAknSingleNumberHeadingStyleListBox
RESOURCE LISTBOX r_testlist_number_heading_style
    {
    array_id = r_testlist_number_heading_style_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_number_heading_style_array
    {
    items =
        {
        LBUF { txt = "1\tHeading\tTextLabel\t2\t3"; },
        LBUF { txt = "1\tHeading\tTextLabel\t2\t3"; },
        LBUF { txt = "1\tHeading\tTextLabel\t2\t3"; },
        LBUF { txt = "1\tHeading\tTextLabel\t2\t3"; },
        LBUF { txt = "1\tHeading\tTextLabel\t2\t3"; }
        };
    }

// CAknSingleLargeStyleListBox
RESOURCE LISTBOX r_testlist_large_style
    {
    array_id = r_testlist_large_style_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_large_style_array
    {
    items =
        {
        LBUF { txt = "1\tTextLabel\t0\t0"; },
        LBUF { txt = "1\tTextLabel\t0\t0"; },
        LBUF { txt = "1\tTextLabel\t0\t0"; },
        LBUF { txt = "1\tTextLabel\t0\t0"; },
        LBUF { txt = "1\tTextLabel\t0\t0"; }
        };
    }

// CAknDoubleStyleListBox
RESOURCE LISTBOX r_testlist_double_style
    {
    array_id = r_testlist_double_style_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_double_style_array
    {
    items =
        {
        LBUF { txt = " \tFirstLabel\tSecondLabel\t0\t0"; },
        LBUF { txt = " \tFirstLabel\tSecondLabel\t0\t0"; },
        LBUF { txt = " \tFirstLabel\tSecondLabel\t0\t0"; },
        LBUF { txt = " \tFirstLabel\tSecondLabel\t0\t0"; },
        LBUF { txt = " \tFirstLabel\tSecondLabel\t0\t0"; }
        };
    }

// CAknDoubleStyle2ListBox
RESOURCE LISTBOX r_testlist_double_style2
    {
    array_id = r_testlist_double_style2_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_double_style2_array
    {
    items =
        {
        LBUF { txt = " \tFirstLongLabel\t\t0"; },
        LBUF { txt = " \tFirstLongLabel\t\t0"; },
        LBUF { txt = " \tFirstLongLabel\t\t0"; },
        LBUF { txt = " \tFirstLongLabel\t\t0"; },
        LBUF { txt = " \tFirstLongLabel\t\t0"; }
        };
    }

// CAknDoubleNumberStyleListBox
RESOURCE LISTBOX r_testlist_double_number_style
    {
    array_id = r_testlist_double_number_style_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_double_number_style_array
    {
    items =
        {
        LBUF { txt = "1\tFirstLabel\t\t0\t0"; },
        LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; },
        LBUF { txt = "1\tFirstLabel\t\t0\t0"; },
        LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; },
        LBUF { txt = "1\tFirstLabel\t\t0\t0"; }
        };
    }

// CAknDoubleLargeStyleListBox
RESOURCE LISTBOX r_testlist_double_large_style
    {
    array_id = r_testlist_double_large_style_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_double_large_style_array
    {
    items =
        {
        LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; },
        LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; },
        LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; },
        LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; },
        LBUF { txt = "1\tFirstLabel\tSecondLabel\t0\t0"; }
        };
    }

// CAknDoubleGraphicStyleListBox
RESOURCE LISTBOX r_testlist_double_graphic_style
    {
    array_id = r_testlist_double_graphic_style_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_double_graphic_style_array
    {
    items =
        {
        LBUF { txt = "0\tFirstLabel\tSecondLabel\t0"; },
        LBUF { txt = "0\tFirstLabel\tSecondLabel\t0"; },
        LBUF { txt = "0\tFirstLabel\tSecondLabel\t0"; },
        LBUF { txt = "0\tFirstLabel\tSecondLabel\t0"; },
        LBUF { txt = "0\tFirstLabel\tSecondLabel\t0"; }
        };
    }

// CAknFormDoubleGraphicStyleListBox
RESOURCE LISTBOX r_testlist_form_double_graphic_style
    {
    array_id = r_testlist_form_double_graphic_style_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_form_double_graphic_style_array
    {
    items =
        {
        LBUF { txt = "1\tFirstLabel\tSecondLabel\t0"; },
        LBUF { txt = "1\tFirstLabel\tSecondLabel\t0"; },
        LBUF { txt = "1\tFirstLabel\tSecondLabel\t0"; },
        LBUF { txt = "1\tFirstLabel\tSecondLabel\t0"; },
        LBUF { txt = "1\tFirstLabel\tSecondLabel\t0"; }
        };
    }

// CAknFormDoubleStyleListBox
RESOURCE LISTBOX r_testlist_form_double_style
    {
    array_id = r_testlist_form_double_style_array;
    flags = EAknListBoxSelectionList;
    }

RESOURCE ARRAY r_testlist_form_double_style_array
    {
    items =
        {
        LBUF { txt = " \tFirstLabel\tSecondLabel\t0"; },
        LBUF { txt = " \tFirstLabel\tSecondLabel\t0"; },
        LBUF { txt = " \tFirstLabel\tSecondLabel\t0"; },
        LBUF { txt = " \tFirstLabel\tSecondLabel\t0"; },
        LBUF { txt = " \tFirstLabel\tSecondLabel\t0"; }
        };
    }

// grid
RESOURCE GRID r_selection_grid
    {
    array_id = r_list_items;
    flags = EAknListBoxSelectionGrid;
    style = r_selectiongrid_style;
    }
RESOURCE GRID_STYLE r_selectiongrid_style
    {
    layoutflags = EAknGridHorizontalOrientation |
                    EAknGridLeftToRight |
                    EAknGridTopToBottom;
    primaryscroll = EAknGridFollowsItemsAndLoops;
    secondaryscroll = EAknGridFollowsItemsAndLoops;
    itemsinprimaryorient = 3;
    itemsinsecondaryorient = 3;
    gapwidth = 5;
    gapheight = 5;
    width = 100;
    height = 100;
}
RESOURCE ARRAY r_list_items
    {
    items =
        {
        LBUF { txt = "Item 0"; },
        LBUF { txt = "Item 1"; },
        LBUF { txt = "Item 2"; },
        LBUF { txt = "Item 3"; },
        LBUF { txt = "Item 4"; },
        LBUF { txt = "Item 5"; },
        LBUF { txt = "Item 6"; }
        };
    }