|
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 the License "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 * Dialogs Provider resource file |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 // INCLUDES |
|
21 #include "BrowserDialogsProvider.hrh" |
|
22 #include <BrowserDialogsProvider.loc> |
|
23 |
|
24 #include <avkon.rsg> |
|
25 #include <avkon.rh> |
|
26 #include <avkon.loc> |
|
27 #include <eikon.rh> |
|
28 #include <uikon.rh> |
|
29 #include <CommonDialogs.rh> |
|
30 #include <PathConfiguration.hrh> |
|
31 |
|
32 NAME BRDP // for Browser Dialogs Provider |
|
33 |
|
34 RESOURCE RSS_SIGNATURE { } |
|
35 |
|
36 //----------------------------------------------------------------------------- |
|
37 // RESOURCE IDENTIFIER |
|
38 // |
|
39 |
|
40 RESOURCE TBUF r_browser_dlgprov_query_script_prompt { buf=qtn_browser_dlgprov_query_script_prompt; } |
|
41 |
|
42 |
|
43 //----------------------------------------------------------------------------- |
|
44 // Download Dialog Object |
|
45 // |
|
46 RESOURCE TBUF r_browser_dlgprov_obj_download_title { buf = qtn_browser_dlgprov_query_object_info_header; } |
|
47 RESOURCE TBUF r_browser_dlgprov_obj_download_not_supported { buf = qtn_browser_dlgprov_query_object_info_notsupported; } |
|
48 RESOURCE TBUF r_browser_dlgprov_obj_download_size { buf = qtn_browser_dlgprov_query_object_info_filesize; } |
|
49 RESOURCE TBUF r_browser_dlgprov_unit_kb { buf = qtn_browser_dlgprov_unit_kb; } |
|
50 RESOURCE TBUF r_wml_decimal_separator { buf = text_calc_decimal_separator; } |
|
51 RESOURCE TBUF r_browser_dlgprov_unit_mb { buf = qtn_browser_dlgprov_unit_mb; } |
|
52 RESOURCE TBUF r_browser_dlgprov_obj_download_unknown { buf = qtn_browser_dlgprov_query_object_unknown; } |
|
53 RESOURCE TBUF r_browser_dlgprov_obj_download_openwith { buf = qtn_browser_dlgprov_query_object_info_openwith; } |
|
54 RESOURCE TBUF r_browser_dlgprov_obj_download_filetype { buf = qtn_browser_dlgprov_query_object_info_filetype; } |
|
55 |
|
56 // Authentication Dialog |
|
57 RESOURCE TBUF r_browser_dlgprov_auth_fail_retry_query { buf=text_wml_auth_fail_retry_query; } |
|
58 RESOURCE TBUF r_browser_dlgprov_query_basic_authentication { buf=qtn_browser_dlgprov_query_basic_authentication; } |
|
59 |
|
60 // |
|
61 // =================================================== |
|
62 // File Upload Dialog |
|
63 // =================================================== |
|
64 RESOURCE MEMORYSELECTIONDIALOG r_memory_selection_dialog |
|
65 { |
|
66 locations = |
|
67 { |
|
68 LOCATION { root_path = text_phone_memory_root_path; }, |
|
69 LOCATION { root_path = text_memory_card_root_path; } |
|
70 }; |
|
71 } |
|
72 |
|
73 // For DialogDisplayPageImagesL |
|
74 //---------------------------------------------------- |
|
75 // |
|
76 // View images popup texts |
|
77 // |
|
78 //---------------------------------------------------- |
|
79 RESOURCE CBA r_dialogsprovider_viewimages_buttons |
|
80 { |
|
81 flags = EAknCBAFlagRespondWhenInvisible; |
|
82 buttons = |
|
83 { |
|
84 CBA_BUTTON {id=EDialogsProviderCmdViewImagesView; txt=text_softkey_ok;}, |
|
85 CBA_BUTTON {id=EAknSoftkeyCancel; txt=text_softkey_cancel;}, |
|
86 CBA_BUTTON {id=EDialogsProviderCmdViewImagesView; txt=text_softkey_ok;} |
|
87 }; |
|
88 } |
|
89 |
|
90 RESOURCE TBUF r_browser_query_select_image { buf = qtn_browser_query_select_image; } |
|
91 |
|
92 // For DialogPromptLC |
|
93 // --------------------------------------------------------- |
|
94 // |
|
95 // r_data_query_with_heading |
|
96 // |
|
97 // --------------------------------------------------------- |
|
98 // |
|
99 RESOURCE DIALOG r_data_query_with_heading |
|
100 { |
|
101 flags=EGeneralQueryFlags | EEikDialogFlagNoShadow; |
|
102 buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
103 items= |
|
104 { |
|
105 DLG_LINE |
|
106 { |
|
107 type = EAknCtPopupHeadingPane; |
|
108 id = EAknMessageQueryHeaderId; |
|
109 control = AVKON_HEADING |
|
110 { |
|
111 label = qtn_browser_dlgprov_query_script_prompt; |
|
112 }; |
|
113 }, |
|
114 DLG_LINE |
|
115 { |
|
116 type=EAknCtQuery; |
|
117 id=EGeneralQuery; |
|
118 control= AVKON_DATA_QUERY |
|
119 { |
|
120 layout = EStaticSizeDataLayout; // Use this when you have a heading in data query |
|
121 control=EDWIN |
|
122 { |
|
123 flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
124 }; |
|
125 }; |
|
126 } |
|
127 }; |
|
128 } |
|
129 |
|
130 // For ConfirmQueryDialogL |
|
131 // --------------------------------------------------------- |
|
132 // |
|
133 // r_browser_confirm_query |
|
134 // |
|
135 // --------------------------------------------------------- |
|
136 // |
|
137 RESOURCE DIALOG r_browser_confirm_query |
|
138 { |
|
139 flags = EGeneralQueryFlags; |
|
140 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
141 items = |
|
142 { |
|
143 DLG_LINE |
|
144 { |
|
145 type = EAknCtQuery; |
|
146 id = EGeneralQuery; |
|
147 control= AVERELL_CONFIRMATION_QUERY |
|
148 { |
|
149 layout = EConfirmationLayout; |
|
150 label = ""; |
|
151 }; |
|
152 } |
|
153 }; |
|
154 } |
|
155 |
|
156 |
|
157 // User Authentication Dialog |
|
158 // --------------------------------------------------------- |
|
159 // |
|
160 // r_wb_script_userpasswd_lines_non_japan |
|
161 // |
|
162 // --------------------------------------------------------- |
|
163 // |
|
164 RESOURCE DIALOG r_wb_script_userpasswd_lines_non_japan |
|
165 { |
|
166 flags=EGeneralQueryFlags; |
|
167 buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
168 items= |
|
169 { |
|
170 DLG_LINE |
|
171 { |
|
172 type=EAknCtMultilineQuery; |
|
173 id=EMultilineFirstLine; |
|
174 control = AVERELL_DATA_QUERY |
|
175 { |
|
176 layout = EMultiDataFirstEdwin; |
|
177 label = text_wml_username_query; |
|
178 control = EDWIN |
|
179 { |
|
180 flags=0; |
|
181 width=5; |
|
182 lines=1; |
|
183 maxlength = KBrowserDialogsProviderMaxUsername; |
|
184 default_case = EAknEditorLowerCase; |
|
185 allowed_case_modes = EAknEditorAllCaseModes; |
|
186 allowed_input_modes= EAknEditorTextInputMode| EAknEditorNumericInputMode; |
|
187 default_input_mode = EAknEditorTextInputMode; |
|
188 }; |
|
189 }; |
|
190 }, |
|
191 DLG_LINE |
|
192 { |
|
193 type=EAknCtMultilineQuery; |
|
194 id=EMultilineSecondLine; |
|
195 control= AVERELL_DATA_QUERY |
|
196 { |
|
197 layout = EMultiDataSecondSecEd; |
|
198 label = text_wml_passwd_query; |
|
199 control = SECRETED |
|
200 { |
|
201 num_letters=KBrowserDialogsProviderMaxPassword; |
|
202 }; |
|
203 }; |
|
204 } |
|
205 }; |
|
206 } |
|
207 |
|
208 // --------------------------------------------------------- |
|
209 // |
|
210 // r_wb_script_userpasswd_lines_japan |
|
211 // |
|
212 // --------------------------------------------------------- |
|
213 // |
|
214 RESOURCE DIALOG r_wb_script_userpasswd_lines_japan |
|
215 { |
|
216 flags=EGeneralQueryFlags; |
|
217 buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
218 items= |
|
219 { |
|
220 DLG_LINE |
|
221 { |
|
222 type=EAknCtMultilineQuery; |
|
223 id=EMultilineFirstLine; |
|
224 control = AVERELL_DATA_QUERY |
|
225 { |
|
226 layout = EMultiDataFirstEdwin; |
|
227 label = text_wml_username_query; |
|
228 control = EDWIN |
|
229 { |
|
230 flags=0; |
|
231 width=5; |
|
232 lines=1; |
|
233 maxlength = KBrowserDialogsProviderMaxUsername; |
|
234 default_case = EAknEditorLowerCase; |
|
235 allowed_case_modes = EAknEditorAllCaseModes; |
|
236 allowed_input_modes= EAknEditorTextInputMode| EAknEditorNumericInputMode | EAknEditorFullWidthTextInputMode | EAknEditorHalfWidthTextInputMode; |
|
237 default_input_mode = EAknEditorHalfWidthTextInputMode; |
|
238 }; |
|
239 }; |
|
240 }, |
|
241 DLG_LINE |
|
242 { |
|
243 type=EAknCtMultilineQuery; |
|
244 id=EMultilineSecondLine; |
|
245 control= AVERELL_DATA_QUERY |
|
246 { |
|
247 layout = EMultiDataSecondSecEd; |
|
248 label = text_wml_passwd_query; |
|
249 control = SECRETED |
|
250 { |
|
251 num_letters=KBrowserDialogsProviderMaxPassword; |
|
252 }; |
|
253 }; |
|
254 } |
|
255 }; |
|
256 |
|
257 } |
|
258 RESOURCE DIALOG r_dialogsprovider_ok_note |
|
259 { |
|
260 flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | |
|
261 EEikDialogFlagCbaButtons | EEikDialogFlagWait; |
|
262 items = |
|
263 { |
|
264 DLG_LINE |
|
265 { |
|
266 type = EAknCtNote; |
|
267 id = EGeneralNote; |
|
268 control = AVERELL_NOTE |
|
269 { |
|
270 layout = EGeneralLayout; |
|
271 singular_label = ""; |
|
272 plural_label = ""; |
|
273 animation = R_QGN_NOTE_OK_ANIM; |
|
274 }; |
|
275 } |
|
276 }; |
|
277 } |
|
278 |
|
279 |
|
280 |
|
281 RESOURCE DIALOG r_browser_message_query_dialog |
|
282 { |
|
283 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
284 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
285 items= |
|
286 { |
|
287 DLG_LINE |
|
288 { |
|
289 type = EAknCtPopupHeadingPane; |
|
290 id = EAknMessageQueryHeaderId; |
|
291 control = AVKON_HEADING |
|
292 { |
|
293 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
294 }; |
|
295 }, |
|
296 DLG_LINE |
|
297 { |
|
298 type = EAknCtMessageQuery; |
|
299 id = EAknMessageQueryContentId; |
|
300 control = AVKON_MESSAGE_QUERY |
|
301 { |
|
302 }; |
|
303 } |
|
304 }; |
|
305 } |
|
306 |
|
307 |
|
308 //----------------------------------------------------------------------------- |
|
309 // |
|
310 // Upload progress note strings |
|
311 // |
|
312 //----------------------------------------------------------------------------- |
|
313 // |
|
314 RESOURCE TBUF r_qtn_browser_upload_progressnote_uploaded { buf = qtn_browser_upload_progressnote_uploaded; } |
|
315 RESOURCE TBUF r_qtn_browser_upload_progressnote_unit_kbyte { buf = qtn_browser_upload_progressnote_unit_kbyte; } |
|
316 RESOURCE TBUF r_qtn_browser_upload_progressnote_unit_mb { buf = qtn_browser_upload_progressnote_unit_mb; } |
|
317 |
|
318 //---------------------------------------------------- |
|
319 // r_upload_progressnote |
|
320 // Upload progress note dialog. |
|
321 //---------------------------------------------------- |
|
322 // |
|
323 RESOURCE DIALOG r_upload_progressnote |
|
324 { |
|
325 flags = EAknProgressNoteFlags; |
|
326 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
327 items = |
|
328 { |
|
329 DLG_LINE |
|
330 { |
|
331 type = EAknCtNote; |
|
332 id = EGeneralNote; |
|
333 control = AVKON_NOTE |
|
334 { |
|
335 layout = EProgressLayout; |
|
336 animation = 0; |
|
337 }; |
|
338 } |
|
339 }; |
|
340 } |
|
341 // End of File |