|
1 /* |
|
2 * Copyright (c) 2002 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: |
|
15 * Mce 'Delivery Report' view menu items. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 // RESOURCE IDENTIFIER |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 #include <avkon.hrh> |
|
26 #include "MceCommands.hrh" // UID enumeration. |
|
27 #include <mcelogeng.loc> // Localization |
|
28 |
|
29 #include <bldvariant.hrh> |
|
30 |
|
31 #include <avkon.loc> |
|
32 |
|
33 // RESOURCE DEFINITIONS |
|
34 |
|
35 ///////////////////////////////////////////////////// |
|
36 /// Text strings. |
|
37 ///////////////////////////////////////////////////// |
|
38 |
|
39 /** |
|
40 * Delivery Reports view texts. |
|
41 */ |
|
42 RESOURCE TBUF r_mce_delivery_report_no_log_text |
|
43 { |
|
44 buf = qtn_mce_dr_log_no_reports; |
|
45 } |
|
46 |
|
47 /** |
|
48 * Delivery Reports view texts. |
|
49 */ |
|
50 RESOURCE TBUF r_mce_delivery_report_no_reports_text |
|
51 { |
|
52 buf = qtn_mce_dr_sent_log_no_reports; |
|
53 } |
|
54 |
|
55 /** |
|
56 * Delivery Reports view texts. |
|
57 */ |
|
58 RESOURCE TBUF r_mce_delivery_report_date_string_text |
|
59 { |
|
60 buf = qtn_date_usual_with_zero; |
|
61 } |
|
62 |
|
63 /** |
|
64 * Delivery Reports view texts. |
|
65 */ |
|
66 RESOURCE TBUF r_mce_delivery_report_time_string_text |
|
67 { |
|
68 buf = qtn_time_usual_with_zero; |
|
69 } |
|
70 |
|
71 /** |
|
72 * Delivery Reports view texts. |
|
73 */ |
|
74 RESOURCE TBUF r_mce_delivery_report_no_log_lbx_text |
|
75 { |
|
76 buf = qtn_mce_sent_dr_no_reports; |
|
77 } |
|
78 |
|
79 /** |
|
80 * Query dialog text |
|
81 */ |
|
82 RESOURCE TBUF r_mce_delivery_report_call_to_text |
|
83 { |
|
84 buf = qtn_mce_call_to; |
|
85 } |
|
86 |
|
87 ///////////////////////////////////////////////////// |
|
88 /// Popup note. |
|
89 ///////////////////////////////////////////////////// |
|
90 |
|
91 /** |
|
92 * Note displayed if there's no reports due to Log app |
|
93 */ |
|
94 RESOURCE DIALOG r_mce_dr_no_log_note |
|
95 { |
|
96 flags = EGeneralQueryFlags; |
|
97 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
98 items = |
|
99 { |
|
100 DLG_LINE |
|
101 { |
|
102 type = EAknCtNote; |
|
103 id = EGeneralNote; |
|
104 control = AVKON_NOTE |
|
105 { |
|
106 layout = EGeneralLayout; |
|
107 singular_label = qtn_mce_dr_log_no_reports; |
|
108 animation = R_QGN_NOTE_INFO_ANIM; |
|
109 }; |
|
110 } |
|
111 }; |
|
112 } |
|
113 |
|
114 ///////////////////////////////////////////////////// |
|
115 /// Call to query |
|
116 ///////////////////////////////////////////////////// |
|
117 RESOURCE DIALOG r_call_to_query |
|
118 { |
|
119 flags = EGeneralQueryFlags; |
|
120 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
121 items = |
|
122 { |
|
123 DLG_LINE |
|
124 { |
|
125 type = EAknCtQuery; |
|
126 id = EGeneralQuery; |
|
127 control = AVKON_CONFIRMATION_QUERY |
|
128 { |
|
129 layout = EConfirmationLayout; |
|
130 }; |
|
131 } |
|
132 }; |
|
133 } |
|
134 |
|
135 |
|
136 ///////////////////////////////////////////////////// |
|
137 /// Menu definitions. |
|
138 ///////////////////////////////////////////////////// |
|
139 |
|
140 /** |
|
141 * Logs 'Delivery Report' view system menu items. |
|
142 */ |
|
143 RESOURCE MENU_PANE r_mce_delivery_report_system_menu |
|
144 { |
|
145 items= |
|
146 { |
|
147 MENU_ITEM |
|
148 { |
|
149 command = EMceClearDrList; |
|
150 txt = qtn_mce_reports_clear; |
|
151 }, |
|
152 MENU_ITEM |
|
153 { |
|
154 command = EAknCmdHelp; |
|
155 txt = qtn_options_help; |
|
156 }, |
|
157 MENU_ITEM |
|
158 { |
|
159 command = EMceCmdExit; |
|
160 txt = qtn_mce_exit; |
|
161 } |
|
162 }; |
|
163 } |
|
164 |
|
165 /** |
|
166 * Logs 'Delivery Report' view menubar. |
|
167 */ |
|
168 RESOURCE MENU_BAR r_mce_delivery_report_menubar |
|
169 { |
|
170 titles = |
|
171 { |
|
172 // System menu |
|
173 MENU_TITLE |
|
174 { |
|
175 menu_pane = r_mce_delivery_report_system_menu; |
|
176 txt=""; |
|
177 } |
|
178 }; |
|
179 } |
|
180 |
|
181 /** |
|
182 * 'Delivery Report' OK options list |
|
183 */ |
|
184 RESOURCE MENU_PANE r_mce_delivery_report_ok_menu |
|
185 { |
|
186 items = |
|
187 { |
|
188 MENU_ITEM |
|
189 { |
|
190 command = EMceCmdCall; |
|
191 txt = qtn_mce_call; |
|
192 } |
|
193 }; |
|
194 } |
|
195 |
|
196 /** |
|
197 * 'Delivery Report' OK options list menu bar. |
|
198 */ |
|
199 RESOURCE MENU_BAR r_mce_delivery_report_ok_menubar |
|
200 { |
|
201 titles = |
|
202 { |
|
203 MENU_TITLE |
|
204 { |
|
205 menu_pane = r_mce_delivery_report_ok_menu; |
|
206 txt=""; |
|
207 } |
|
208 }; |
|
209 } |
|
210 |
|
211 |
|
212 /** |
|
213 * Mce 'Delivery Report' view definition. |
|
214 */ |
|
215 RESOURCE AVKON_VIEW r_mce_delivery_report_view |
|
216 { |
|
217 menubar=r_mce_delivery_report_menubar; |
|
218 cba = r_mce_softkeys_options_back_options; |
|
219 } |
|
220 |
|
221 /** |
|
222 * Clear list query's definition |
|
223 */ |
|
224 RESOURCE DIALOG r_mce_clear_list_confirmation_query |
|
225 { |
|
226 flags = EGeneralQueryFlags; |
|
227 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
228 items = |
|
229 { |
|
230 DLG_LINE |
|
231 { |
|
232 type = EAknCtQuery; |
|
233 id = EGeneralQuery; |
|
234 control = AVKON_CONFIRMATION_QUERY |
|
235 { |
|
236 layout = EConfirmationLayout; |
|
237 label = qtn_mce_reports_clear_query; |
|
238 }; |
|
239 } |
|
240 }; |
|
241 } |
|
242 |
|
243 //---------------------------------------------------- |
|
244 // |
|
245 // r_mce_softkeys_options_back_options |
|
246 // |
|
247 //---------------------------------------------------- |
|
248 // |
|
249 RESOURCE CBA r_mce_softkeys_options_back_options |
|
250 { |
|
251 buttons = |
|
252 { |
|
253 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
254 CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; }, |
|
255 CBA_BUTTON {id=EAknSoftkeyContextOptions; txt = text_softkey_option;} |
|
256 }; |
|
257 } |
|
258 |
|
259 // End of File |