|
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: Conversations list view's resource file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 //---------------------------------------------------- |
|
20 // |
|
21 // r_chat_private_chatlist_view |
|
22 // View-resource definition for private chat list view |
|
23 // |
|
24 //---------------------------------------------------- |
|
25 // |
|
26 RESOURCE AVKON_VIEW r_chat_private_chatlist_view |
|
27 { |
|
28 hotkeys=r_chatclient_hotkeys; |
|
29 menubar=r_chat_menubar_private_chatlist; |
|
30 cba=R_AVKON_SOFTKEYS_SELECTION_LIST; |
|
31 } |
|
32 |
|
33 //---------------------------------------------------- |
|
34 // |
|
35 // r_chatclient_menubar_mainview |
|
36 // Menubar definition for main-view |
|
37 // |
|
38 //---------------------------------------------------- |
|
39 // |
|
40 RESOURCE MENU_BAR r_chat_menubar_private_chatlist |
|
41 { |
|
42 titles= |
|
43 { |
|
44 MENU_TITLE { menu_pane=r_chatclient_general_menu; }, |
|
45 MENU_TITLE { menu_pane=r_chat_menubar_private_chatlist_menu; } |
|
46 }; |
|
47 } |
|
48 |
|
49 //---------------------------------------------------- |
|
50 // |
|
51 // r_chatclient_mainview_menu |
|
52 // Items for menupane in mainview |
|
53 // |
|
54 //---------------------------------------------------- |
|
55 // |
|
56 RESOURCE MENU_PANE r_chat_menubar_private_chatlist_menu |
|
57 { |
|
58 items= |
|
59 { |
|
60 MENU_ITEM { command=EChatPrivateListCmdOpen; txt = qtn_chat_om_conv_open; }, |
|
61 MENU_ITEM { command=EChatPrivateListCmdDelete; txt = qtn_chat_conv_list_delete; }, |
|
62 MENU_ITEM { command=EChatPrivateListCmdAddToFriends; txt = qtn_chat_om_addfriends; }, |
|
63 MENU_ITEM { command=EChatPrivateListCmdNewConvers; cascade = r_chat_private_chatlist_sm_new_conversation; txt = qtn_chat_om_new_convers; }, |
|
64 MENU_ITEM { command=EChatPrivateListCmdBlockOpt; cascade = r_chat_private_chatlist_sm_block; txt = qtn_chat_friend_om_imsg_set; }, |
|
65 MENU_ITEM { command=EChatClientMainViewCmdChangeStatus; txt = qtn_chat_friend_change_status; }, |
|
66 MENU_ITEM { command=EChatPrivateListCmdCloseConvers; txt = qtn_chat_om_close_conv; }, |
|
67 MENU_ITEM { command=EChatClientMainViewCmdLogin; txt = qtn_chat_main_om_login; }, |
|
68 MENU_ITEM { command=EChatClientMainViewCmdLogout; txt = qtn_chat_main_om_logout; }, |
|
69 MENU_ITEM { command=EChatPrivateListCmdSettings; txt = qtn_chat_settings; } |
|
70 }; |
|
71 } |
|
72 |
|
73 RESOURCE MENU_PANE r_chat_private_chatlist_sm_new_conversation |
|
74 { |
|
75 items = |
|
76 { |
|
77 MENU_ITEM |
|
78 { |
|
79 command = EChatPrivateListCmdNewConvers; |
|
80 txt = qtn_im_p2p_recip_select; |
|
81 }, |
|
82 MENU_ITEM |
|
83 { |
|
84 command = EChatPrivateListWriteNewConvers; |
|
85 txt = qtn_im_p2p_recip_write; |
|
86 }, |
|
87 MENU_ITEM |
|
88 { |
|
89 command = EChatPrivateListCmdSelectRecipient; |
|
90 txt = qtn_chat_opt_new_conversation; |
|
91 } |
|
92 }; |
|
93 } |
|
94 |
|
95 RESOURCE MENU_PANE r_chat_private_chatlist_sm_block |
|
96 { |
|
97 items = |
|
98 { |
|
99 MENU_ITEM |
|
100 { |
|
101 command = EChatPrivateListBlock; |
|
102 txt = qtn_chat_friend_om_block; |
|
103 }, |
|
104 |
|
105 MENU_ITEM |
|
106 { |
|
107 command = EChatPrivateListBlockEnter; |
|
108 txt = qtn_chat_friend_block_enter; |
|
109 }, |
|
110 |
|
111 MENU_ITEM |
|
112 { |
|
113 command = EChatPrivateListBlockShow; |
|
114 txt = qtn_chat_friend_block_showl; |
|
115 }, |
|
116 |
|
117 MENU_ITEM |
|
118 { |
|
119 command = EChatPrivateListUnblock; |
|
120 txt = qtn_chat_friend_block_unblock; |
|
121 } |
|
122 |
|
123 }; |
|
124 } |
|
125 |
|
126 RESOURCE TBUF r_chat_private_chat_list_title { buf = qtn_chat_p2p_title; } |
|
127 RESOURCE TBUF r_chat_conv_list_inv_del { buf = qtn_chat_conv_list_inv_del; } |
|
128 |
|
129 RESOURCE AVKON_LIST_QUERY r_private_chat_list_select_recip_dlg |
|
130 { |
|
131 items = |
|
132 { |
|
133 AVKON_LIST_QUERY_DLG_LINE |
|
134 { |
|
135 control = AVKON_LIST_QUERY_CONTROL |
|
136 { |
|
137 listtype = EAknCtSinglePopupMenuListBox; |
|
138 listbox = AVKON_LIST_QUERY_LIST |
|
139 { |
|
140 |
|
141 }; |
|
142 heading = qtn_chat_ibox_sel_resip; |
|
143 }; |
|
144 } |
|
145 }; |
|
146 } |
|
147 |
|
148 RESOURCE TBUF r_chatclient_convlist_enter_recip { buf = qtn_im_prtx_write_recip;} |
|
149 RESOURCE DIALOG r_chatclient_convlist_recip_query |
|
150 { |
|
151 flags = EGeneralQueryFlags; |
|
152 buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
153 items= |
|
154 { |
|
155 DLG_LINE |
|
156 { |
|
157 type=EAknCtQuery; |
|
158 id=EGeneralQuery; |
|
159 control= AVKON_DATA_QUERY |
|
160 { |
|
161 layout = EDataLayout; |
|
162 label = qtn_im_prtx_write_recip; |
|
163 control=EDWIN |
|
164 { |
|
165 flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
166 maxlength=50; |
|
167 width=16; |
|
168 lines=1; |
|
169 default_case = EAknEditorTextCase; |
|
170 |
|
171 //avkon_flags = EAknEditorFlagLatinInputModesOnly; |
|
172 }; |
|
173 }; |
|
174 } |
|
175 }; |
|
176 } |
|
177 |
|
178 // numeric-input enabled r_chatclient_convlist_recip_query dialog |
|
179 RESOURCE DIALOG r_chatclient_convlist_recip_query2 |
|
180 { |
|
181 flags = EGeneralQueryFlags; |
|
182 buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
183 items= |
|
184 { |
|
185 DLG_LINE |
|
186 { |
|
187 type=EAknCtQuery; |
|
188 id=EGeneralQuery; |
|
189 control= AVKON_DATA_QUERY |
|
190 { |
|
191 layout = EDataLayout; |
|
192 label = qtn_im_prtx_write_recip; |
|
193 control=EDWIN |
|
194 { |
|
195 flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
196 maxlength=50; |
|
197 width=16; |
|
198 lines=1; |
|
199 default_case = EAknEditorLowerCase; |
|
200 //avkon_flags = EAknEditorFlagLatinInputModesOnly; |
|
201 default_input_mode = EAknEditorNumericInputMode; |
|
202 }; |
|
203 }; |
|
204 } |
|
205 }; |
|
206 } |
|
207 |
|
208 RESOURCE TBUF r_private_chat_forward_title_group { buf = qtn_chat_om_forward_to_group; } |
|
209 RESOURCE TBUF r_qtn_chat_empty_convers_list { buf = qtn_chat_empty_convers_list; } |
|
210 |
|
211 |
|
212 // End of File |