wvuing/wvuiave/AppRss/CAPrivateChatListNG.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:41:52 +0200
changeset 0 094583676ce7
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* Copyright (c) 2002-2005 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:  Conversations list view's resource file
*
*/


//----------------------------------------------------
//
//    r_chat_private_chatlist_view
//    View-resource definition for private chat list view
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_chat_private_chatlist_view
    {
    hotkeys=r_chatclient_hotkeys;
    menubar=r_chat_menubar_private_chatlist;
    cba=R_AVKON_SOFTKEYS_SELECTION_LIST;
    }

//----------------------------------------------------
//
//    r_chatclient_menubar_mainview
//    Menubar definition for main-view
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_chat_menubar_private_chatlist
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_chatclient_general_menu; },
        MENU_TITLE { menu_pane=r_chat_menubar_private_chatlist_menu; }
        };
    }

//----------------------------------------------------
//
//    r_chatclient_mainview_menu
//    Items for menupane in mainview
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_chat_menubar_private_chatlist_menu
    {
    items=
        {
        MENU_ITEM { command=EChatPrivateListCmdOpen; txt = qtn_chat_om_conv_open; },
        MENU_ITEM { command=EChatPrivateListCmdDelete; txt = qtn_chat_conv_list_delete; },
        MENU_ITEM { command=EChatPrivateListCmdAddToFriends; txt = qtn_chat_om_addfriends; },
        MENU_ITEM { command=EChatPrivateListCmdNewConvers; cascade = r_chat_private_chatlist_sm_new_conversation; txt = qtn_chat_om_new_convers; },
        MENU_ITEM { command=EChatPrivateListCmdBlockOpt; cascade = r_chat_private_chatlist_sm_block;    txt = qtn_chat_friend_om_imsg_set; },
        MENU_ITEM { command=EChatClientMainViewCmdChangeStatus; txt = qtn_chat_friend_change_status; },
        MENU_ITEM { command=EChatPrivateListCmdCloseConvers; txt = qtn_chat_om_close_conv; },
        MENU_ITEM { command=EChatClientMainViewCmdLogin; txt = qtn_chat_main_om_login; },
        MENU_ITEM { command=EChatClientMainViewCmdLogout; txt = qtn_chat_main_om_logout; },
        MENU_ITEM { command=EChatPrivateListCmdSettings; txt = qtn_chat_settings; }
        };
    }

RESOURCE MENU_PANE r_chat_private_chatlist_sm_new_conversation
{
    items =
    {
        MENU_ITEM
            {
            command = EChatPrivateListCmdNewConvers;
            txt     = qtn_im_p2p_recip_select;
            },
        MENU_ITEM
            {
            command = EChatPrivateListWriteNewConvers;
            txt     = qtn_im_p2p_recip_write;
            },
        MENU_ITEM
            {
            command = EChatPrivateListCmdSelectRecipient;
            txt     = qtn_chat_opt_new_conversation;
            }            
    };
}

RESOURCE MENU_PANE r_chat_private_chatlist_sm_block
    {
    items =
        {
        MENU_ITEM
            {
            command = EChatPrivateListBlock;
            txt = qtn_chat_friend_om_block;
            },

        MENU_ITEM
            {
            command = EChatPrivateListBlockEnter;
            txt = qtn_chat_friend_block_enter;
            },

        MENU_ITEM
            {
            command = EChatPrivateListBlockShow;
            txt = qtn_chat_friend_block_showl;
            },

        MENU_ITEM
            {
            command = EChatPrivateListUnblock;
            txt = qtn_chat_friend_block_unblock;
            }

        };
    }

RESOURCE TBUF r_chat_private_chat_list_title { buf = qtn_chat_p2p_title; }
RESOURCE TBUF r_chat_conv_list_inv_del { buf = qtn_chat_conv_list_inv_del; }

RESOURCE AVKON_LIST_QUERY r_private_chat_list_select_recip_dlg
    {
    items =
        {
        AVKON_LIST_QUERY_DLG_LINE
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSinglePopupMenuListBox;
                listbox = AVKON_LIST_QUERY_LIST
                    {

                    };
                heading = qtn_chat_ibox_sel_resip;
                };
            }
        };
    }

RESOURCE TBUF r_chatclient_convlist_enter_recip { buf = qtn_im_prtx_write_recip;}
RESOURCE DIALOG r_chatclient_convlist_recip_query
    {
    flags = EGeneralQueryFlags;
    buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    items=
        {
        DLG_LINE
            {
            type=EAknCtQuery;
            id=EGeneralQuery;
            control= AVKON_DATA_QUERY
                {
                    layout = EDataLayout;
                    label = qtn_im_prtx_write_recip;
                    control=EDWIN
                        {
                        flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable;
                        maxlength=50;
                        width=16;
                        lines=1;
                        default_case = EAknEditorTextCase;

                        //avkon_flags = EAknEditorFlagLatinInputModesOnly;
                        };
                };
            }
        };
    }

// numeric-input enabled r_chatclient_convlist_recip_query dialog
RESOURCE DIALOG r_chatclient_convlist_recip_query2
    {
    flags = EGeneralQueryFlags;
    buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
    items=
        {
        DLG_LINE
            {
            type=EAknCtQuery;
            id=EGeneralQuery;
            control= AVKON_DATA_QUERY
                {
                    layout = EDataLayout;
                    label = qtn_im_prtx_write_recip;
                    control=EDWIN
                        {
                        flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable;
                        maxlength=50;
                        width=16;
                        lines=1;
                        default_case = EAknEditorLowerCase;
                        //avkon_flags = EAknEditorFlagLatinInputModesOnly;
                        default_input_mode = EAknEditorNumericInputMode;
                        };
                };
            }
        };
    }

RESOURCE TBUF r_private_chat_forward_title_group { buf = qtn_chat_om_forward_to_group; }
RESOURCE TBUF r_qtn_chat_empty_convers_list { buf = qtn_chat_empty_convers_list; }


// End of File