wvuing/wvuiave/AppRss/CAChatListViewNG.rss
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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 file of chat list view
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //----------------------------------------------------
       
    20 //   
       
    21 //    r_chatclient_chatlist_view
       
    22 //    View-resource definition for chatlist-view
       
    23 //
       
    24 //----------------------------------------------------
       
    25 //
       
    26 RESOURCE AVKON_VIEW r_chatclient_chatlist_view
       
    27     {
       
    28     hotkeys=r_chatclient_hotkeys;
       
    29     menubar=r_chatclient_menubar_chatlist_view;  
       
    30     cba=R_AVKON_SOFTKEYS_SELECTION_LIST; 
       
    31     }
       
    32 
       
    33 
       
    34 //----------------------------------------------------
       
    35 //   
       
    36 //    r_chatclient_menubar_chatlist_view
       
    37 //    Menubar definition for chatlist-view
       
    38 //
       
    39 //----------------------------------------------------
       
    40 //
       
    41 RESOURCE MENU_BAR r_chatclient_menubar_chatlist_view
       
    42 {
       
    43     titles=
       
    44     {
       
    45         MENU_TITLE { menu_pane=r_chatclient_general_menu; },
       
    46         MENU_TITLE { menu_pane=r_chatclient_chatlist_view_menu; }
       
    47     };
       
    48 }
       
    49 
       
    50 
       
    51 RESOURCE TBUF r_chatclient_clist_sn_prompt { buf = qtn_chat_dataq_join_prtx_sn ;}
       
    52 RESOURCE DIALOG r_chatclient_clist_sn_query
       
    53 	{
       
    54 	flags = EGeneralQueryFlags;
       
    55 	buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
    56     items=
       
    57 	    {
       
    58 		DLG_LINE
       
    59 			{
       
    60 			type=EAknCtQuery;
       
    61 			id=EGeneralQuery;
       
    62 			//itemflags=EEikDlgItemTakesEnterKey;
       
    63 			control= AVKON_DATA_QUERY 
       
    64 				{ 
       
    65 					layout = EDataLayout;
       
    66 					label = qtn_chat_dataq_join_prtx_sn;
       
    67 					control=EDWIN 
       
    68 					    {
       
    69 						flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable; 
       
    70 						maxlength=10; 
       
    71 						width=16; 
       
    72 						lines=1; 
       
    73 						default_case = EAknEditorLowerCase;
       
    74 						};
       
    75 				};
       
    76 			}
       
    77 		};
       
    78 	}
       
    79 //----------------------------------------------------
       
    80 //   
       
    81 //    r_chatclient_chatlist_view_menu
       
    82 //    Items for menupane in chatlist-view
       
    83 //
       
    84 //----------------------------------------------------
       
    85 //
       
    86 RESOURCE MENU_PANE r_chatclient_chatlist_view_menu
       
    87 {
       
    88     items=
       
    89     {
       
    90         MENU_ITEM { command = EChatClientChatListViewCmdJoin; 
       
    91 					txt = qtn_chat_clist_om_open; 
       
    92 				  },
       
    93         MENU_ITEM { command = EChatClientChatListEnterChatGroup;
       
    94 					txt = qtn_chat_clist_om_enter; 
       
    95 				  },
       
    96 		MENU_ITEM { command = EChatClientChatViewCreateNewChat; 
       
    97 					txt = qtn_chat_clist_om_new; 
       
    98 				  },
       
    99 		
       
   100 		MENU_ITEM { command = EChatClientChatListLeave;
       
   101 					txt = qtn_chat_clist_cgr_sm_leave;
       
   102 				  },
       
   103 				
       
   104         MENU_ITEM { command = EChatClientChatListOptions;
       
   105 					cascade = r_chatclient_chatlist_sub_menu;
       
   106 					txt = qtn_chat_clist_om_cgr;
       
   107 				  },
       
   108 
       
   109 		MENU_ITEM { command = EChatClientChatListSearch;
       
   110 					txt = qtn_chat_clist_om_search;
       
   111 				  },
       
   112         MENU_ITEM { command=EChatClientMainViewCmdChangeStatus; txt = qtn_chat_friend_change_status; },
       
   113         MENU_ITEM { command=EChatClientMainViewCmdLogin; txt = qtn_chat_main_om_login; },
       
   114 		MENU_ITEM { command=EChatClientMainViewCmdLogout; txt = qtn_chat_main_om_logout; },
       
   115 
       
   116 		MENU_ITEM { command = EChatClientChatListSettings;
       
   117 					txt = qtn_chat_settings;
       
   118 				  }   
       
   119     };
       
   120 }
       
   121 
       
   122 RESOURCE MENU_PANE r_chatclient_chatlist_sub_menu
       
   123 {
       
   124 	items=
       
   125 	{
       
   126 		MENU_ITEM { command = EChatClientChatListFavor;
       
   127 					txt = qtn_chat_om_save_favor;
       
   128 				  },
       
   129 		MENU_ITEM { command = EChatClientChatListRmv;
       
   130 					txt = qtn_chat_clist_cgr_sm_rmv;
       
   131 				  },
       
   132 		MENU_ITEM { command = EChatClientChatListPart;
       
   133 					txt = qtn_chat_clist_cgr_sm_part;
       
   134 				  },
       
   135 		MENU_ITEM { command = EChatClientChatListInfo;
       
   136 					txt = qtn_chat_clist_cgr_sm_info;
       
   137 				  },
       
   138 		MENU_ITEM { command = EChatClientChatListEdit;
       
   139 					txt = qtn_chat_clist_cgr_sm_pedit;
       
   140 				  }		
       
   141 	};
       
   142 }
       
   143 
       
   144 
       
   145 RESOURCE TBUF r_qtn_chat_clist_wait_saving { buf = qtn_chat_clist_wait_saving; }
       
   146 RESOURCE TBUF r_qtn_gen_chat_note_processing { buf = qtn_gen_note_processing; }
       
   147 RESOURCE TBUF r_qtn_chat_group_leaving { buf = qtn_chat_group_leaving; }
       
   148 
       
   149 
       
   150 RESOURCE TBUF RSC_CHAT_JOIN_WAIT { buf = qtn_chat_wnote_connecting; }
       
   151 
       
   152 RESOURCE TBUF r_chatlist_view_info_title { buf = qtn_chat_info_heading; }
       
   153 RESOURCE TBUF r_chatlist_view_info_numb_parti { buf = qtn_chat_info_numb_parti;}
       
   154 RESOURCE TBUF r_chatlist_view_info_whis_yes { buf = qtn_chat_proper_whis_yes; }
       
   155 RESOURCE TBUF r_chatlist_view_info_whis_no { buf = qtn_chat_proper_whis_no; }
       
   156 
       
   157 RESOURCE TBUF r_chatlist_view_info_gid { buf = qtn_chat_info_gid; }
       
   158 RESOURCE TBUF r_chatlist_view_info_top { buf = qtn_chat_info_top; }
       
   159 RESOURCE TBUF r_chatlist_view_info_numb { buf = qtn_chat_info_numb; }
       
   160 RESOURCE TBUF r_chatlist_view_info_admin { buf = qtn_chat_info_admin; }
       
   161 RESOURCE TBUF r_chatlist_view_info_banned { buf = qtn_chat_info_banned; }
       
   162 RESOURCE TBUF r_chatlist_view_info_whis { buf = qtn_chat_info_al_whis; }
       
   163 
       
   164 RESOURCE TBUF r_chatlist_view_join_error { buf = qtn_chat_join_note_error; }
       
   165 
       
   166 RESOURCE TBUF r_chatclient_chatlist_enter_chatgroup { buf = qtn_chat_clist_enter;}
       
   167 RESOURCE DIALOG r_chatclient_chatlist_chatgroup_query
       
   168     {
       
   169     flags = EGeneralQueryFlags;
       
   170     buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   171     items=
       
   172         {
       
   173         DLG_LINE
       
   174             {
       
   175             type=EAknCtQuery;
       
   176             id=EGeneralQuery;
       
   177             control= AVKON_DATA_QUERY 
       
   178                 { 
       
   179                 layout = EDataLayout;
       
   180                 label = qtn_chat_clist_enter;
       
   181                 control=EDWIN 
       
   182                     {
       
   183                     flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable; 
       
   184                     maxlength=50; 
       
   185                     width=16; 
       
   186                     lines=1; 
       
   187                     default_case = EAknEditorLowerCase;
       
   188                     avkon_flags = EAknEditorFlagLatinInputModesOnly;
       
   189                     };
       
   190                 };
       
   191             }
       
   192         };
       
   193     }
       
   194 
       
   195 RESOURCE TBUF RSC_CHAT_DELETE_CONFIRMATION 		{ buf = qtn_query_common_conf_delete; }
       
   196 
       
   197 //Prompt for delete chat group query
       
   198 RESOURCE TBUF r_delete_chatgroup_prompt 		{ buf = qtn_chat_query_conf_rmv; }
       
   199 
       
   200 RESOURCE DIALOG r_generic_yes_no_confirmation_query
       
   201 	{
       
   202 	flags=EGeneralQueryFlags;
       
   203 	buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
   204     items=
       
   205 		{
       
   206 		DLG_LINE
       
   207 			{
       
   208 			type=EAknCtQuery;
       
   209 			id=EGeneralQuery;
       
   210 			control= AVKON_CONFIRMATION_QUERY 
       
   211 				{ 
       
   212 					layout = EConfirmationQueryLayout;
       
   213 				};
       
   214 			}
       
   215 		};
       
   216 	}
       
   217 	
       
   218 RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_chat_invite_list_query
       
   219     {
       
   220     items =
       
   221 	    {
       
   222 	    AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE 
       
   223 	        {
       
   224 	        control = AVKON_LIST_QUERY_CONTROL
       
   225 		        {
       
   226 		        listtype = EAknCtSingleGraphicPopupMenuListBox;
       
   227 		        listbox = AVKON_MULTISELECTION_LIST_QUERY_LIST
       
   228 		            {
       
   229 		            
       
   230 		            };
       
   231 		        heading = qtn_chat_invite_prtx;
       
   232 		        };
       
   233 	        }
       
   234 	    };
       
   235     }
       
   236 
       
   237 //----------------------------------------------------------
       
   238 //
       
   239 //		r_chat_invite_cba_buttons
       
   240 //		Resource definition for CBA when querying invitation
       
   241 //
       
   242 //----------------------------------------------------------
       
   243 RESOURCE CBA r_chat_invite_cba_buttons
       
   244 	{
       
   245 	buttons = 
       
   246 	    {
       
   247 		CBA_BUTTON {id=EAknSoftkeyDone; txt = text_softkey_ok; },
       
   248 		CBA_BUTTON {id=EAknSoftkeyCancel; txt = text_softkey_cancel; },
       
   249 	    CBA_BUTTON {id=EAknSoftkeyDone; txt = text_softkey_ok; }
       
   250 	    };
       
   251 	}
       
   252 
       
   253 //----------------------------------------------------------
       
   254 //
       
   255 //		r_chat_invite_cba_buttons_send
       
   256 //		Resource definition for CBA when querying invitation
       
   257 //
       
   258 //----------------------------------------------------------
       
   259 RESOURCE CBA r_chat_invite_cba_buttons_send
       
   260     {
       
   261     buttons =
       
   262         {
       
   263         CBA_BUTTON { id = EAknSoftkeyDone; txt = text_softkey_send; },
       
   264 		CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; },
       
   265 		CBA_BUTTON { id = EAknSoftkeyDone; txt = text_softkey_send; }
       
   266         };
       
   267     }
       
   268 	
       
   269 RESOURCE TBUF r_chat_invite_msg_dq { buf = qtn_chat_invite_msg_dq;}
       
   270 
       
   271 RESOURCE DIALOG r_chat_invite_message_query
       
   272 	{
       
   273 	flags = EEikDialogFlagWait|EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons | EEikDialogFlagNoShadow;
       
   274 	buttons=r_chat_invite_cba_buttons;
       
   275     items=
       
   276 	    {
       
   277 		DLG_LINE
       
   278 			{
       
   279 			type=EAknCtQuery;
       
   280 			id=EGeneralQuery;
       
   281 			itemflags=EEikDlgItemTakesEnterKey;
       
   282 			control= AVKON_DATA_QUERY 
       
   283 				{ 
       
   284 					layout = EDataLayout;
       
   285 					label = qtn_chat_invite_msg_dq;
       
   286 					control=EDWIN 
       
   287 					    {
       
   288 						flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable; 
       
   289 						maxlength=50; 
       
   290 						width=16; 
       
   291 						lines=1; 
       
   292 						default_input_mode=EAknEditorTextInputMode;
       
   293 						};
       
   294 				};
       
   295 			}
       
   296 		};
       
   297 	}
       
   298 
       
   299 RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_chat_created_groups_query
       
   300     {
       
   301     items =
       
   302 	{
       
   303 	AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE 
       
   304 	    {
       
   305 	    control = AVKON_LIST_QUERY_CONTROL
       
   306 		{
       
   307 		listtype = EAknCtSingleGraphicPopupMenuListBox;
       
   308 		listbox = AVKON_MULTISELECTION_LIST_QUERY_LIST
       
   309 		    {
       
   310 		    
       
   311 		    };
       
   312 		heading = qtn_chat_prtx_delete_groups;
       
   313 		};
       
   314 	    }
       
   315 	};
       
   316     }
       
   317 
       
   318 RESOURCE TBUF r_qtn_chat_empty_group_list { buf = qtn_chat_empty_group_list; }
       
   319 
       
   320 // private group alignment
       
   321 RESOURCE TBUF r_chatclient_chatlist_create_group_name { buf = qtn_chat_create_group_name;}
       
   322 RESOURCE DIALOG r_chatclient_chatlist_create_group_name_query
       
   323     {
       
   324     flags = EGeneralQueryFlags;
       
   325     buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   326     items=
       
   327         {
       
   328         DLG_LINE
       
   329             {
       
   330             type=EAknCtQuery;
       
   331             id=EGeneralQuery;
       
   332             control= AVKON_DATA_QUERY 
       
   333                 { 
       
   334                 layout = EDataLayout;
       
   335                 label = qtn_chat_create_group_name;
       
   336                 control=EDWIN 
       
   337                     {
       
   338                     flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable; 
       
   339                     maxlength=50; 
       
   340                     width=16; 
       
   341                     lines=1; 
       
   342                     default_case = EAknEditorLowerCase;
       
   343                     };
       
   344                 };
       
   345             }
       
   346         };
       
   347     }
       
   348 
       
   349 RESOURCE TBUF r_chat_creating_chat_group { buf = qtn_chat_creating_chat_group;}
       
   350 RESOURCE TBUF r_qtn_chat_invite_sending_many { buf = qtn_chat_invite_sending_many; }
       
   351 RESOURCE TBUF r_qtn_chat_cancel_group_creation { buf = qtn_chat_cancel_group_creation; }
       
   352 RESOURCE TBUF r_qtn_chat_group_creation_cancelled { buf = qtn_chat_group_creation_cancelled; }
       
   353 
       
   354 RESOURCE DIALOG r_chat_generic_cancel_confirmation_query
       
   355 	{
       
   356 	flags=EGeneralQueryFlags;
       
   357 	buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
   358     items=
       
   359 		{
       
   360 		DLG_LINE
       
   361 			{
       
   362 			type=EAknCtQuery;
       
   363 			id=EGeneralQuery;
       
   364 			control= AVKON_CONFIRMATION_QUERY 
       
   365 				{ 
       
   366 					layout = EConfirmationQueryLayout;
       
   367 				};
       
   368 			}
       
   369 		};
       
   370 	}