|
1 /* |
|
2 * Copyright (c) 2008 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 definitions for project testsdkqueries |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME TEST |
|
20 |
|
21 #include <avkon.rsg> |
|
22 #include <avkon.rh> |
|
23 #include <eikon.rh> |
|
24 #include <eikon.rsg> |
|
25 #include <avkon.mbg> |
|
26 |
|
27 #include "testsdkqueries.hrh" |
|
28 #include "testsdkqueries.loc" |
|
29 |
|
30 RESOURCE RSS_SIGNATURE |
|
31 { |
|
32 } |
|
33 |
|
34 RESOURCE TBUF |
|
35 { |
|
36 buf = ""; |
|
37 } |
|
38 |
|
39 //----------------------------------------------------------------------------- |
|
40 // |
|
41 // r_testquery_menubar |
|
42 // |
|
43 //----------------------------------------------------------------------------- |
|
44 RESOURCE MENU_BAR r_testquery_menubar |
|
45 { |
|
46 titles = |
|
47 { |
|
48 MENU_TITLE { menu_pane = r_testquery_listquery_menu; } |
|
49 }; |
|
50 } |
|
51 |
|
52 |
|
53 //----------------------------------------------------------------------------- |
|
54 // |
|
55 // r_testquery_listquery_menu |
|
56 // |
|
57 //----------------------------------------------------------------------------- |
|
58 // |
|
59 RESOURCE MENU_PANE r_testquery_listquery_menu |
|
60 { |
|
61 items = |
|
62 { |
|
63 MENU_ITEM |
|
64 { |
|
65 command = ETestCmdOutline01; |
|
66 txt = qtn_testquery_outline01; |
|
67 }, |
|
68 MENU_ITEM |
|
69 { |
|
70 command = ETestCmdOutline02; |
|
71 txt = qtn_testquery_outline02; |
|
72 } |
|
73 }; |
|
74 } |
|
75 |
|
76 //----------------------------------------------------------------------------- |
|
77 // |
|
78 // r_list_query_control |
|
79 // |
|
80 //----------------------------------------------------------------------------- |
|
81 // |
|
82 RESOURCE AVKON_LIST_QUERY_CONTROL r_list_query_control |
|
83 { |
|
84 listtype = EAknCtSinglePopupMenuListBox; |
|
85 listbox = AVKON_LIST_QUERY_LIST |
|
86 { |
|
87 |
|
88 }; |
|
89 heading = qtn_testsdkqueries_query_control_txt ; |
|
90 bmpfile = qtn_bitmap_file; |
|
91 bmpid = EMbmAvkonQgn_indi_mic; |
|
92 bmpmask = EMbmAvkonQgn_indi_mic_mask; |
|
93 animation = r_bmpanim_data; |
|
94 } |
|
95 |
|
96 //----------------------------------------------------------------------------- |
|
97 // |
|
98 // r_list_query_noheading_control |
|
99 // |
|
100 //----------------------------------------------------------------------------- |
|
101 // |
|
102 RESOURCE AVKON_LIST_QUERY_CONTROL r_list_query_noheading_control |
|
103 { |
|
104 listtype = EAknCtSinglePopupMenuListBox; |
|
105 listbox = AVKON_LIST_QUERY_LIST |
|
106 { |
|
107 |
|
108 }; |
|
109 bmpfile = qtn_bitmap_file; |
|
110 bmpid = EMbmAvkonQgn_indi_mic; |
|
111 bmpmask = EMbmAvkonQgn_indi_mic_mask; |
|
112 animation = r_bmpanim_data; |
|
113 } |
|
114 |
|
115 //----------------------------------------------------------------------------- |
|
116 // |
|
117 // r_bmpanim_data |
|
118 // |
|
119 //----------------------------------------------------------------------------- |
|
120 // |
|
121 RESOURCE BMPANIM_DATA r_bmpanim_data |
|
122 { |
|
123 identifier = 0; |
|
124 frameinterval = 0; |
|
125 bmpfile = qtn_bitmap_file; |
|
126 } |
|
127 |
|
128 //----------------------------------------------------------------------------- |
|
129 // |
|
130 // r_list_query_msg_control |
|
131 // |
|
132 //----------------------------------------------------------------------------- |
|
133 // |
|
134 RESOURCE AVKON_LIST_QUERY_CONTROL_WITH_MSGBOX r_list_query_msg_control |
|
135 { |
|
136 listtype = EAknListQueryWithMsgBox; |
|
137 actuallisttype = EAknCtSettingNumberListBox; |
|
138 listbox = AVKON_LIST_QUERY_LIST |
|
139 { |
|
140 |
|
141 }; |
|
142 message = qtn_testsdkqueries_test_txt; |
|
143 heading = qtn_testsdkqueries_query_control_msg_txt; |
|
144 bmpfile = qtn_bitmap_file; |
|
145 bmpid = EMbmAvkonQgn_indi_mic; |
|
146 bmpmask = EMbmAvkonQgn_indi_mic_mask; |
|
147 } |
|
148 |
|
149 //----------------------------------------------------------------------------- |
|
150 // |
|
151 // r_update_query_dialog |
|
152 // |
|
153 //----------------------------------------------------------------------------- |
|
154 // |
|
155 RESOURCE AVKON_LIST_QUERY r_update_query_dialog |
|
156 { |
|
157 flags = EGeneralQueryFlags; |
|
158 softkeys = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
159 items = |
|
160 { |
|
161 AVKON_LIST_QUERY_DLG_LINE |
|
162 { |
|
163 control = AVKON_LIST_QUERY_CONTROL |
|
164 { |
|
165 listtype = EAknCtSinglePopupMenuListBox; |
|
166 listbox = AVKON_LIST_QUERY_LIST |
|
167 { |
|
168 }; |
|
169 heading = qtn_testsdkqueries_select_option_txt; |
|
170 }; |
|
171 } |
|
172 }; |
|
173 } |
|
174 |
|
175 //----------------------------------------------------------------------------- |
|
176 // |
|
177 // r_update_query_msg_dialog |
|
178 // |
|
179 //----------------------------------------------------------------------------- |
|
180 // |
|
181 RESOURCE AVKON_LIST_QUERY r_update_query_msg_dialog |
|
182 { |
|
183 flags = EGeneralQueryFlags; |
|
184 softkeys = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
185 items = |
|
186 { |
|
187 AVKON_LIST_QUERY_DLG_LINE |
|
188 { |
|
189 control = AVKON_LIST_QUERY_CONTROL_WITH_MSGBOX |
|
190 { |
|
191 listtype = EAknListQueryWithMsgBox; |
|
192 actuallisttype = EAknCtDoubleLargeGraphicPopupMenuListBox; |
|
193 listbox = AVKON_LIST_QUERY_LIST |
|
194 { |
|
195 |
|
196 }; |
|
197 message = qtn_testsdkqueries_test_txt; |
|
198 heading = qtn_testsdkqueries_query_control_msg_txt; |
|
199 bmpfile = qtn_bitmap_file; |
|
200 bmpid = EMbmAvkonQgn_indi_mic; |
|
201 bmpmask = EMbmAvkonQgn_indi_mic_mask; |
|
202 }; |
|
203 } |
|
204 }; |
|
205 } |
|
206 |
|
207 //----------------------------------------------------------------------------- |
|
208 // |
|
209 // r_message |
|
210 // |
|
211 //----------------------------------------------------------------------------- |
|
212 // |
|
213 RESOURCE AVKON_MESSAGE_QUERY r_message |
|
214 { |
|
215 message = qtn_testsdkqueries_test_txt; |
|
216 } |
|
217 |
|
218 //----------------------------------------------------------------------------- |
|
219 // |
|
220 // r_message_dialog |
|
221 // |
|
222 //----------------------------------------------------------------------------- |
|
223 // |
|
224 RESOURCE DIALOG r_message_dialog |
|
225 { |
|
226 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
227 buttons = R_AVKON_SOFTKEYS_OK_BACK; |
|
228 items= |
|
229 { |
|
230 DLG_LINE |
|
231 { |
|
232 type = EAknCtPopupHeadingPane; |
|
233 id = EAknMessageQueryHeaderId; |
|
234 control = AVKON_HEADING |
|
235 { |
|
236 label = qtn_testsdkqueries_test_txt; |
|
237 bmpfile = qtn_bitmap_file; |
|
238 bmpid = EMbmAvkonQgn_indi_mic; |
|
239 bmpmask = EMbmAvkonQgn_indi_mic_mask; |
|
240 animation=0; |
|
241 headinglayout = R_AVKON_LIST_HEADING_PANE; |
|
242 }; |
|
243 }, |
|
244 DLG_LINE |
|
245 { |
|
246 type = EAknCtMessageQuery; |
|
247 id = EAknMessageQueryContentId; |
|
248 control = AVKON_MESSAGE_QUERY |
|
249 { |
|
250 message = qtn_testsdkqueries_test_txt; |
|
251 }; |
|
252 } |
|
253 }; |
|
254 } |
|
255 |
|
256 //----------------------------------------------------------------------------- |
|
257 // |
|
258 // r_query_dialog |
|
259 // |
|
260 //----------------------------------------------------------------------------- |
|
261 // |
|
262 RESOURCE DIALOG r_query_dialog |
|
263 { |
|
264 flags = EGeneralQueryFlags; |
|
265 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
266 items = |
|
267 { |
|
268 DLG_LINE |
|
269 { |
|
270 type = EAknCtQuery; |
|
271 id = EGeneralQuery; |
|
272 control = AVKON_CONFIRMATION_QUERY |
|
273 { |
|
274 layout = EConfirmationQueryLayout; |
|
275 label = qtn_testsdkqueries_test_txt; |
|
276 }; |
|
277 } |
|
278 }; |
|
279 } |
|
280 |
|
281 //----------------------------------------------------------------------------- |
|
282 // |
|
283 // r_confirmation_query |
|
284 // |
|
285 //----------------------------------------------------------------------------- |
|
286 // |
|
287 RESOURCE AVKON_CONFIRMATION_QUERY r_confirmation_query |
|
288 { |
|
289 layout = EConfirmationQueryLayout; |
|
290 |
|
291 label = qtn_testsdkqueries_test_txt; |
|
292 |
|
293 bmpfile = qtn_bitmap_file; |
|
294 |
|
295 bmpid = EMbmAvkonQgn_indi_mic; |
|
296 |
|
297 bmpmask = EMbmAvkonQgn_indi_mic_mask; |
|
298 } |
|
299 |
|
300 //----------------------------------------------------------------------------- |
|
301 // |
|
302 // r_aknexquery_number_layout |
|
303 // |
|
304 //----------------------------------------------------------------------------- |
|
305 // |
|
306 RESOURCE DIALOG r_aknexquery_number_layout |
|
307 |
|
308 { |
|
309 |
|
310 flags = EGeneralQueryFlags; |
|
311 |
|
312 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
313 |
|
314 items = |
|
315 |
|
316 { |
|
317 |
|
318 DLG_LINE |
|
319 |
|
320 { |
|
321 |
|
322 type = EAknCtQuery; |
|
323 |
|
324 id = EGeneralQuery; |
|
325 |
|
326 control= AVKON_DATA_QUERY |
|
327 |
|
328 { |
|
329 |
|
330 layout = ENumberLayout; |
|
331 |
|
332 label = qtn_aknexquery_num_label_text; |
|
333 |
|
334 control = AVKON_INTEGER_EDWIN |
|
335 |
|
336 { |
|
337 |
|
338 min = 0; |
|
339 |
|
340 max = 100; |
|
341 |
|
342 }; |
|
343 |
|
344 }; |
|
345 |
|
346 } |
|
347 |
|
348 }; |
|
349 |
|
350 } |
|
351 |
|
352 //----------------------------------------------------------------------------- |
|
353 // |
|
354 // r_demo_data_query |
|
355 // |
|
356 //----------------------------------------------------------------------------- |
|
357 // |
|
358 RESOURCE DIALOG r_demo_data_query |
|
359 |
|
360 { |
|
361 |
|
362 flags = EGeneralQueryFlags; |
|
363 |
|
364 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
365 |
|
366 items = |
|
367 |
|
368 { |
|
369 |
|
370 DLG_LINE |
|
371 |
|
372 { |
|
373 |
|
374 type = EAknCtQuery; |
|
375 |
|
376 id = EGeneralQuery; |
|
377 |
|
378 control = AVKON_DATA_QUERY |
|
379 |
|
380 { |
|
381 |
|
382 layout = EDataLayout; |
|
383 |
|
384 label = qtn_testsdkqueries_test_txt; |
|
385 |
|
386 control = EDWIN |
|
387 |
|
388 { |
|
389 |
|
390 width = 5; |
|
391 |
|
392 lines = 1; |
|
393 |
|
394 maxlength = 15; |
|
395 |
|
396 }; |
|
397 |
|
398 }; |
|
399 |
|
400 } |
|
401 |
|
402 }; |
|
403 |
|
404 } |
|
405 |
|
406 //----------------------------------------------------------------------------- |
|
407 // |
|
408 // r_aknexquery_time_query |
|
409 // |
|
410 //----------------------------------------------------------------------------- |
|
411 // |
|
412 RESOURCE DIALOG r_aknexquery_time_query |
|
413 { |
|
414 |
|
415 flags = EGeneralQueryFlags; |
|
416 |
|
417 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
418 |
|
419 items = |
|
420 |
|
421 { |
|
422 |
|
423 DLG_LINE |
|
424 |
|
425 { |
|
426 |
|
427 type = EAknCtQuery; |
|
428 |
|
429 id = EGeneralQuery; |
|
430 |
|
431 control = AVKON_DATA_QUERY |
|
432 |
|
433 { |
|
434 |
|
435 layout = ETimeLayout; |
|
436 |
|
437 label = qtn_aknexquery_time_label_text; |
|
438 |
|
439 control = TIME_EDITOR |
|
440 |
|
441 { |
|
442 |
|
443 minTime = TIME |
|
444 |
|
445 { |
|
446 |
|
447 second = 0; |
|
448 |
|
449 minute = 0; |
|
450 |
|
451 hour = 0; |
|
452 |
|
453 }; |
|
454 |
|
455 maxTime = TIME |
|
456 |
|
457 { |
|
458 |
|
459 second = 59; |
|
460 |
|
461 minute = 59; |
|
462 |
|
463 hour = 23; |
|
464 |
|
465 }; |
|
466 |
|
467 flags = EEikTimeWithoutSecondsField; |
|
468 |
|
469 }; |
|
470 |
|
471 }; |
|
472 |
|
473 } |
|
474 |
|
475 }; |
|
476 |
|
477 } |
|
478 |
|
479 RESOURCE DIALOG r_aknexquery_duration_layout |
|
480 |
|
481 { |
|
482 |
|
483 flags = EGeneralQueryFlags; |
|
484 |
|
485 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
486 |
|
487 items = |
|
488 |
|
489 { |
|
490 |
|
491 DLG_LINE |
|
492 |
|
493 { |
|
494 |
|
495 type = EAknCtQuery; |
|
496 |
|
497 id = EGeneralQuery; |
|
498 |
|
499 control = AVKON_DATA_QUERY |
|
500 |
|
501 { |
|
502 |
|
503 layout = EDurationLayout; |
|
504 |
|
505 label = qtn_aknexquery_dura_label_text; |
|
506 |
|
507 control = DURATION_EDITOR |
|
508 |
|
509 { |
|
510 |
|
511 minDuration = DURATION |
|
512 |
|
513 { |
|
514 |
|
515 }; |
|
516 |
|
517 maxDuration = DURATION |
|
518 |
|
519 { |
|
520 |
|
521 seconds = 0; |
|
522 |
|
523 }; |
|
524 |
|
525 flags = 0; |
|
526 |
|
527 }; |
|
528 |
|
529 }; |
|
530 |
|
531 } |
|
532 |
|
533 }; |
|
534 |
|
535 } |
|
536 |
|
537 //----------------------------------------------------------------------------- |
|
538 // |
|
539 // r_demo_floating_query |
|
540 // |
|
541 //----------------------------------------------------------------------------- |
|
542 // |
|
543 RESOURCE DIALOG r_demo_floating_query |
|
544 |
|
545 { |
|
546 |
|
547 flags = EGeneralQueryFlags; |
|
548 |
|
549 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
550 |
|
551 items = |
|
552 |
|
553 { |
|
554 |
|
555 DLG_LINE |
|
556 |
|
557 { |
|
558 |
|
559 type = EAknCtQuery; |
|
560 |
|
561 id = EGeneralQuery; |
|
562 |
|
563 control = AVKON_DATA_QUERY |
|
564 |
|
565 { |
|
566 |
|
567 layout = EFloatingPointLayout; |
|
568 |
|
569 label = qtn_testsdkqueries_enter_value_txt; |
|
570 |
|
571 control = FLPTED |
|
572 |
|
573 { |
|
574 |
|
575 maxlength = 10; |
|
576 |
|
577 min = 0; |
|
578 |
|
579 max = 100; |
|
580 |
|
581 default = 0; |
|
582 |
|
583 }; |
|
584 |
|
585 }; |
|
586 |
|
587 } |
|
588 |
|
589 }; |
|
590 |
|
591 } |
|
592 |
|
593 RESOURCE DIALOG r_aknexquery_multi_line_date_and_duration_layout |
|
594 |
|
595 { |
|
596 |
|
597 flags = EGeneralQueryFlags; |
|
598 |
|
599 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
600 |
|
601 items = |
|
602 |
|
603 { |
|
604 |
|
605 DLG_LINE |
|
606 |
|
607 { |
|
608 |
|
609 type = EAknCtMultilineQuery; |
|
610 |
|
611 id = EMultilineFirstLine; |
|
612 |
|
613 control = AVKON_DATA_QUERY |
|
614 |
|
615 { |
|
616 |
|
617 layout = EMultiDataFirstDateEd; |
|
618 |
|
619 label = qtn_aknexquery_date_label_text; |
|
620 |
|
621 control = DATE_EDITOR |
|
622 |
|
623 { |
|
624 |
|
625 minDate = DATE |
|
626 |
|
627 { |
|
628 |
|
629 year = 1900; |
|
630 |
|
631 }; |
|
632 |
|
633 maxDate = DATE |
|
634 |
|
635 { |
|
636 |
|
637 year = 2900; |
|
638 |
|
639 }; |
|
640 |
|
641 flags = 0; |
|
642 |
|
643 }; |
|
644 |
|
645 }; |
|
646 |
|
647 }, |
|
648 |
|
649 DLG_LINE |
|
650 |
|
651 { |
|
652 |
|
653 type = EAknCtMultilineQuery; |
|
654 |
|
655 id = EMultilineSecondLine; |
|
656 |
|
657 control = AVKON_DATA_QUERY |
|
658 |
|
659 { |
|
660 |
|
661 layout = EMultiDataSecondDurEd; |
|
662 |
|
663 label = qtn_aknexquery_dura_label_text; |
|
664 |
|
665 control = DURATION_EDITOR |
|
666 |
|
667 { |
|
668 |
|
669 minDuration = DURATION |
|
670 |
|
671 { |
|
672 |
|
673 }; |
|
674 |
|
675 maxDuration = DURATION |
|
676 |
|
677 { |
|
678 |
|
679 seconds = |
|
680 |
|
681 59; |
|
682 |
|
683 }; |
|
684 |
|
685 flags = 0; |
|
686 |
|
687 }; |
|
688 |
|
689 }; |
|
690 |
|
691 } |
|
692 |
|
693 }; |
|
694 |
|
695 } |
|
696 |
|
697 //----------------------------------------------------------------------------- |
|
698 // |
|
699 // r_testquery_ip_address |
|
700 // Resource of IP Address Query. |
|
701 // |
|
702 //----------------------------------------------------------------------------- |
|
703 // |
|
704 RESOURCE DIALOG r_testquery_ip_address |
|
705 { |
|
706 flags = EGeneralQueryFlags; |
|
707 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
708 items = |
|
709 { |
|
710 DLG_LINE |
|
711 { |
|
712 type = EAknExtCtQuery; |
|
713 id = EGeneralQuery; |
|
714 control = AVKON_DATA_QUERY |
|
715 { |
|
716 layout = EIpLayout; |
|
717 label = qtn_bctestquery_ip_query_label_text; |
|
718 control = IP_FIELD_EDITOR |
|
719 { |
|
720 min_field_values = IP_FIELD |
|
721 { |
|
722 first_field = IPADDRESS_MIN_FIRST_FIELD_VALUE; |
|
723 second_field = IPADDRESS_MIN_SECOND_FIELD_VALUE; |
|
724 third_field = IPADDRESS_MIN_THIRD_FIELD_VALUE; |
|
725 fourth_field = IPADDRESS_MIN_FOURTH_FIELD_VALUE; |
|
726 }; |
|
727 max_field_values = IP_FIELD |
|
728 { |
|
729 first_field = IPADDRESS_MAX_FIRST_FIELD_VALUE; |
|
730 second_field = IPADDRESS_MAX_SECOND_FIELD_VALUE; |
|
731 third_field = IPADDRESS_MAX_THIRD_FIELD_VALUE; |
|
732 fourth_field = IPADDRESS_MAX_FOURTH_FIELD_VALUE; |
|
733 }; |
|
734 flags = 0; |
|
735 }; |
|
736 }; |
|
737 } |
|
738 }; |
|
739 } |
|
740 |
|
741 //----------------------------------------------------------------------------- |
|
742 // |
|
743 // r_testquery_multi_line_ip_address |
|
744 // Resource of Multiline IP Address Query. |
|
745 // |
|
746 //----------------------------------------------------------------------------- |
|
747 // |
|
748 RESOURCE DIALOG r_testquery_multi_line_ip_address |
|
749 { |
|
750 flags = EGeneralQueryFlags; |
|
751 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
752 items = |
|
753 { |
|
754 DLG_LINE |
|
755 { |
|
756 type = EAknExtCtMultilineQuery; |
|
757 id = EMultilineFirstLine; |
|
758 control = AVKON_DATA_QUERY |
|
759 { |
|
760 layout = EMultiDataFirstIpEd; |
|
761 label = qtn_bctestquery_ip_query_label_text; |
|
762 control = IP_FIELD_EDITOR |
|
763 { |
|
764 min_field_values = IP_FIELD |
|
765 { |
|
766 first_field = IPADDRESS_MIN_FIRST_FIELD_VALUE; |
|
767 second_field = IPADDRESS_MIN_SECOND_FIELD_VALUE; |
|
768 third_field = IPADDRESS_MIN_THIRD_FIELD_VALUE; |
|
769 fourth_field = IPADDRESS_MIN_FOURTH_FIELD_VALUE; |
|
770 }; |
|
771 max_field_values = IP_FIELD |
|
772 { |
|
773 first_field = IPADDRESS_MAX_FIRST_FIELD_VALUE; |
|
774 second_field = IPADDRESS_MAX_SECOND_FIELD_VALUE; |
|
775 third_field = IPADDRESS_MAX_THIRD_FIELD_VALUE; |
|
776 fourth_field = IPADDRESS_MAX_FOURTH_FIELD_VALUE; |
|
777 }; |
|
778 flags = 0; |
|
779 }; |
|
780 }; |
|
781 }, |
|
782 DLG_LINE |
|
783 { |
|
784 type = EAknExtCtMultilineQuery; |
|
785 id = EMultilineSecondLine; |
|
786 control = AVKON_DATA_QUERY |
|
787 { |
|
788 layout = EMultiDataSecondIpEd; |
|
789 label = qtn_bctestquery_ip_query_label_text; |
|
790 control = IP_FIELD_EDITOR |
|
791 { |
|
792 min_field_values = IP_FIELD |
|
793 { |
|
794 first_field = IPADDRESS_MIN_FIRST_FIELD_VALUE; |
|
795 second_field = IPADDRESS_MIN_SECOND_FIELD_VALUE; |
|
796 third_field = IPADDRESS_MIN_THIRD_FIELD_VALUE; |
|
797 fourth_field = IPADDRESS_MIN_FOURTH_FIELD_VALUE; |
|
798 }; |
|
799 max_field_values = IP_FIELD |
|
800 { |
|
801 first_field = IPADDRESS_MAX_FIRST_FIELD_VALUE; |
|
802 second_field = IPADDRESS_MAX_SECOND_FIELD_VALUE; |
|
803 third_field = IPADDRESS_MAX_THIRD_FIELD_VALUE; |
|
804 fourth_field = IPADDRESS_MAX_FOURTH_FIELD_VALUE; |
|
805 }; |
|
806 flags = 0; |
|
807 }; |
|
808 }; |
|
809 } |
|
810 }; |
|
811 } |
|
812 |
|
813 //----------------------------------------------------------------------------- |
|
814 // |
|
815 // r_testquery_extcontrol |
|
816 // |
|
817 //----------------------------------------------------------------------------- |
|
818 // |
|
819 RESOURCE AVKON_DATA_QUERY r_testquery_extcontrol |
|
820 { |
|
821 layout = EIpLayout; |
|
822 label = qtn_bctestquery_ip_query_label_text; |
|
823 control = IP_FIELD_EDITOR |
|
824 { |
|
825 min_field_values = IP_FIELD |
|
826 { |
|
827 first_field = IPADDRESS_MIN_FIRST_FIELD_VALUE; |
|
828 second_field = IPADDRESS_MIN_SECOND_FIELD_VALUE; |
|
829 third_field = IPADDRESS_MIN_THIRD_FIELD_VALUE; |
|
830 fourth_field = IPADDRESS_MIN_FOURTH_FIELD_VALUE; |
|
831 }; |
|
832 max_field_values = IP_FIELD |
|
833 { |
|
834 first_field = IPADDRESS_MAX_FIRST_FIELD_VALUE; |
|
835 second_field = IPADDRESS_MAX_SECOND_FIELD_VALUE; |
|
836 third_field = IPADDRESS_MAX_THIRD_FIELD_VALUE; |
|
837 fourth_field = IPADDRESS_MAX_FOURTH_FIELD_VALUE; |
|
838 }; |
|
839 flags = 0; |
|
840 }; |
|
841 } |
|
842 |
|
843 //----------------------------------------------------------------------------- |
|
844 // |
|
845 // r_testquery_fixex_point |
|
846 // Resource of Fixed Point Query. |
|
847 // |
|
848 //----------------------------------------------------------------------------- |
|
849 // |
|
850 RESOURCE DIALOG r_testquery_fixed_point |
|
851 { |
|
852 flags = EGeneralQueryFlags; |
|
853 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
854 items = |
|
855 { |
|
856 DLG_LINE |
|
857 { |
|
858 type = EAknExtCtQuery; |
|
859 id = EGeneralQuery; |
|
860 control= AVKON_DATA_QUERY |
|
861 { |
|
862 layout = EFixedPointLayout; |
|
863 label = qtn_bctestquery_num_label_text; |
|
864 control = FIXPTED |
|
865 { |
|
866 min = 0; |
|
867 max = 10000; |
|
868 }; |
|
869 }; |
|
870 } |
|
871 }; |
|
872 } |
|
873 |
|
874 //----------------------------------------------------------------------------- |
|
875 // |
|
876 // r_testquery_bmp_animation |
|
877 // |
|
878 //----------------------------------------------------------------------------- |
|
879 // |
|
880 RESOURCE BMPANIM_DATA r_testquery_bmp_animation |
|
881 { |
|
882 identifier = 0; |
|
883 frameinterval = 1; |
|
884 playmode = 0; |
|
885 flash = 0; |
|
886 bmpfile = AVKON_ICON_FILE; |
|
887 frames = 0; |
|
888 backgroundframe = 0; |
|
889 } |
|
890 |
|
891 //----------------------------------------------------------------------------- |
|
892 // |
|
893 // r_aknexquery_confirmation_query |
|
894 // |
|
895 //----------------------------------------------------------------------------- |
|
896 // |
|
897 RESOURCE DIALOG r_aknexquery_confirmation_query |
|
898 |
|
899 { |
|
900 |
|
901 flags = EGeneralQueryFlags; |
|
902 |
|
903 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
904 |
|
905 items = |
|
906 |
|
907 { |
|
908 |
|
909 DLG_LINE |
|
910 |
|
911 { |
|
912 |
|
913 type = EAknCtQuery; |
|
914 |
|
915 id = EGeneralQuery; |
|
916 |
|
917 control = AVKON_CONFIRMATION_QUERY |
|
918 |
|
919 { |
|
920 |
|
921 layout = EConfirmationQueryLayout; |
|
922 |
|
923 label = qtn_testsdkqueries_test_txt; |
|
924 |
|
925 bmpfile = qtn_bitmap_file; |
|
926 |
|
927 bmpid = EMbmAvkonQgn_indi_mic; |
|
928 |
|
929 bmpmask = EMbmAvkonQgn_indi_mic_mask; |
|
930 |
|
931 }; |
|
932 |
|
933 } |
|
934 |
|
935 }; |
|
936 |
|
937 } |
|
938 |
|
939 //----------------------------------------------------------------------------- |
|
940 // |
|
941 // r_demo_data_pin_query |
|
942 // |
|
943 //----------------------------------------------------------------------------- |
|
944 // |
|
945 RESOURCE DIALOG r_demo_data_pin_query |
|
946 |
|
947 { |
|
948 |
|
949 flags = EGeneralQueryFlags; |
|
950 |
|
951 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
952 |
|
953 items = |
|
954 |
|
955 { |
|
956 |
|
957 DLG_LINE |
|
958 |
|
959 { |
|
960 |
|
961 type = EAknCtQuery; |
|
962 |
|
963 id = EGeneralQuery; |
|
964 |
|
965 control = AVKON_DATA_QUERY |
|
966 |
|
967 { |
|
968 |
|
969 layout = EPinLayout; |
|
970 |
|
971 label = qtn_testsdkqueries_test_txt; |
|
972 |
|
973 control = SECRETED |
|
974 |
|
975 { |
|
976 |
|
977 }; |
|
978 |
|
979 }; |
|
980 |
|
981 } |
|
982 |
|
983 }; |
|
984 |
|
985 } |
|
986 |
|
987 //----------------------------------------------------------------------------- |
|
988 // |
|
989 // r_testquery_date_format_string |
|
990 // |
|
991 //----------------------------------------------------------------------------- |
|
992 // |
|
993 RESOURCE TBUF32 r_testquery_date_format |
|
994 { |
|
995 buf = qtn_testquery_date_format; |
|
996 } |
|
997 |
|
998 //----------------------------------------------------------------------------- |
|
999 // |
|
1000 // r_testquery_caption |
|
1001 // |
|
1002 //----------------------------------------------------------------------------- |
|
1003 // |
|
1004 RESOURCE TBUF16 r_testquery_caption |
|
1005 { |
|
1006 buf = qtn_testquery_query_caption; |
|
1007 } |
|
1008 |
|
1009 //----------------------------------------------------------------------------- |
|
1010 // |
|
1011 // r_date_setting_page |
|
1012 // |
|
1013 //----------------------------------------------------------------------------- |
|
1014 // |
|
1015 RESOURCE AVKON_SETTING_PAGE r_date_setting_page |
|
1016 { |
|
1017 label = qtn_date_txt; |
|
1018 type = EEikCtDateEditor; |
|
1019 editor_resource_id = r_date_control; |
|
1020 } |
|
1021 |
|
1022 //----------------------------------------------------------------------------- |
|
1023 // |
|
1024 // r_date_control |
|
1025 // |
|
1026 //----------------------------------------------------------------------------- |
|
1027 // |
|
1028 RESOURCE DATE_EDITOR r_date_control |
|
1029 { |
|
1030 minDate = DATE { year = 1980; }; |
|
1031 maxDate = DATE { year = 2060; }; |
|
1032 flags = 0; |
|
1033 } |
|
1034 |
|
1035 //----------------------------------------------------------------------------- |
|
1036 // |
|
1037 // r_bctestquery_time_format |
|
1038 // |
|
1039 //----------------------------------------------------------------------------- |
|
1040 // |
|
1041 RESOURCE TBUF40 r_testquery_time_format |
|
1042 { |
|
1043 buf = qtn_testquery_time_format; |
|
1044 } |
|
1045 |
|
1046 |
|
1047 //----------------------------------------------------------------------------- |
|
1048 // |
|
1049 // r_testquery_number_format |
|
1050 // |
|
1051 //----------------------------------------------------------------------------- |
|
1052 // |
|
1053 RESOURCE TBUF16 r_testquery_number_format |
|
1054 { |
|
1055 buf = qtn_testquery_number_format; |
|
1056 } |
|
1057 |
|
1058 //----------------------------------------------------------------------------- |
|
1059 // |
|
1060 // r_query_valuephone_string |
|
1061 // |
|
1062 //----------------------------------------------------------------------------- |
|
1063 // |
|
1064 RESOURCE TBUF32 r_query_valuephone_string |
|
1065 { |
|
1066 buf = qtn_testsdkqueries_phone_txt; |
|
1067 } |
|
1068 |
|
1069 //----------------------------------------------------------------------------- |
|
1070 // |
|
1071 // r_query_valuetext_string |
|
1072 // |
|
1073 //----------------------------------------------------------------------------- |
|
1074 // |
|
1075 RESOURCE TBUF32 r_query_valuetext_string |
|
1076 { |
|
1077 buf = qtn_testsdkqueries_text_txt; |
|
1078 } |
|
1079 |
|
1080 //----------------------------------------------------------------------------- |
|
1081 // |
|
1082 // r_query_valuetime_string |
|
1083 // |
|
1084 //----------------------------------------------------------------------------- |
|
1085 // |
|
1086 RESOURCE TBUF32 r_query_valuetime_string |
|
1087 { |
|
1088 buf = qtn_testsdkqueries_time_txt; |
|
1089 } |
|
1090 |
|
1091 //End file |
|
1092 |
|
1093 |