classicui_pub/grids_api/tsrc/data/testsdkgrids.rss
author srilekhas <srilekhas@symbian.org>
Mon, 23 Aug 2010 15:39:03 +0100
branchRCL_3
changeset 52 99c8e3015c1d
parent 0 2f259fa3e83a
permissions -rw-r--r--
Merge RCL_3 fixes with latest delivery.

/*
* 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 testsdkgrids
*
*/


NAME GDRS

#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.hrh>
#include <avkon.mbg>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkonicons.hrh>
#include <appinfo.rh>

//  RESOURCE DEFINITIONS
//-----------------------------------------------------------------------------
//
//    RSS_SIGNATURE
//
//
//-----------------------------------------------------------------------------
RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf=""; }

RESOURCE CBA r_grids_cba_Ok_back
    {
    buttons =
        {
        CBA_BUTTON
            {
            id = EAknSoftkeyOk;
            txt = "Ok";
            },
        CBA_BUTTON
            {
            id = EAknSoftkeyBack;
            txt = "Back";
            }
        };
    }

RESOURCE GRID r_testsdkgrids_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"; }
        };
    }

RESOURCE DIALOG r_test_dialog
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items=
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control= AVKON_DATA_QUERY
                {
                layout = EDataLayout;
                label = qtn_hewb_command_inputwords_text ;
                control = EDWIN
                    {
                    width = 15;
                    lines = 1;
                    maxlength = 15;
                    allowed_input_modes = EAknEditorNumericInputMode;
                    default_input_mode = EAknEditorNumericInputMode;
                    };
                };
            }
        };
    }