283 base_line_delta = 21; |
283 base_line_delta = 21; |
284 }; |
284 }; |
285 }, |
285 }, |
286 DLG_LINE |
286 DLG_LINE |
287 { |
287 { |
|
288 type = EEikCtEdwin; |
|
289 prompt = qtn_nmp_song_details_track_number; |
|
290 id = EMPXMetadataEditorDlgCtrlIdTrackNumber; |
|
291 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
292 control = EDWIN |
|
293 { |
|
294 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
295 width = KMPXSongDetailsNumTextWidth; |
|
296 default_input_mode = EAknEditorNumericInputMode; |
|
297 allowed_input_modes = EAknEditorNumericInputMode; |
|
298 }; |
|
299 }, |
|
300 DLG_LINE |
|
301 { |
|
302 type = EEikCtEdwin; |
|
303 prompt = qtn_nmp_song_details_year; |
|
304 id = EMPXMetadataEditorDlgCtrlIdYear; |
|
305 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
306 control = EDWIN |
|
307 { |
|
308 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
309 width = KMPXSongDetailsNumTextWidth; |
|
310 default_input_mode = EAknEditorNumericInputMode; |
|
311 allowed_input_modes = EAknEditorNumericInputMode; |
|
312 }; |
|
313 }, |
|
314 DLG_LINE |
|
315 { |
|
316 type = EAknCtPopupField; |
|
317 prompt = qtn_nmp_song_details_genre; |
|
318 id = EMPXMetadataEditorDlgCtrlIdGenre; |
|
319 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
320 control = POPUP_FIELD |
|
321 { |
|
322 width = KMPXSongDetailsTextMaxLen; |
|
323 // other = qtn_aknexpopfield_list_other; |
|
324 }; |
|
325 tooltip = qtn_aknexpopfield_hint_text; |
|
326 }, |
|
327 DLG_LINE |
|
328 { |
|
329 type = EEikCtEdwin; |
|
330 prompt = qtn_nmp_song_details_composer; |
|
331 id = EMPXMetadataEditorDlgCtrlIdComposer; |
|
332 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
333 control = EDWIN |
|
334 { |
|
335 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
336 width = KMPXSongDetailsTextWidth; |
|
337 lines = KMPXSongDetailsTextLines; |
|
338 maxlength = KMPXSongDetailsTextMaxLen; |
|
339 // added to limit expanding in forms. |
|
340 // If you want full screen use 6 here |
|
341 max_view_height_in_lines = 6; |
|
342 // if you have the line above, you must have this. |
|
343 // It is calculable from LAF |
|
344 base_line_delta = 21; |
|
345 }; |
|
346 }, |
|
347 DLG_LINE |
|
348 { |
|
349 type = EEikCtEdwin; |
|
350 prompt = qtn_nmp_song_details_comment; |
|
351 id = EMPXMetadataEditorDlgCtrlIdComment; |
|
352 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
353 control = EDWIN |
|
354 { |
|
355 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
356 width = KMPXSongDetailsTextWidth; |
|
357 lines = KMPXSongDetailsTextLines; |
|
358 maxlength = KMPXSongDetailsTextMaxLen; |
|
359 // added to limit expanding in forms. |
|
360 // If you want full screen use 6 here |
|
361 max_view_height_in_lines = 6; |
|
362 // if you have the line above, you must have this. |
|
363 // It is calculable from LAF |
|
364 base_line_delta = 21; |
|
365 }; |
|
366 }, |
|
367 DLG_LINE |
|
368 { |
|
369 type = EAknCtPopupField; |
|
370 prompt = qtn_nmp_episode_details_library; |
|
371 id = EMPXMetadataEditorDlgCtrlIdLibrary; |
|
372 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
373 control = POPUP_FIELD |
|
374 { |
|
375 width = KMPXSongDetailsTextMaxLen; |
|
376 // other = qtn_aknexpopfield_list_other; |
|
377 }; |
|
378 tooltip = qtn_aknexpopfield_hint_text; |
|
379 }, |
|
380 DLG_LINE |
|
381 { |
|
382 type = EEikCtEdwin; |
|
383 prompt = qtn_nmp_song_details_licences; |
|
384 id = EMPXMetadataEditorDlgCtrlIdDRMDetail; |
|
385 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
386 control = EDWIN |
|
387 { |
|
388 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
389 width = KMPXSongDetailsTextWidth; |
|
390 lines = KMPXSongDetailsTextLines; |
|
391 maxlength = KMPXSongDetailsTextMaxLen; |
|
392 // added to limit expanding in forms. |
|
393 // If you want full screen use 6 here |
|
394 max_view_height_in_lines = 6; |
|
395 // if you have the line above, you must have this. |
|
396 // It is calculable from LAF |
|
397 base_line_delta = 21; |
|
398 }; |
|
399 }, |
|
400 DLG_LINE |
|
401 { |
|
402 type = EEikCtEdwin; |
|
403 prompt = qtn_mp_fd_filename; |
|
404 id = EMPXMetadataEditorDlgCtrlIdFileName; |
|
405 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
406 control = EDWIN |
|
407 { |
|
408 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
409 width = KMPXSongDetailsTextWidth; |
|
410 lines = KMPXSongDetailsTextLines; |
|
411 maxlength = KMPXSongDetailsTextMaxLen; |
|
412 // added to limit expanding in forms. |
|
413 // If you want full screen use 6 here |
|
414 max_view_height_in_lines = 6; |
|
415 // if you have the line above, you must have this. |
|
416 // It is calculable from LAF |
|
417 base_line_delta = 21; |
|
418 }; |
|
419 }, |
|
420 DLG_LINE |
|
421 { |
|
422 type = EEikCtEdwin; |
|
423 prompt = qtn_mp_details_format; |
|
424 id = EMPXMetadataEditorDlgCtrlIdFileFormat; |
|
425 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
426 control = EDWIN |
|
427 { |
|
428 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
429 width = KMPXSongDetailsTextWidth; |
|
430 lines = KMPXSongDetailsTextLines; |
|
431 maxlength = KMPXSongDetailsTextMaxLen; |
|
432 // added to limit expanding in forms. |
|
433 // If you want full screen use 6 here |
|
434 max_view_height_in_lines = 6; |
|
435 // if you have the line above, you must have this. |
|
436 // It is calculable from LAF |
|
437 base_line_delta = 21; |
|
438 }; |
|
439 }, |
|
440 DLG_LINE |
|
441 { |
|
442 type = EEikCtEdwin; |
|
443 prompt = qtn_mp_details_duration; |
|
444 id = EMPXMetadataEditorDlgCtrlIdFileDuration; |
|
445 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
446 control = EDWIN |
|
447 { |
|
448 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
449 width = KMPXSongDetailsTextWidth; |
|
450 lines = KMPXSongDetailsTextLines; |
|
451 maxlength = KMPXSongDetailsTextMaxLen; |
|
452 // added to limit expanding in forms. |
|
453 // If you want full screen use 6 here |
|
454 max_view_height_in_lines = 6; |
|
455 // if you have the line above, you must have this. |
|
456 // It is calculable from LAF |
|
457 base_line_delta = 21; |
|
458 }; |
|
459 }, |
|
460 DLG_LINE |
|
461 { |
|
462 type = EEikCtEdwin; |
|
463 prompt = qtn_mp_details_bitrate; |
|
464 id = EMPXMetadataEditorDlgCtrlIdFileBitrate; |
|
465 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
466 control = EDWIN |
|
467 { |
|
468 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
469 width = KMPXSongDetailsTextWidth; |
|
470 lines = KMPXSongDetailsTextLines; |
|
471 maxlength = KMPXSongDetailsTextMaxLen; |
|
472 // added to limit expanding in forms. |
|
473 // If you want full screen use 6 here |
|
474 max_view_height_in_lines = 6; |
|
475 // if you have the line above, you must have this. |
|
476 // It is calculable from LAF |
|
477 base_line_delta = 21; |
|
478 }; |
|
479 }, |
|
480 DLG_LINE |
|
481 { |
|
482 type = EEikCtEdwin; |
|
483 prompt = qtn_mp_details_samplerate; |
|
484 id = EMPXMetadataEditorDlgCtrlIdSamplingrate; |
|
485 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
486 control = EDWIN |
|
487 { |
|
488 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
489 width = KMPXSongDetailsTextWidth; |
|
490 lines = KMPXSongDetailsTextLines; |
|
491 maxlength = KMPXSongDetailsTextMaxLen; |
|
492 // added to limit expanding in forms. |
|
493 // If you want full screen use 6 here |
|
494 max_view_height_in_lines = 6; |
|
495 // if you have the line above, you must have this. |
|
496 // It is calculable from LAF |
|
497 base_line_delta = 21; |
|
498 }; |
|
499 }, |
|
500 DLG_LINE |
|
501 { |
|
502 type = EEikCtEdwin; |
|
503 prompt = qtn_mp_details_size; |
|
504 id = EMPXMetadataEditorDlgCtrlIdSize; |
|
505 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
506 control = EDWIN |
|
507 { |
|
508 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
509 width = KMPXSongDetailsTextWidth; |
|
510 lines = KMPXSongDetailsTextLines; |
|
511 maxlength = KMPXSongDetailsTextMaxLen; |
|
512 // added to limit expanding in forms. |
|
513 // If you want full screen use 6 here |
|
514 max_view_height_in_lines = 6; |
|
515 // if you have the line above, you must have this. |
|
516 // It is calculable from LAF |
|
517 base_line_delta = 21; |
|
518 }; |
|
519 }, |
|
520 DLG_LINE |
|
521 { |
|
522 type = EEikCtEdwin; |
|
523 prompt = qtn_mp_details_modified; |
|
524 id = EMPXMetadataEditorDlgCtrlIdLastModified; |
|
525 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
526 control = EDWIN |
|
527 { |
|
528 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
529 width = KMPXSongDetailsTextWidth; |
|
530 lines = KMPXSongDetailsTextLines; |
|
531 maxlength = KMPXSongDetailsTextMaxLen; |
|
532 // added to limit expanding in forms. |
|
533 // If you want full screen use 6 here |
|
534 max_view_height_in_lines = 6; |
|
535 // if you have the line above, you must have this. |
|
536 // It is calculable from LAF |
|
537 base_line_delta = 21; |
|
538 }; |
|
539 }, |
|
540 DLG_LINE |
|
541 { |
|
542 type = EEikCtEdwin; |
|
543 prompt = qtn_mp_details_copyright; |
|
544 id = EMPXMetadataEditorDlgCtrlIdCopyright; |
|
545 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
546 control = EDWIN |
|
547 { |
|
548 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
549 width = KMPXSongDetailsTextWidth; |
|
550 lines = KMPXSongDetailsTextLines; |
|
551 maxlength = KMPXSongDetailsTextMaxLen; |
|
552 // added to limit expanding in forms. |
|
553 // If you want full screen use 6 here |
|
554 max_view_height_in_lines = 6; |
|
555 // if you have the line above, you must have this. |
|
556 // It is calculable from LAF |
|
557 base_line_delta = 21; |
|
558 }; |
|
559 }, |
|
560 DLG_LINE |
|
561 { |
|
562 type = EEikCtEdwin; |
|
563 prompt = qtn_mp_details_url; |
|
564 id = EMPXMetadataEditorDlgCtrlIdWebaddress; |
|
565 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
566 control = EDWIN |
|
567 { |
|
568 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
569 width = KMPXSongDetailsTextWidth; |
|
570 lines = KMPXSongDetailsTextLines; |
|
571 maxlength = KMPXSongDetailsTextMaxLen; |
|
572 // added to limit expanding in forms. |
|
573 // If you want full screen use 6 here |
|
574 max_view_height_in_lines = 6; |
|
575 // if you have the line above, you must have this. |
|
576 // It is calculable from LAF |
|
577 base_line_delta = 21; |
|
578 }; |
|
579 } |
|
580 }; |
|
581 } |
|
582 |
|
583 // ----------------------------------------------------------------------------- |
|
584 // |
|
585 // r_mpx_cui_song_details_form_no_move_library |
|
586 // |
|
587 // ----------------------------------------------------------------------------- |
|
588 // |
|
589 RESOURCE FORM r_mpx_cui_song_details_form_no_move_library |
|
590 { |
|
591 flags = EEikFormUseDoubleSpacedFormat; |
|
592 items = |
|
593 { |
|
594 DLG_LINE |
|
595 { |
|
596 type = EEikCtEdwin; |
|
597 prompt = qtn_nmp_song_details_name; |
|
598 id = EMPXMetadataEditorDlgCtrlIdSongName; |
|
599 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
600 control = EDWIN |
|
601 { |
|
602 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
603 width = KMPXSongDetailsTextWidth; |
|
604 lines = KMPXSongDetailsTextLines; |
|
605 maxlength = KMPXSongDetailsTextMaxLen; |
|
606 // added to limit expanding in forms. |
|
607 // If you want full screen use 6 here |
|
608 max_view_height_in_lines = 6; |
|
609 // if you have the line above, you must have this. |
|
610 // It is calculable from LAF |
|
611 base_line_delta = 21; |
|
612 }; |
|
613 }, |
|
614 DLG_LINE |
|
615 { |
|
616 type = EEikCtEdwin; |
|
617 prompt = qtn_nmp_song_details_artist; |
|
618 id = EMPXMetadataEditorDlgCtrlIdArtist; |
|
619 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
620 control = EDWIN |
|
621 { |
|
622 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
623 width = KMPXSongDetailsTextWidth; |
|
624 lines = KMPXSongDetailsTextLines; |
|
625 maxlength = KMPXSongDetailsTextMaxLen; |
|
626 // added to limit expanding in forms. |
|
627 // If you want full screen use 6 here |
|
628 max_view_height_in_lines = 6; |
|
629 // if you have the line above, you must have this. |
|
630 // It is calculable from LAF |
|
631 base_line_delta = 21; |
|
632 }; |
|
633 }, |
|
634 DLG_LINE |
|
635 { |
|
636 type = EEikCtEdwin; |
|
637 prompt = qtn_nmp_song_details_album; |
|
638 id = EMPXMetadataEditorDlgCtrlIdAlbum; |
|
639 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
640 control = EDWIN |
|
641 { |
|
642 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
643 width = KMPXSongDetailsTextWidth; |
|
644 lines = KMPXSongDetailsTextLines; |
|
645 maxlength = KMPXSongDetailsTextMaxLen; |
|
646 // added to limit expanding in forms. |
|
647 // If you want full screen use 6 here |
|
648 max_view_height_in_lines = 6; |
|
649 // if you have the line above, you must have this. |
|
650 // It is calculable from LAF |
|
651 base_line_delta = 21; |
|
652 }; |
|
653 }, |
|
654 DLG_LINE |
|
655 { |
288 type = EEikCtNumberEditor; |
656 type = EEikCtNumberEditor; |
289 prompt = qtn_nmp_song_details_track_number; |
657 prompt = qtn_nmp_song_details_track_number; |
290 id = EMPXMetadataEditorDlgCtrlIdTrackNumber; |
658 id = EMPXMetadataEditorDlgCtrlIdTrackNumber; |
291 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
659 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
292 control = NUMBER_EDITOR |
660 control = NUMBER_EDITOR |
357 max_view_height_in_lines = 6; |
725 max_view_height_in_lines = 6; |
358 // if you have the line above, you must have this. |
726 // if you have the line above, you must have this. |
359 // It is calculable from LAF |
727 // It is calculable from LAF |
360 base_line_delta = 21; |
728 base_line_delta = 21; |
361 }; |
729 }; |
|
730 } |
|
731 }; |
|
732 } |
|
733 |
|
734 // ----------------------------------------------------------------------------- |
|
735 // |
|
736 // r_mpx_cui_song_details_episode |
|
737 // Title for metadata editor dialog for podcasts. |
|
738 // |
|
739 // ----------------------------------------------------------------------------- |
|
740 // |
|
741 RESOURCE TBUF r_mpx_cui_song_details_episode |
|
742 { |
|
743 buf = qtn_mus_title_details_episode; |
|
744 } |
|
745 |
|
746 #ifdef __ENABLE_MSK |
|
747 // ----------------------------------------------------------------------------- |
|
748 // |
|
749 // r_mpx_cui_podcast_details_dialog |
|
750 // Dialog for getting the podcast info |
|
751 // |
|
752 // ----------------------------------------------------------------------------- |
|
753 // |
|
754 RESOURCE DIALOG r_mpx_cui_podcast_details_dialog |
|
755 { |
|
756 flags = EAknDialogGenericFullScreen; |
|
757 buttons = r_mpx_cui_song_details_softkeys_options_empty_back; |
|
758 form = r_mpx_cui_podcast_details_form; |
|
759 } |
|
760 #else |
|
761 // ----------------------------------------------------------------------------- |
|
762 // |
|
763 // r_mpx_cui_podcast_details_dialog |
|
764 // Dialog for getting the podcast info |
|
765 // |
|
766 // ----------------------------------------------------------------------------- |
|
767 // |
|
768 RESOURCE DIALOG r_mpx_cui_podcast_details_dialog |
|
769 { |
|
770 flags = EAknDialogGenericFullScreen; |
|
771 buttons = R_AVKON_SOFTKEYS_OPTIONS_DONE; |
|
772 form = r_mpx_cui_podcast_details_form; |
|
773 } |
|
774 #endif // __ENABLE_MSK |
|
775 |
|
776 // ----------------------------------------------------------------------------- |
|
777 // |
|
778 // r_mpx_cui_podcast_details_form |
|
779 // |
|
780 // ----------------------------------------------------------------------------- |
|
781 // |
|
782 RESOURCE FORM r_mpx_cui_podcast_details_form |
|
783 { |
|
784 flags = EEikFormUseDoubleSpacedFormat; |
|
785 items = |
|
786 { |
|
787 DLG_LINE |
|
788 { |
|
789 type = EEikCtEdwin; |
|
790 prompt = qtn_nmp_episode_details_name; |
|
791 id = EMPXMetadataEditorDlgCtrlIdSongName; |
|
792 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
793 control = EDWIN |
|
794 { |
|
795 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
796 width = KMPXSongDetailsTextWidth; |
|
797 lines = KMPXSongDetailsTextLines; |
|
798 maxlength = KMPXSongDetailsTextMaxLen; |
|
799 // added to limit expanding in forms. |
|
800 // If you want full screen use 6 here |
|
801 max_view_height_in_lines = 6; |
|
802 // if you have the line above, you must have this. |
|
803 // It is calculable from LAF |
|
804 base_line_delta = 21; |
|
805 }; |
|
806 }, |
|
807 DLG_LINE |
|
808 { |
|
809 type = EEikCtEdwin; |
|
810 prompt = qtn_nmp_episode_details_author; |
|
811 id = EMPXMetadataEditorDlgCtrlIdArtist; |
|
812 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
813 control = EDWIN |
|
814 { |
|
815 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
816 width = KMPXSongDetailsTextWidth; |
|
817 lines = KMPXSongDetailsTextLines; |
|
818 maxlength = KMPXSongDetailsTextMaxLen; |
|
819 // added to limit expanding in forms. |
|
820 // If you want full screen use 6 here |
|
821 max_view_height_in_lines = 6; |
|
822 // if you have the line above, you must have this. |
|
823 // It is calculable from LAF |
|
824 base_line_delta = 21; |
|
825 }; |
|
826 }, |
|
827 DLG_LINE |
|
828 { |
|
829 type = EEikCtEdwin; |
|
830 prompt = qtn_nmp_episode_details_title; |
|
831 id = EMPXMetadataEditorDlgCtrlIdAlbum; |
|
832 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
833 control = EDWIN |
|
834 { |
|
835 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
836 width = KMPXSongDetailsTextWidth; |
|
837 lines = KMPXSongDetailsTextLines; |
|
838 maxlength = KMPXSongDetailsTextMaxLen; |
|
839 // added to limit expanding in forms. |
|
840 // If you want full screen use 6 here |
|
841 max_view_height_in_lines = 6; |
|
842 // if you have the line above, you must have this. |
|
843 // It is calculable from LAF |
|
844 base_line_delta = 21; |
|
845 }; |
|
846 }, |
|
847 DLG_LINE |
|
848 { |
|
849 type = EEikCtEdwin; |
|
850 prompt = qtn_nmp_song_details_episode_number; |
|
851 id = EMPXMetadataEditorDlgCtrlIdTrackNumber; |
|
852 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
853 control = EDWIN |
|
854 { |
|
855 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
856 width = KMPXSongDetailsNumTextWidth; |
|
857 default_input_mode = EAknEditorNumericInputMode; |
|
858 allowed_input_modes = EAknEditorNumericInputMode; |
|
859 }; |
|
860 }, |
|
861 DLG_LINE |
|
862 { |
|
863 type = EEikCtEdwin; |
|
864 prompt = qtn_nmp_song_details_year; |
|
865 id = EMPXMetadataEditorDlgCtrlIdYear; |
|
866 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
867 control = EDWIN |
|
868 { |
|
869 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
870 width = KMPXSongDetailsNumTextWidth; |
|
871 default_input_mode = EAknEditorNumericInputMode; |
|
872 allowed_input_modes = EAknEditorNumericInputMode; |
|
873 }; |
|
874 }, |
|
875 DLG_LINE |
|
876 { |
|
877 type = EAknCtPopupField; |
|
878 prompt = qtn_nmp_episode_details_genre; |
|
879 id = EMPXMetadataEditorDlgCtrlIdGenre; |
|
880 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
881 control = POPUP_FIELD |
|
882 { |
|
883 width = KMPXSongDetailsTextMaxLen; |
|
884 // other = qtn_aknexpopfield_list_other; |
|
885 }; |
|
886 tooltip = qtn_aknexpopfield_hint_text; |
|
887 }, |
|
888 DLG_LINE |
|
889 { |
|
890 type = EEikCtEdwin; |
|
891 prompt = qtn_nmp_song_details_comment; |
|
892 id = EMPXMetadataEditorDlgCtrlIdComment; |
|
893 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
894 control = EDWIN |
|
895 { |
|
896 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
897 width = KMPXSongDetailsTextWidth; |
|
898 lines = KMPXSongDetailsTextLines; |
|
899 maxlength = KMPXSongDetailsTextMaxLen; |
|
900 // added to limit expanding in forms. |
|
901 // If you want full screen use 6 here |
|
902 max_view_height_in_lines = 6; |
|
903 // if you have the line above, you must have this. |
|
904 // It is calculable from LAF |
|
905 base_line_delta = 21; |
|
906 }; |
362 }, |
907 }, |
363 DLG_LINE |
908 DLG_LINE |
364 { |
909 { |
365 type = EAknCtPopupField; |
910 type = EAknCtPopupField; |
366 prompt = qtn_nmp_episode_details_library; |
911 prompt = qtn_nmp_episode_details_library; |
474 }; |
1039 }; |
475 }, |
1040 }, |
476 DLG_LINE |
1041 DLG_LINE |
477 { |
1042 { |
478 type = EEikCtEdwin; |
1043 type = EEikCtEdwin; |
479 prompt = qtn_mp_details_size; |
1044 prompt = qtn_mp_details_last_playback_position; |
480 id = EMPXMetadataEditorDlgCtrlIdSize; |
1045 id = EMPXMetadataEditorDlgCtrlIdLastPlayedPosition; |
481 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
1046 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
482 control = EDWIN |
1047 control = EDWIN |
483 { |
1048 { |
484 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
1049 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
485 width = KMPXSongDetailsTextWidth; |
1050 width = KMPXSongDetailsTextWidth; |
486 lines = KMPXSongDetailsTextLines; |
1051 lines = KMPXSongDetailsTextLines; |
487 maxlength = KMPXSongDetailsTextMaxLen; |
1052 maxlength = KMPXSongDetailsTextMaxLen; |
488 // added to limit expanding in forms. |
1053 // added to limit expanding in forms. |
489 // If you want full screen use 6 here |
1054 // If you want full screen use 6 here |
490 max_view_height_in_lines = 6; |
1055 max_view_height_in_lines = 6; |
491 // if you have the line above, you must have this. |
1056 // if you have the line above, you must have this. |
492 // It is calculable from LAF |
1057 // It is calculable from LAF |
493 base_line_delta = 21; |
1058 base_line_delta = 21; |
494 }; |
1059 }; |
495 }, |
1060 }, |
496 DLG_LINE |
1061 DLG_LINE |
497 { |
1062 { |
498 type = EEikCtEdwin; |
1063 type = EEikCtEdwin; |
499 prompt = qtn_mp_details_modified; |
1064 prompt = qtn_mp_details_published; |
500 id = EMPXMetadataEditorDlgCtrlIdLastModified; |
1065 id = EMPXMetadataEditorDlgCtrlIdLastPublished; |
501 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
1066 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
502 control = EDWIN |
1067 control = EDWIN |
503 { |
1068 { |
504 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
1069 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
505 width = KMPXSongDetailsTextWidth; |
1070 width = KMPXSongDetailsTextWidth; |
506 lines = KMPXSongDetailsTextLines; |
1071 lines = KMPXSongDetailsTextLines; |
507 maxlength = KMPXSongDetailsTextMaxLen; |
1072 maxlength = KMPXSongDetailsTextMaxLen; |
508 // added to limit expanding in forms. |
1073 // added to limit expanding in forms. |
509 // If you want full screen use 6 here |
1074 // If you want full screen use 6 here |
510 max_view_height_in_lines = 6; |
1075 max_view_height_in_lines = 6; |
511 // if you have the line above, you must have this. |
1076 // if you have the line above, you must have this. |
512 // It is calculable from LAF |
1077 // It is calculable from LAF |
513 base_line_delta = 21; |
1078 base_line_delta = 21; |
514 }; |
1079 }; |
515 }, |
|
516 DLG_LINE |
|
517 { |
|
518 type = EEikCtEdwin; |
|
519 prompt = qtn_mp_details_copyright; |
|
520 id = EMPXMetadataEditorDlgCtrlIdCopyright; |
|
521 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
522 control = EDWIN |
|
523 { |
|
524 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
525 width = KMPXSongDetailsTextWidth; |
|
526 lines = KMPXSongDetailsTextLines; |
|
527 maxlength = KMPXSongDetailsTextMaxLen; |
|
528 // added to limit expanding in forms. |
|
529 // If you want full screen use 6 here |
|
530 max_view_height_in_lines = 6; |
|
531 // if you have the line above, you must have this. |
|
532 // It is calculable from LAF |
|
533 base_line_delta = 21; |
|
534 }; |
|
535 }, |
|
536 DLG_LINE |
|
537 { |
|
538 type = EEikCtEdwin; |
|
539 prompt = qtn_mp_details_url; |
|
540 id = EMPXMetadataEditorDlgCtrlIdWebaddress; |
|
541 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
542 control = EDWIN |
|
543 { |
|
544 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
545 width = KMPXSongDetailsTextWidth; |
|
546 lines = KMPXSongDetailsTextLines; |
|
547 maxlength = KMPXSongDetailsTextMaxLen; |
|
548 // added to limit expanding in forms. |
|
549 // If you want full screen use 6 here |
|
550 max_view_height_in_lines = 6; |
|
551 // if you have the line above, you must have this. |
|
552 // It is calculable from LAF |
|
553 base_line_delta = 21; |
|
554 }; |
|
555 } |
|
556 }; |
|
557 } |
|
558 |
|
559 // ----------------------------------------------------------------------------- |
|
560 // |
|
561 // r_mpx_cui_song_details_form_no_move_library |
|
562 // |
|
563 // ----------------------------------------------------------------------------- |
|
564 // |
|
565 RESOURCE FORM r_mpx_cui_song_details_form_no_move_library |
|
566 { |
|
567 flags = EEikFormUseDoubleSpacedFormat; |
|
568 items = |
|
569 { |
|
570 DLG_LINE |
|
571 { |
|
572 type = EEikCtEdwin; |
|
573 prompt = qtn_nmp_song_details_name; |
|
574 id = EMPXMetadataEditorDlgCtrlIdSongName; |
|
575 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
576 control = EDWIN |
|
577 { |
|
578 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
579 width = KMPXSongDetailsTextWidth; |
|
580 lines = KMPXSongDetailsTextLines; |
|
581 maxlength = KMPXSongDetailsTextMaxLen; |
|
582 // added to limit expanding in forms. |
|
583 // If you want full screen use 6 here |
|
584 max_view_height_in_lines = 6; |
|
585 // if you have the line above, you must have this. |
|
586 // It is calculable from LAF |
|
587 base_line_delta = 21; |
|
588 }; |
|
589 }, |
|
590 DLG_LINE |
|
591 { |
|
592 type = EEikCtEdwin; |
|
593 prompt = qtn_nmp_song_details_artist; |
|
594 id = EMPXMetadataEditorDlgCtrlIdArtist; |
|
595 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
596 control = EDWIN |
|
597 { |
|
598 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
599 width = KMPXSongDetailsTextWidth; |
|
600 lines = KMPXSongDetailsTextLines; |
|
601 maxlength = KMPXSongDetailsTextMaxLen; |
|
602 // added to limit expanding in forms. |
|
603 // If you want full screen use 6 here |
|
604 max_view_height_in_lines = 6; |
|
605 // if you have the line above, you must have this. |
|
606 // It is calculable from LAF |
|
607 base_line_delta = 21; |
|
608 }; |
|
609 }, |
|
610 DLG_LINE |
|
611 { |
|
612 type = EEikCtEdwin; |
|
613 prompt = qtn_nmp_song_details_album; |
|
614 id = EMPXMetadataEditorDlgCtrlIdAlbum; |
|
615 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
616 control = EDWIN |
|
617 { |
|
618 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
619 width = KMPXSongDetailsTextWidth; |
|
620 lines = KMPXSongDetailsTextLines; |
|
621 maxlength = KMPXSongDetailsTextMaxLen; |
|
622 // added to limit expanding in forms. |
|
623 // If you want full screen use 6 here |
|
624 max_view_height_in_lines = 6; |
|
625 // if you have the line above, you must have this. |
|
626 // It is calculable from LAF |
|
627 base_line_delta = 21; |
|
628 }; |
|
629 }, |
|
630 DLG_LINE |
|
631 { |
|
632 type = EEikCtNumberEditor; |
|
633 prompt = qtn_nmp_song_details_track_number; |
|
634 id = EMPXMetadataEditorDlgCtrlIdTrackNumber; |
|
635 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
636 control = NUMBER_EDITOR |
|
637 { |
|
638 min = KMPXSongDetailsTrackNumMin; |
|
639 max = KMPXSongDetailsTrackNumMax; |
|
640 }; |
|
641 }, |
|
642 DLG_LINE |
|
643 { |
|
644 type = EEikCtNumberEditor; |
|
645 prompt = qtn_nmp_song_details_year; |
|
646 id = EMPXMetadataEditorDlgCtrlIdYear; |
|
647 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
648 control = NUMBER_EDITOR |
|
649 { |
|
650 min = KMPXSongDetailsYearMin; |
|
651 max = KMPXSongDetailsYearMax; |
|
652 }; |
|
653 }, |
|
654 DLG_LINE |
|
655 { |
|
656 type = EAknCtPopupField; |
|
657 prompt = qtn_nmp_song_details_genre; |
|
658 id = EMPXMetadataEditorDlgCtrlIdGenre; |
|
659 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
660 control = POPUP_FIELD |
|
661 { |
|
662 width = KMPXSongDetailsTextMaxLen; |
|
663 // other = qtn_aknexpopfield_list_other; |
|
664 }; |
|
665 tooltip = qtn_aknexpopfield_hint_text; |
|
666 }, |
|
667 DLG_LINE |
|
668 { |
|
669 type = EEikCtEdwin; |
|
670 prompt = qtn_nmp_song_details_composer; |
|
671 id = EMPXMetadataEditorDlgCtrlIdComposer; |
|
672 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
673 control = EDWIN |
|
674 { |
|
675 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
676 width = KMPXSongDetailsTextWidth; |
|
677 lines = KMPXSongDetailsTextLines; |
|
678 maxlength = KMPXSongDetailsTextMaxLen; |
|
679 // added to limit expanding in forms. |
|
680 // If you want full screen use 6 here |
|
681 max_view_height_in_lines = 6; |
|
682 // if you have the line above, you must have this. |
|
683 // It is calculable from LAF |
|
684 base_line_delta = 21; |
|
685 }; |
|
686 }, |
|
687 DLG_LINE |
|
688 { |
|
689 type = EEikCtEdwin; |
|
690 prompt = qtn_nmp_song_details_comment; |
|
691 id = EMPXMetadataEditorDlgCtrlIdComment; |
|
692 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
693 control = EDWIN |
|
694 { |
|
695 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
696 width = KMPXSongDetailsTextWidth; |
|
697 lines = KMPXSongDetailsTextLines; |
|
698 maxlength = KMPXSongDetailsTextMaxLen; |
|
699 // added to limit expanding in forms. |
|
700 // If you want full screen use 6 here |
|
701 max_view_height_in_lines = 6; |
|
702 // if you have the line above, you must have this. |
|
703 // It is calculable from LAF |
|
704 base_line_delta = 21; |
|
705 }; |
|
706 } |
|
707 }; |
|
708 } |
|
709 |
|
710 // ----------------------------------------------------------------------------- |
|
711 // |
|
712 // r_mpx_cui_song_details_episode |
|
713 // Title for metadata editor dialog for podcasts. |
|
714 // |
|
715 // ----------------------------------------------------------------------------- |
|
716 // |
|
717 RESOURCE TBUF r_mpx_cui_song_details_episode |
|
718 { |
|
719 buf = qtn_mus_title_details_episode; |
|
720 } |
|
721 |
|
722 #ifdef __ENABLE_MSK |
|
723 // ----------------------------------------------------------------------------- |
|
724 // |
|
725 // r_mpx_cui_podcast_details_dialog |
|
726 // Dialog for getting the podcast info |
|
727 // |
|
728 // ----------------------------------------------------------------------------- |
|
729 // |
|
730 RESOURCE DIALOG r_mpx_cui_podcast_details_dialog |
|
731 { |
|
732 flags = EAknDialogGenericFullScreen; |
|
733 buttons = r_mpx_cui_song_details_softkeys_options_empty_back; |
|
734 form = r_mpx_cui_podcast_details_form; |
|
735 } |
|
736 #else |
|
737 // ----------------------------------------------------------------------------- |
|
738 // |
|
739 // r_mpx_cui_podcast_details_dialog |
|
740 // Dialog for getting the podcast info |
|
741 // |
|
742 // ----------------------------------------------------------------------------- |
|
743 // |
|
744 RESOURCE DIALOG r_mpx_cui_podcast_details_dialog |
|
745 { |
|
746 flags = EAknDialogGenericFullScreen; |
|
747 buttons = R_AVKON_SOFTKEYS_OPTIONS_DONE; |
|
748 form = r_mpx_cui_podcast_details_form; |
|
749 } |
|
750 #endif // __ENABLE_MSK |
|
751 |
|
752 // ----------------------------------------------------------------------------- |
|
753 // |
|
754 // r_mpx_cui_podcast_details_form |
|
755 // |
|
756 // ----------------------------------------------------------------------------- |
|
757 // |
|
758 RESOURCE FORM r_mpx_cui_podcast_details_form |
|
759 { |
|
760 flags = EEikFormUseDoubleSpacedFormat; |
|
761 items = |
|
762 { |
|
763 DLG_LINE |
|
764 { |
|
765 type = EEikCtEdwin; |
|
766 prompt = qtn_nmp_episode_details_name; |
|
767 id = EMPXMetadataEditorDlgCtrlIdSongName; |
|
768 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
769 control = EDWIN |
|
770 { |
|
771 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
772 width = KMPXSongDetailsTextWidth; |
|
773 lines = KMPXSongDetailsTextLines; |
|
774 maxlength = KMPXSongDetailsTextMaxLen; |
|
775 // added to limit expanding in forms. |
|
776 // If you want full screen use 6 here |
|
777 max_view_height_in_lines = 6; |
|
778 // if you have the line above, you must have this. |
|
779 // It is calculable from LAF |
|
780 base_line_delta = 21; |
|
781 }; |
|
782 }, |
|
783 DLG_LINE |
|
784 { |
|
785 type = EEikCtEdwin; |
|
786 prompt = qtn_nmp_episode_details_author; |
|
787 id = EMPXMetadataEditorDlgCtrlIdArtist; |
|
788 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
789 control = EDWIN |
|
790 { |
|
791 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
792 width = KMPXSongDetailsTextWidth; |
|
793 lines = KMPXSongDetailsTextLines; |
|
794 maxlength = KMPXSongDetailsTextMaxLen; |
|
795 // added to limit expanding in forms. |
|
796 // If you want full screen use 6 here |
|
797 max_view_height_in_lines = 6; |
|
798 // if you have the line above, you must have this. |
|
799 // It is calculable from LAF |
|
800 base_line_delta = 21; |
|
801 }; |
|
802 }, |
|
803 DLG_LINE |
|
804 { |
|
805 type = EEikCtEdwin; |
|
806 prompt = qtn_nmp_episode_details_title; |
|
807 id = EMPXMetadataEditorDlgCtrlIdAlbum; |
|
808 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
809 control = EDWIN |
|
810 { |
|
811 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
812 width = KMPXSongDetailsTextWidth; |
|
813 lines = KMPXSongDetailsTextLines; |
|
814 maxlength = KMPXSongDetailsTextMaxLen; |
|
815 // added to limit expanding in forms. |
|
816 // If you want full screen use 6 here |
|
817 max_view_height_in_lines = 6; |
|
818 // if you have the line above, you must have this. |
|
819 // It is calculable from LAF |
|
820 base_line_delta = 21; |
|
821 }; |
|
822 }, |
|
823 DLG_LINE |
|
824 { |
|
825 type = EEikCtNumberEditor; |
|
826 prompt = qtn_nmp_song_details_episode_number; |
|
827 id = EMPXMetadataEditorDlgCtrlIdTrackNumber; |
|
828 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
829 control = NUMBER_EDITOR |
|
830 { |
|
831 min = KMPXSongDetailsTrackNumMin; |
|
832 max = KMPXSongDetailsTrackNumMax; |
|
833 }; |
|
834 }, |
|
835 DLG_LINE |
|
836 { |
|
837 type = EEikCtNumberEditor; |
|
838 prompt = qtn_nmp_song_details_year; |
|
839 id = EMPXMetadataEditorDlgCtrlIdYear; |
|
840 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
841 control = NUMBER_EDITOR |
|
842 { |
|
843 min = KMPXSongDetailsYearMin; |
|
844 max = KMPXSongDetailsYearMax; |
|
845 }; |
|
846 }, |
|
847 DLG_LINE |
|
848 { |
|
849 type = EAknCtPopupField; |
|
850 prompt = qtn_nmp_episode_details_genre; |
|
851 id = EMPXMetadataEditorDlgCtrlIdGenre; |
|
852 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
853 control = POPUP_FIELD |
|
854 { |
|
855 width = KMPXSongDetailsTextMaxLen; |
|
856 // other = qtn_aknexpopfield_list_other; |
|
857 }; |
|
858 tooltip = qtn_aknexpopfield_hint_text; |
|
859 }, |
|
860 DLG_LINE |
|
861 { |
|
862 type = EEikCtEdwin; |
|
863 prompt = qtn_nmp_song_details_comment; |
|
864 id = EMPXMetadataEditorDlgCtrlIdComment; |
|
865 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
866 control = EDWIN |
|
867 { |
|
868 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
869 width = KMPXSongDetailsTextWidth; |
|
870 lines = KMPXSongDetailsTextLines; |
|
871 maxlength = KMPXSongDetailsTextMaxLen; |
|
872 // added to limit expanding in forms. |
|
873 // If you want full screen use 6 here |
|
874 max_view_height_in_lines = 6; |
|
875 // if you have the line above, you must have this. |
|
876 // It is calculable from LAF |
|
877 base_line_delta = 21; |
|
878 }; |
|
879 }, |
|
880 DLG_LINE |
|
881 { |
|
882 type = EAknCtPopupField; |
|
883 prompt = qtn_nmp_episode_details_library; |
|
884 id = EMPXMetadataEditorDlgCtrlIdLibrary; |
|
885 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
886 control = POPUP_FIELD |
|
887 { |
|
888 width = KMPXSongDetailsTextMaxLen; |
|
889 // other = qtn_aknexpopfield_list_other; |
|
890 }; |
|
891 tooltip = qtn_aknexpopfield_hint_text; |
|
892 }, |
|
893 DLG_LINE |
|
894 { |
|
895 type = EEikCtEdwin; |
|
896 prompt = qtn_mp_fd_filename; |
|
897 id = EMPXMetadataEditorDlgCtrlIdFileName; |
|
898 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
899 control = EDWIN |
|
900 { |
|
901 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
902 width = KMPXSongDetailsTextWidth; |
|
903 lines = KMPXSongDetailsTextLines; |
|
904 maxlength = KMPXSongDetailsTextMaxLen; |
|
905 // added to limit expanding in forms. |
|
906 // If you want full screen use 6 here |
|
907 max_view_height_in_lines = 6; |
|
908 // if you have the line above, you must have this. |
|
909 // It is calculable from LAF |
|
910 base_line_delta = 21; |
|
911 }; |
|
912 }, |
|
913 DLG_LINE |
|
914 { |
|
915 type = EEikCtEdwin; |
|
916 prompt = qtn_mp_details_format; |
|
917 id = EMPXMetadataEditorDlgCtrlIdFileFormat; |
|
918 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
919 control = EDWIN |
|
920 { |
|
921 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
922 width = KMPXSongDetailsTextWidth; |
|
923 lines = KMPXSongDetailsTextLines; |
|
924 maxlength = KMPXSongDetailsTextMaxLen; |
|
925 // added to limit expanding in forms. |
|
926 // If you want full screen use 6 here |
|
927 max_view_height_in_lines = 6; |
|
928 // if you have the line above, you must have this. |
|
929 // It is calculable from LAF |
|
930 base_line_delta = 21; |
|
931 }; |
|
932 }, |
|
933 DLG_LINE |
|
934 { |
|
935 type = EEikCtEdwin; |
|
936 prompt = qtn_mp_details_duration; |
|
937 id = EMPXMetadataEditorDlgCtrlIdFileDuration; |
|
938 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
939 control = EDWIN |
|
940 { |
|
941 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
942 width = KMPXSongDetailsTextWidth; |
|
943 lines = KMPXSongDetailsTextLines; |
|
944 maxlength = KMPXSongDetailsTextMaxLen; |
|
945 // added to limit expanding in forms. |
|
946 // If you want full screen use 6 here |
|
947 max_view_height_in_lines = 6; |
|
948 // if you have the line above, you must have this. |
|
949 // It is calculable from LAF |
|
950 base_line_delta = 21; |
|
951 }; |
|
952 }, |
|
953 DLG_LINE |
|
954 { |
|
955 type = EEikCtEdwin; |
|
956 prompt = qtn_mp_details_bitrate; |
|
957 id = EMPXMetadataEditorDlgCtrlIdFileBitrate; |
|
958 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
959 control = EDWIN |
|
960 { |
|
961 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
962 width = KMPXSongDetailsTextWidth; |
|
963 lines = KMPXSongDetailsTextLines; |
|
964 maxlength = KMPXSongDetailsTextMaxLen; |
|
965 // added to limit expanding in forms. |
|
966 // If you want full screen use 6 here |
|
967 max_view_height_in_lines = 6; |
|
968 // if you have the line above, you must have this. |
|
969 // It is calculable from LAF |
|
970 base_line_delta = 21; |
|
971 }; |
|
972 }, |
|
973 DLG_LINE |
|
974 { |
|
975 type = EEikCtEdwin; |
|
976 prompt = qtn_mp_details_samplerate; |
|
977 id = EMPXMetadataEditorDlgCtrlIdSamplingrate; |
|
978 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
979 control = EDWIN |
|
980 { |
|
981 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
982 width = KMPXSongDetailsTextWidth; |
|
983 lines = KMPXSongDetailsTextLines; |
|
984 maxlength = KMPXSongDetailsTextMaxLen; |
|
985 // added to limit expanding in forms. |
|
986 // If you want full screen use 6 here |
|
987 max_view_height_in_lines = 6; |
|
988 // if you have the line above, you must have this. |
|
989 // It is calculable from LAF |
|
990 base_line_delta = 21; |
|
991 }; |
|
992 }, |
1080 }, |
993 DLG_LINE |
1081 DLG_LINE |
994 { |
1082 { |
995 type = EEikCtEdwin; |
1083 type = EEikCtEdwin; |
996 prompt = qtn_mp_details_size; |
1084 prompt = qtn_mp_details_size; |