|
1 /* |
|
2 * Copyright (c) 2005-2006 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 for SyncML notifier component. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // RESOURCE IDENTIFIER |
|
21 NAME SMLN |
|
22 |
|
23 // INCLUDES |
|
24 #include <bldvariant.hrh> |
|
25 #include <eikon.rsg> |
|
26 #include <eikon.rh> |
|
27 |
|
28 #include <avkon.rsg> |
|
29 #include <avkon.rh> |
|
30 #include <avkon.mbg> |
|
31 #include <avkon.loc> |
|
32 |
|
33 #include "SyncMLNotifier.hrh" |
|
34 #include <syncmlnotifier.loc> |
|
35 #include <syncmlnotifierfota.loc> |
|
36 |
|
37 RESOURCE RSS_SIGNATURE { } |
|
38 |
|
39 RESOURCE TBUF { buf=""; } |
|
40 |
|
41 |
|
42 // CONSTANTS |
|
43 |
|
44 // MACROS |
|
45 |
|
46 // RESOURCE DEFINITIONS |
|
47 |
|
48 // ============================================================================= |
|
49 // POP-UP QUERY TEXTS |
|
50 // |
|
51 // ----------------------------------------------------------------------------- |
|
52 // |
|
53 // r_sml_init_ds_server_prompt |
|
54 // Text for the server initiated synchronisation session acception |
|
55 // pop-up query. |
|
56 // |
|
57 // ----------------------------------------------------------------------------- |
|
58 // |
|
59 RESOURCE TBUF r_sml_init_ds_server_prompt { buf = qtn_ds_query_accept_configuration; } |
|
60 |
|
61 // ----------------------------------------------------------------------------- |
|
62 // |
|
63 // r_sml_init_dm_server_prompt |
|
64 // Text for the server initiated management session acception |
|
65 // pop-up query. |
|
66 // |
|
67 // ----------------------------------------------------------------------------- |
|
68 // |
|
69 RESOURCE TBUF r_sml_init_dm_server_prompt { buf = qtn_dm_query_accept_configuration; } |
|
70 |
|
71 // ----------------------------------------------------------------------------- |
|
72 // |
|
73 // r_sml_init_dm_server_prompt |
|
74 // Text for the server initiated management session acception for chinese variant |
|
75 // pop-up query. |
|
76 // |
|
77 // ----------------------------------------------------------------------------- |
|
78 RESOURCE TBUF r_qtn_dm_query_accept_postsale { buf = qtn_dm_query_accept_postsale ; } |
|
79 |
|
80 // |
|
81 // ----------------------------------------------------------------------------- |
|
82 // |
|
83 // r_fota_conf_query_connection_is_needed |
|
84 // Text for the server initiated management session acception |
|
85 // pop-up query. |
|
86 // |
|
87 // ----------------------------------------------------------------------------- |
|
88 // |
|
89 RESOURCE TBUF r_fota_conf_query_connection_is_needed { buf = qtn_fota_conf_query_connection_is_needed; } |
|
90 |
|
91 // ----------------------------------------------------------------------------- |
|
92 // |
|
93 // r_sml_server_msg_prompt |
|
94 // Text for the server initiated management session acception |
|
95 // pop-up query. |
|
96 // |
|
97 // ----------------------------------------------------------------------------- |
|
98 // |
|
99 RESOURCE TBUF r_sml_server_msg_prompt { buf = qtn_sml_server_message_heading; } |
|
100 |
|
101 // ----------------------------------------------------------------------------- |
|
102 // |
|
103 // r_fota_notif_complete |
|
104 // Text indicating that the firmware update was successful. |
|
105 // |
|
106 // ----------------------------------------------------------------------------- |
|
107 // |
|
108 RESOURCE TBUF r_fota_notif_complete { buf = qtn_fota_notif_complete; } |
|
109 |
|
110 // ----------------------------------------------------------------------------- |
|
111 // |
|
112 // r_fota_notif_complete |
|
113 // Text indicating that the firmware update was not successful. |
|
114 // |
|
115 // ----------------------------------------------------------------------------- |
|
116 // |
|
117 RESOURCE TBUF r_fota_msg_query_not_updated { buf = qtn_fota_msg_query_not_updated; } |
|
118 |
|
119 // ----------------------------------------------------------------------------- |
|
120 // |
|
121 // r_fota_battery_low |
|
122 // Text indicating that there is not enough battery power to perform |
|
123 // firmware update. |
|
124 // |
|
125 // ----------------------------------------------------------------------------- |
|
126 // |
|
127 RESOURCE TBUF r_fota_battery_low { buf = qtn_fota_battery_low; } |
|
128 // |
|
129 //---------------------------------------------------------------------------- |
|
130 // r_fota_battery_low |
|
131 // Text indicating that there is not enough battery power to perform |
|
132 // firmware update. |
|
133 // |
|
134 // ----------------------------------------------------------------------------- |
|
135 // |
|
136 RESOURCE TBUF r_fota_usb_battery_low { buf = qtn_fota_msg_query_update_usb_charger; } |
|
137 // |
|
138 // ----------------------------------------------------------------------------- |
|
139 // |
|
140 // r_fota_lost_connection |
|
141 // Text indicating that the connection was lost during management |
|
142 // or FOTA package download. |
|
143 // |
|
144 // ----------------------------------------------------------------------------- |
|
145 // |
|
146 RESOURCE TBUF r_fota_lost_connection { buf = qtn_fota_err_lost_connection; } |
|
147 |
|
148 // ----------------------------------------------------------------------------- |
|
149 // |
|
150 // r_fota_server_error |
|
151 // Text indicating that the server returned an internal error when |
|
152 // the phone tried to connect to it. |
|
153 // |
|
154 // ----------------------------------------------------------------------------- |
|
155 // |
|
156 RESOURCE TBUF r_fota_server_error { buf = qtn_fota_server_error; } |
|
157 |
|
158 // ----------------------------------------------------------------------------- |
|
159 // |
|
160 // r_fota_not_permitted |
|
161 // Text indicating that firmware updating is not permitted. |
|
162 // |
|
163 // ----------------------------------------------------------------------------- |
|
164 // |
|
165 RESOURCE TBUF r_fota_not_permitted { buf = qtn_fota_not_permitted; } |
|
166 |
|
167 // ----------------------------------------------------------------------------- |
|
168 // |
|
169 // r_fota_query_install_now |
|
170 // Text indicating that firmware updating is not permitted. |
|
171 // |
|
172 // ----------------------------------------------------------------------------- |
|
173 // |
|
174 RESOURCE TBUF r_fota_query_install_now { buf = qtn_fota_conf_query_install_now; } |
|
175 |
|
176 // ----------------------------------------------------------------------------- |
|
177 // |
|
178 // r_fota_update_1_warning |
|
179 // First confirmation query describing the effect of firmware update. |
|
180 // |
|
181 // ----------------------------------------------------------------------------- |
|
182 // |
|
183 RESOURCE TBUF r_fota_update_1_warning { buf = qtn_fota_msg_query_update_1_warning; } |
|
184 |
|
185 // ----------------------------------------------------------------------------- |
|
186 // |
|
187 // r_fota_update_2_warning |
|
188 // Second confirmation query describing the effect of firmware update. |
|
189 // |
|
190 // ----------------------------------------------------------------------------- |
|
191 // |
|
192 RESOURCE TBUF r_fota_update_2_warning { buf = qtn_fota_msg_query_update_2_warning; } |
|
193 |
|
194 // ----------------------------------------------------------------------------- |
|
195 // |
|
196 // r_fota_custom_warning |
|
197 // confirmation query describing the effect of firmware update(chinese variant). |
|
198 // |
|
199 // ----------------------------------------------------------------------------- |
|
200 // |
|
201 RESOURCE TBUF r_qtn_fota_msg_query_update_custom_warning {buf = qtn_fota_msg_query_update_custom_warning;} |
|
202 |
|
203 // ----------------------------------------------------------------------------- |
|
204 // |
|
205 // r_fota_reboot_note |
|
206 // Text indicating that firmware updating is not permitted. |
|
207 // |
|
208 // ----------------------------------------------------------------------------- |
|
209 // |
|
210 RESOURCE TBUF r_fota_reboot_note { buf = qtn_fota_restarting_for_update; } |
|
211 |
|
212 // ----------------------------------------------------------------------------- |
|
213 // |
|
214 // r_fota_update_reminder |
|
215 // Text informing the user that he may installe the update from |
|
216 // device manager application. |
|
217 // |
|
218 // ----------------------------------------------------------------------------- |
|
219 // |
|
220 RESOURCE TBUF r_fota_update_reminder { buf = qtn_fota_msg_query_update_reminder; } |
|
221 |
|
222 // ----------------------------------------------------------------------------- |
|
223 // |
|
224 // r_fota_title_phone_updates |
|
225 // Header text for firmware update specific queries. |
|
226 // |
|
227 // ----------------------------------------------------------------------------- |
|
228 // |
|
229 RESOURCE TBUF r_fota_title_phone_updates { buf = qtn_fota_query_title_phone_updates; } |
|
230 //#ifdef RD_FOTA_FLEXIBLE_MEMORY_USAGE |
|
231 RESOURCE TBUF r_fota_large_no_flexible_memory { buf = qtn_fota_note_not_enough_disk_space; } |
|
232 RESOURCE TBUF r_fota_omadl_no_flexible_memory { buf = qtn_fota_querry_not_enough_disk_space; } |
|
233 //#endif |
|
234 //#ifdef RD_DM_TEXT_INPUT_ALERT |
|
235 RESOURCE TBUF r_default_alert_heading { buf = qtn_sml_server_message_heading; } |
|
236 //#endif |
|
237 RESOURCE TBUF r_fota_user_cancel { buf = qtn_fota_query_download_continue; } |
|
238 RESOURCE TBUF r_fota_download_postponed { buf = qtn_fota_query_download_postponed; } |
|
239 RESOURCE TBUF r_fota_download_cancelled { buf = qtn_fota_query_download_cancelled; } |
|
240 RESOURCE TBUF r_fota_connection_fail2 { buf = qtn_fota_query_download_conn_lost; } |
|
241 RESOURCE TBUF r_fota_download_general_resume { buf = qtn_fota_query_download_error_continue; } |
|
242 RESOURCE TBUF r_fota_download_no_resume { buf = qtn_fota_query_download_error_restart; } |
|
243 RESOURCE TBUF r_fota_download_resume { buf = qtn_fota_query_download_resume; } |
|
244 |
|
245 // Header text for encryption related queries |
|
246 RESOURCE TBUF r_fota_update_dec_warning { buf = qtn_fota_msg_query_update_dec_warning; } |
|
247 RESOURCE TBUF r_fota_update_enc { buf = qtn_fota_msg_query_update_encrypt; } |
|
248 RESOURCE TBUF r_fota_update_enc_battery_low { buf = qtn_fota_battery_encryption_low; } |
|
249 RESOURCE TBUF r_fota_device_memory_busy { buf = qtn_fota_device_busy; } |
|
250 // ============================================================================= |
|
251 // SOFTKEYS |
|
252 // |
|
253 // ----------------------------------------------------------------------------- |
|
254 // |
|
255 // r_sml_softkeys_accept_cancel |
|
256 // Query for the server initiated session acception. |
|
257 // |
|
258 // ----------------------------------------------------------------------------- |
|
259 // |
|
260 RESOURCE CBA r_sml_softkeys_accept_cancel__accept |
|
261 { |
|
262 buttons = |
|
263 { |
|
264 CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_accept; }, |
|
265 CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; }, |
|
266 CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_accept; } |
|
267 }; |
|
268 } |
|
269 |
|
270 //------------------------------------------------------------------------------ |
|
271 //softkeys for the query to install downloaded package |
|
272 //------------------------------------------------------------------------------ |
|
273 |
|
274 RESOURCE CBA r_fota_install_query_softkeys_now_later__now |
|
275 { |
|
276 buttons = |
|
277 { |
|
278 CBA_BUTTON { id = EAknSoftkeyYes; txt = text_softkey_now; }, |
|
279 CBA_BUTTON { id = EAknSoftkeyNo; txt = text_softkey_later; }, |
|
280 CBA_BUTTON { id = EAknSoftkeyYes; txt = text_softkey_now; } |
|
281 }; |
|
282 } |
|
283 |
|
284 // ============================================================================= |
|
285 // QUERIES |
|
286 // |
|
287 // ----------------------------------------------------------------------------- |
|
288 // |
|
289 // r_sml_confirmation_query |
|
290 // Query for the server initiated session acception. |
|
291 // |
|
292 // ----------------------------------------------------------------------------- |
|
293 // |
|
294 RESOURCE DIALOG r_sml_confirmation_query |
|
295 { |
|
296 flags = EGeneralQueryFlags; |
|
297 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
298 items = |
|
299 { |
|
300 DLG_LINE |
|
301 { |
|
302 type = EAknCtQuery; |
|
303 id = EGeneralQuery; |
|
304 control = AVKON_CONFIRMATION_QUERY |
|
305 { |
|
306 layout = EConfirmationQueryLayout; |
|
307 animation = R_QGN_NOTE_QUERY_ANIM; |
|
308 }; |
|
309 } |
|
310 }; |
|
311 } |
|
312 // ----------------------------------------------------------------------------- |
|
313 // |
|
314 // r_sml_confirmation_query |
|
315 // Query for the downloaded package installation. |
|
316 // |
|
317 // ----------------------------------------------------------------------------- |
|
318 |
|
319 |
|
320 RESOURCE DIALOG r_fota_install_confirmation_query |
|
321 { |
|
322 flags = EGeneralQueryFlags; |
|
323 buttons = r_fota_install_query_softkeys_now_later__now; |
|
324 items = |
|
325 { |
|
326 DLG_LINE |
|
327 { |
|
328 type = EAknCtQuery; |
|
329 id = EGeneralQuery; |
|
330 control = AVKON_CONFIRMATION_QUERY |
|
331 { |
|
332 layout = EConfirmationQueryLayout; |
|
333 animation = R_QGN_NOTE_QUERY_ANIM; |
|
334 }; |
|
335 } |
|
336 }; |
|
337 } |
|
338 |
|
339 // ----------------------------------------------------------------------------- |
|
340 // |
|
341 // r_sml_server_msg_infonote |
|
342 // Info note for showing the information received from the server. |
|
343 // |
|
344 // ----------------------------------------------------------------------------- |
|
345 // |
|
346 RESOURCE DIALOG r_sml_server_msg_infonote |
|
347 { |
|
348 flags = EGeneralQueryFlags; |
|
349 buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK; |
|
350 items = |
|
351 { |
|
352 DLG_LINE |
|
353 { |
|
354 type = EAknCtPopupHeadingPane; |
|
355 id = EAknMessageQueryHeaderId; |
|
356 control = AVKON_HEADING |
|
357 { |
|
358 label = qtn_sml_server_message_heading; |
|
359 }; |
|
360 }, |
|
361 DLG_LINE |
|
362 { |
|
363 type = EAknCtMultilineQuery; |
|
364 id = EGeneralQuery; |
|
365 control = AVKON_MESSAGE_QUERY |
|
366 { |
|
367 message = "%U"; |
|
368 }; |
|
369 } |
|
370 }; |
|
371 } |
|
372 |
|
373 |
|
374 // ----------------------------------------------------------------------------- |
|
375 // |
|
376 // r_sml_message_query |
|
377 // Query for showing the information received from the server. |
|
378 // |
|
379 // ----------------------------------------------------------------------------- |
|
380 // |
|
381 RESOURCE DIALOG r_sml_message_query |
|
382 { |
|
383 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
384 items = |
|
385 { |
|
386 DLG_LINE |
|
387 { |
|
388 type = EAknCtPopupHeadingPane; |
|
389 id = EAknMessageQueryHeaderId; |
|
390 control = AVKON_HEADING |
|
391 { |
|
392 label = qtn_sml_server_message_heading; |
|
393 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
394 }; |
|
395 }, |
|
396 DLG_LINE |
|
397 { |
|
398 type = EAknCtMessageQuery; |
|
399 id = EAknMessageQueryContentId; |
|
400 control = AVKON_MESSAGE_QUERY |
|
401 { |
|
402 message = "%U"; |
|
403 }; |
|
404 } |
|
405 }; |
|
406 |
|
407 } |
|
408 |
|
409 // ----------------------------------------------------------------------------- |
|
410 // |
|
411 // r_sml_fota_restart_note |
|
412 // Query for showing the information received from the server. |
|
413 // |
|
414 // ----------------------------------------------------------------------------- |
|
415 // |
|
416 RESOURCE DIALOG r_sml_fota_restart_note |
|
417 { |
|
418 flags = EAknPermanentNoteFlags | EEikDialogFlagNoUserExit; |
|
419 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
420 items = |
|
421 { |
|
422 DLG_LINE |
|
423 { |
|
424 type = EAknCtNote; |
|
425 id = EGeneralQuery; |
|
426 control = AVKON_NOTE |
|
427 { |
|
428 layout = EGeneralLayout; |
|
429 animation = R_QGN_NOTE_INFO_ANIM; |
|
430 }; |
|
431 } |
|
432 }; |
|
433 } |
|
434 |
|
435 |
|
436 // ----------------------------------------------------------------------------- |
|
437 // r_qtn_dm_info_note_updating |
|
438 // Text indicating that server alert session is informative |
|
439 // ----------------------------------------------------------------------------- |
|
440 // |
|
441 RESOURCE TBUF r_qtn_dm_info_note_updating { buf = qtn_dm_info_note_updating; } |
|
442 // r_sml_init_dm_server_prompt |
|
443 // Text for the server initiated management session acception for chinese variant |
|
444 // pop-up query. |
|
445 // ----------------------------------------------------------------------------- |
|
446 RESOURCE TBUF r_qtn_dm_info_note_postsale { buf = qtn_dm_info_note_postsale ; } |
|
447 |
|
448 //#ifdef RD_DM_TEXT_INPUT_ALERT |
|
449 // ----------------------------------------------------------------------------- |
|
450 // |
|
451 // r_inputtext_data_query |
|
452 // Data Query for Alphanumeric Text Input type |
|
453 // |
|
454 // ----------------------------------------------------------------------------- |
|
455 // |
|
456 RESOURCE DIALOG r_inputtext_data_query |
|
457 { |
|
458 flags = EGeneralQueryFlags; |
|
459 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
460 items= |
|
461 { |
|
462 DLG_LINE |
|
463 { |
|
464 type = EAknCtQuery; |
|
465 id = EGeneralQuery; |
|
466 control = AVKON_DATA_QUERY |
|
467 { |
|
468 layout = EDataLayout; |
|
469 control = EDWIN |
|
470 { |
|
471 |
|
472 flags = EEikEdwinNoHorizScrolling; |
|
473 max_view_height_in_lines = 1; |
|
474 lines = 1; |
|
475 |
|
476 }; |
|
477 }; |
|
478 } |
|
479 }; |
|
480 } |
|
481 |
|
482 // ----------------------------------------------------------------------------- |
|
483 // |
|
484 // r_newalert_date_query |
|
485 // Data Query for Date Input type. |
|
486 // |
|
487 // ----------------------------------------------------------------------------- |
|
488 // |
|
489 RESOURCE DIALOG r_newalert_date_query |
|
490 { |
|
491 flags = EGeneralQueryFlags; |
|
492 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
493 |
|
494 items= |
|
495 { |
|
496 DLG_LINE |
|
497 { |
|
498 type = EAknCtQuery; |
|
499 id = EGeneralQuery; |
|
500 control = AVKON_DATA_QUERY |
|
501 { |
|
502 layout = EDateLayout; |
|
503 |
|
504 control = DATE_EDITOR |
|
505 { |
|
506 minDate = DATE |
|
507 { |
|
508 year = 0001; |
|
509 }; |
|
510 maxDate = DATE |
|
511 { |
|
512 year = 9999; |
|
513 }; |
|
514 flags = 0; |
|
515 |
|
516 |
|
517 }; |
|
518 }; |
|
519 } |
|
520 }; |
|
521 } |
|
522 |
|
523 // ----------------------------------------------------------------------------- |
|
524 // |
|
525 // r_newalert_time_query |
|
526 // Data Query for Date Input type. |
|
527 // |
|
528 // ----------------------------------------------------------------------------- |
|
529 // |
|
530 RESOURCE DIALOG r_newalert_time_query |
|
531 { |
|
532 flags = EGeneralQueryFlags; |
|
533 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
534 |
|
535 items= |
|
536 { |
|
537 DLG_LINE |
|
538 { |
|
539 type = EAknCtQuery; |
|
540 id = EGeneralQuery; |
|
541 control = AVKON_DATA_QUERY |
|
542 { |
|
543 layout = ETimeLayout; |
|
544 |
|
545 control = TIME_EDITOR |
|
546 { |
|
547 |
|
548 minTime = TIME |
|
549 { |
|
550 second = 0; |
|
551 minute = 0; |
|
552 hour = 0; |
|
553 }; |
|
554 maxTime = TIME |
|
555 { |
|
556 second = 59; |
|
557 minute = 59; |
|
558 hour = 23; |
|
559 }; |
|
560 flags = EEikTimeForce24HourFormat/*|EEikTimeWithoutSecondsField*/; //remove this flag to get seconds |
|
561 |
|
562 |
|
563 }; |
|
564 }; |
|
565 } |
|
566 }; |
|
567 } |
|
568 |
|
569 // ----------------------------------------------------------------------------- |
|
570 // |
|
571 // r_newalert_data_pwd_query |
|
572 // Data Query for Alphanumeric Password Input type. |
|
573 // |
|
574 // ----------------------------------------------------------------------------- |
|
575 // |
|
576 RESOURCE DIALOG r_newalert_data_pwd_query |
|
577 { |
|
578 flags = EGeneralQueryFlags; |
|
579 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
580 |
|
581 items= |
|
582 { |
|
583 DLG_LINE |
|
584 { |
|
585 type = EAknCtQuery; |
|
586 id = EGeneralQuery; |
|
587 control = AVKON_DATA_QUERY |
|
588 { |
|
589 |
|
590 layout = ECodeLayout; |
|
591 control = SECRETED |
|
592 { |
|
593 num_letters = 200; |
|
594 |
|
595 }; |
|
596 }; |
|
597 } |
|
598 }; |
|
599 } |
|
600 // ----------------------------------------------------------------------------- |
|
601 // |
|
602 // r_newalert_numeric_pwd_query |
|
603 // Data Query for Numeric Password Input type. |
|
604 // |
|
605 // ----------------------------------------------------------------------------- |
|
606 // |
|
607 RESOURCE DIALOG r_newalert_numeric_pwd_query |
|
608 { |
|
609 flags = EGeneralQueryFlags; |
|
610 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
611 |
|
612 items= |
|
613 { |
|
614 DLG_LINE |
|
615 { |
|
616 type = EAknCtQuery; |
|
617 id = EGeneralQuery; |
|
618 control = AVKON_DATA_QUERY |
|
619 { |
|
620 |
|
621 layout = EPinLayout; |
|
622 control = SECRETED |
|
623 { |
|
624 num_letters = 20; |
|
625 |
|
626 }; |
|
627 }; |
|
628 } |
|
629 }; |
|
630 } |
|
631 |
|
632 // ----------------------------------------------------------------------------- |
|
633 // |
|
634 // r_newalert_phone_query |
|
635 // Data Query for Phone number Input type. |
|
636 // |
|
637 // ----------------------------------------------------------------------------- |
|
638 // |
|
639 RESOURCE DIALOG r_newalert_phone_query |
|
640 { |
|
641 flags = EGeneralQueryFlags; |
|
642 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
643 |
|
644 items= |
|
645 { |
|
646 DLG_LINE |
|
647 { |
|
648 type = EAknCtQuery; |
|
649 id = EGeneralQuery; |
|
650 control = AVKON_DATA_QUERY |
|
651 { |
|
652 layout = EPhoneLayout; |
|
653 control = EDWIN |
|
654 { |
|
655 |
|
656 flags = EEikEdwinNoHorizScrolling; |
|
657 lines = 1; |
|
658 maxlength = 200; |
|
659 allowed_input_modes = EAknEditorNumericInputMode; |
|
660 max_view_height_in_lines = 1; |
|
661 |
|
662 }; |
|
663 }; |
|
664 } |
|
665 }; |
|
666 } |
|
667 |
|
668 // ----------------------------------------------------------------------------- |
|
669 // |
|
670 // r_newalert_number_query |
|
671 // Data Query for Number Text Input type. |
|
672 // |
|
673 // ----------------------------------------------------------------------------- |
|
674 // |
|
675 RESOURCE DIALOG r_newalert_number_query |
|
676 { |
|
677 flags = EGeneralQueryFlags; |
|
678 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
679 items = |
|
680 { |
|
681 DLG_LINE |
|
682 { |
|
683 type = EAknCtQuery; |
|
684 id = EGeneralQuery; |
|
685 control = AVKON_DATA_QUERY |
|
686 { |
|
687 layout = EFloatingPointLayout; |
|
688 control = FLPTED |
|
689 { |
|
690 maxlength = 12; |
|
691 default = 0; |
|
692 }; |
|
693 }; |
|
694 } |
|
695 }; |
|
696 } |
|
697 |
|
698 // ----------------------------------------------------------------------------- |
|
699 // |
|
700 // r_newalert_ip_query |
|
701 // Data Query for Ip Address Input type. |
|
702 // |
|
703 // ----------------------------------------------------------------------------- |
|
704 // |
|
705 RESOURCE DIALOG r_newalert_ip_query |
|
706 { |
|
707 flags = EGeneralQueryFlags; |
|
708 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
709 items = |
|
710 { |
|
711 DLG_LINE |
|
712 { |
|
713 type = EAknExtCtQuery; |
|
714 id = EGeneralQuery; |
|
715 control = AVKON_DATA_QUERY |
|
716 { |
|
717 layout = EIpLayout; |
|
718 control = IP_FIELD_EDITOR |
|
719 { |
|
720 min_field_values=IP_FIELD |
|
721 { |
|
722 first_field=0; |
|
723 second_field=0; |
|
724 third_field=0; |
|
725 fourth_field=0; |
|
726 }; |
|
727 max_field_values=IP_FIELD |
|
728 { |
|
729 first_field=255; |
|
730 second_field=255; |
|
731 third_field=255; |
|
732 fourth_field=255; |
|
733 }; |
|
734 }; |
|
735 } ; |
|
736 } |
|
737 }; |
|
738 } |
|
739 |
|
740 //#endif |
|
741 // End of File |
|
742 |
|
743 |