311 allowed_input_modes = EAknEditorNumericInputMode; |
311 allowed_input_modes = EAknEditorNumericInputMode; |
312 }; |
312 }; |
313 }, |
313 }, |
314 DLG_LINE |
314 DLG_LINE |
315 { |
315 { |
|
316 type = EEikCtEdwin; |
|
317 prompt = qtn_nmp_song_details_genre; |
|
318 id = EMPXMetadataEditorDlgCtrlIdGenre; |
|
319 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
320 control = EDWIN |
|
321 { |
|
322 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
323 width = KMPXSongDetailsTextWidth; |
|
324 lines = KMPXSongDetailsTextLines; |
|
325 maxlength = KMPXSongDetailsTextMaxLen; |
|
326 // added to limit expanding in forms. |
|
327 // If you want full screen use 6 here |
|
328 max_view_height_in_lines = 6; |
|
329 // if you have the line above, you must have this. |
|
330 // It is calculable from LAF |
|
331 base_line_delta = 21; |
|
332 }; |
|
333 }, |
|
334 DLG_LINE |
|
335 { |
|
336 type = EEikCtEdwin; |
|
337 prompt = qtn_nmp_song_details_composer; |
|
338 id = EMPXMetadataEditorDlgCtrlIdComposer; |
|
339 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
340 control = EDWIN |
|
341 { |
|
342 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
343 width = KMPXSongDetailsTextWidth; |
|
344 lines = KMPXSongDetailsTextLines; |
|
345 maxlength = KMPXSongDetailsTextMaxLen; |
|
346 // added to limit expanding in forms. |
|
347 // If you want full screen use 6 here |
|
348 max_view_height_in_lines = 6; |
|
349 // if you have the line above, you must have this. |
|
350 // It is calculable from LAF |
|
351 base_line_delta = 21; |
|
352 }; |
|
353 }, |
|
354 DLG_LINE |
|
355 { |
|
356 type = EEikCtEdwin; |
|
357 prompt = qtn_nmp_song_details_comment; |
|
358 id = EMPXMetadataEditorDlgCtrlIdComment; |
|
359 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
360 control = EDWIN |
|
361 { |
|
362 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
363 width = KMPXSongDetailsTextWidth; |
|
364 lines = KMPXSongDetailsTextLines; |
|
365 maxlength = KMPXSongDetailsTextMaxLen; |
|
366 // added to limit expanding in forms. |
|
367 // If you want full screen use 6 here |
|
368 max_view_height_in_lines = 6; |
|
369 // if you have the line above, you must have this. |
|
370 // It is calculable from LAF |
|
371 base_line_delta = 21; |
|
372 }; |
|
373 }, |
|
374 DLG_LINE |
|
375 { |
|
376 type = EEikCtEdwin; |
|
377 prompt = qtn_nmp_song_details_licences; |
|
378 id = EMPXMetadataEditorDlgCtrlIdDRMDetail; |
|
379 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
380 control = EDWIN |
|
381 { |
|
382 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
383 width = KMPXSongDetailsTextWidth; |
|
384 lines = KMPXSongDetailsTextLines; |
|
385 maxlength = KMPXSongDetailsTextMaxLen; |
|
386 // added to limit expanding in forms. |
|
387 // If you want full screen use 6 here |
|
388 max_view_height_in_lines = 6; |
|
389 // if you have the line above, you must have this. |
|
390 // It is calculable from LAF |
|
391 base_line_delta = 21; |
|
392 }; |
|
393 }, |
|
394 DLG_LINE |
|
395 { |
|
396 type = EEikCtEdwin; |
|
397 prompt = qtn_mp_fd_filename; |
|
398 id = EMPXMetadataEditorDlgCtrlIdFileName; |
|
399 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
400 control = EDWIN |
|
401 { |
|
402 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
403 width = KMPXSongDetailsTextWidth; |
|
404 lines = KMPXSongDetailsTextLines; |
|
405 maxlength = KMPXSongDetailsTextMaxLen; |
|
406 // added to limit expanding in forms. |
|
407 // If you want full screen use 6 here |
|
408 max_view_height_in_lines = 6; |
|
409 // if you have the line above, you must have this. |
|
410 // It is calculable from LAF |
|
411 base_line_delta = 21; |
|
412 }; |
|
413 }, |
|
414 DLG_LINE |
|
415 { |
|
416 type = EEikCtEdwin; |
|
417 prompt = qtn_mp_details_format; |
|
418 id = EMPXMetadataEditorDlgCtrlIdFileFormat; |
|
419 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
420 control = EDWIN |
|
421 { |
|
422 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
423 width = KMPXSongDetailsTextWidth; |
|
424 lines = KMPXSongDetailsTextLines; |
|
425 maxlength = KMPXSongDetailsTextMaxLen; |
|
426 // added to limit expanding in forms. |
|
427 // If you want full screen use 6 here |
|
428 max_view_height_in_lines = 6; |
|
429 // if you have the line above, you must have this. |
|
430 // It is calculable from LAF |
|
431 base_line_delta = 21; |
|
432 }; |
|
433 }, |
|
434 DLG_LINE |
|
435 { |
|
436 type = EEikCtEdwin; |
|
437 prompt = qtn_mp_details_duration; |
|
438 id = EMPXMetadataEditorDlgCtrlIdFileDuration; |
|
439 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
440 control = EDWIN |
|
441 { |
|
442 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
443 width = KMPXSongDetailsTextWidth; |
|
444 lines = KMPXSongDetailsTextLines; |
|
445 maxlength = KMPXSongDetailsTextMaxLen; |
|
446 // added to limit expanding in forms. |
|
447 // If you want full screen use 6 here |
|
448 max_view_height_in_lines = 6; |
|
449 // if you have the line above, you must have this. |
|
450 // It is calculable from LAF |
|
451 base_line_delta = 21; |
|
452 }; |
|
453 }, |
|
454 DLG_LINE |
|
455 { |
|
456 type = EEikCtEdwin; |
|
457 prompt = qtn_mp_details_bitrate; |
|
458 id = EMPXMetadataEditorDlgCtrlIdFileBitrate; |
|
459 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
460 control = EDWIN |
|
461 { |
|
462 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
463 width = KMPXSongDetailsTextWidth; |
|
464 lines = KMPXSongDetailsTextLines; |
|
465 maxlength = KMPXSongDetailsTextMaxLen; |
|
466 // added to limit expanding in forms. |
|
467 // If you want full screen use 6 here |
|
468 max_view_height_in_lines = 6; |
|
469 // if you have the line above, you must have this. |
|
470 // It is calculable from LAF |
|
471 base_line_delta = 21; |
|
472 }; |
|
473 }, |
|
474 DLG_LINE |
|
475 { |
|
476 type = EEikCtEdwin; |
|
477 prompt = qtn_mp_details_samplerate; |
|
478 id = EMPXMetadataEditorDlgCtrlIdSamplingrate; |
|
479 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
480 control = EDWIN |
|
481 { |
|
482 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
483 width = KMPXSongDetailsTextWidth; |
|
484 lines = KMPXSongDetailsTextLines; |
|
485 maxlength = KMPXSongDetailsTextMaxLen; |
|
486 // added to limit expanding in forms. |
|
487 // If you want full screen use 6 here |
|
488 max_view_height_in_lines = 6; |
|
489 // if you have the line above, you must have this. |
|
490 // It is calculable from LAF |
|
491 base_line_delta = 21; |
|
492 }; |
|
493 }, |
|
494 DLG_LINE |
|
495 { |
|
496 type = EEikCtEdwin; |
|
497 prompt = qtn_mp_details_size; |
|
498 id = EMPXMetadataEditorDlgCtrlIdSize; |
|
499 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
500 control = EDWIN |
|
501 { |
|
502 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
503 width = KMPXSongDetailsTextWidth; |
|
504 lines = KMPXSongDetailsTextLines; |
|
505 maxlength = KMPXSongDetailsTextMaxLen; |
|
506 // added to limit expanding in forms. |
|
507 // If you want full screen use 6 here |
|
508 max_view_height_in_lines = 6; |
|
509 // if you have the line above, you must have this. |
|
510 // It is calculable from LAF |
|
511 base_line_delta = 21; |
|
512 }; |
|
513 }, |
|
514 DLG_LINE |
|
515 { |
|
516 type = EEikCtEdwin; |
|
517 prompt = qtn_mp_details_modified; |
|
518 id = EMPXMetadataEditorDlgCtrlIdLastModified; |
|
519 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
520 control = EDWIN |
|
521 { |
|
522 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
523 width = KMPXSongDetailsTextWidth; |
|
524 lines = KMPXSongDetailsTextLines; |
|
525 maxlength = KMPXSongDetailsTextMaxLen; |
|
526 // added to limit expanding in forms. |
|
527 // If you want full screen use 6 here |
|
528 max_view_height_in_lines = 6; |
|
529 // if you have the line above, you must have this. |
|
530 // It is calculable from LAF |
|
531 base_line_delta = 21; |
|
532 }; |
|
533 }, |
|
534 DLG_LINE |
|
535 { |
|
536 type = EEikCtEdwin; |
|
537 prompt = qtn_mp_details_copyright; |
|
538 id = EMPXMetadataEditorDlgCtrlIdCopyright; |
|
539 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
540 control = EDWIN |
|
541 { |
|
542 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
543 width = KMPXSongDetailsTextWidth; |
|
544 lines = KMPXSongDetailsTextLines; |
|
545 maxlength = KMPXSongDetailsTextMaxLen; |
|
546 // added to limit expanding in forms. |
|
547 // If you want full screen use 6 here |
|
548 max_view_height_in_lines = 6; |
|
549 // if you have the line above, you must have this. |
|
550 // It is calculable from LAF |
|
551 base_line_delta = 21; |
|
552 }; |
|
553 }, |
|
554 DLG_LINE |
|
555 { |
|
556 type = EEikCtEdwin; |
|
557 prompt = qtn_mp_details_url; |
|
558 id = EMPXMetadataEditorDlgCtrlIdWebaddress; |
|
559 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
560 control = EDWIN |
|
561 { |
|
562 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable| EEikEdwinReadOnly; |
|
563 width = KMPXSongDetailsTextWidth; |
|
564 lines = KMPXSongDetailsTextLines; |
|
565 maxlength = KMPXSongDetailsTextMaxLen; |
|
566 // added to limit expanding in forms. |
|
567 // If you want full screen use 6 here |
|
568 max_view_height_in_lines = 6; |
|
569 // if you have the line above, you must have this. |
|
570 // It is calculable from LAF |
|
571 base_line_delta = 21; |
|
572 }; |
|
573 } |
|
574 }; |
|
575 } |
|
576 |
|
577 // ----------------------------------------------------------------------------- |
|
578 // |
|
579 // r_mpx_cui_song_details_form_no_move_library |
|
580 // |
|
581 // ----------------------------------------------------------------------------- |
|
582 // |
|
583 RESOURCE FORM r_mpx_cui_song_details_form_no_move_library |
|
584 { |
|
585 flags = EEikFormUseDoubleSpacedFormat; |
|
586 items = |
|
587 { |
|
588 DLG_LINE |
|
589 { |
|
590 type = EEikCtEdwin; |
|
591 prompt = qtn_nmp_song_details_name; |
|
592 id = EMPXMetadataEditorDlgCtrlIdSongName; |
|
593 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
594 control = EDWIN |
|
595 { |
|
596 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
597 width = KMPXSongDetailsTextWidth; |
|
598 lines = KMPXSongDetailsTextLines; |
|
599 maxlength = KMPXSongDetailsTextMaxLen; |
|
600 // added to limit expanding in forms. |
|
601 // If you want full screen use 6 here |
|
602 max_view_height_in_lines = 6; |
|
603 // if you have the line above, you must have this. |
|
604 // It is calculable from LAF |
|
605 base_line_delta = 21; |
|
606 }; |
|
607 }, |
|
608 DLG_LINE |
|
609 { |
|
610 type = EEikCtEdwin; |
|
611 prompt = qtn_nmp_song_details_artist; |
|
612 id = EMPXMetadataEditorDlgCtrlIdArtist; |
|
613 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
614 control = EDWIN |
|
615 { |
|
616 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
617 width = KMPXSongDetailsTextWidth; |
|
618 lines = KMPXSongDetailsTextLines; |
|
619 maxlength = KMPXSongDetailsTextMaxLen; |
|
620 // added to limit expanding in forms. |
|
621 // If you want full screen use 6 here |
|
622 max_view_height_in_lines = 6; |
|
623 // if you have the line above, you must have this. |
|
624 // It is calculable from LAF |
|
625 base_line_delta = 21; |
|
626 }; |
|
627 }, |
|
628 DLG_LINE |
|
629 { |
|
630 type = EEikCtEdwin; |
|
631 prompt = qtn_nmp_song_details_album; |
|
632 id = EMPXMetadataEditorDlgCtrlIdAlbum; |
|
633 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
634 control = EDWIN |
|
635 { |
|
636 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
637 width = KMPXSongDetailsTextWidth; |
|
638 lines = KMPXSongDetailsTextLines; |
|
639 maxlength = KMPXSongDetailsTextMaxLen; |
|
640 // added to limit expanding in forms. |
|
641 // If you want full screen use 6 here |
|
642 max_view_height_in_lines = 6; |
|
643 // if you have the line above, you must have this. |
|
644 // It is calculable from LAF |
|
645 base_line_delta = 21; |
|
646 }; |
|
647 }, |
|
648 DLG_LINE |
|
649 { |
|
650 type = EEikCtNumberEditor; |
|
651 prompt = qtn_nmp_song_details_track_number; |
|
652 id = EMPXMetadataEditorDlgCtrlIdTrackNumber; |
|
653 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
654 control = NUMBER_EDITOR |
|
655 { |
|
656 min = KMPXSongDetailsTrackNumMin; |
|
657 max = KMPXSongDetailsTrackNumMax; |
|
658 }; |
|
659 }, |
|
660 DLG_LINE |
|
661 { |
|
662 type = EEikCtNumberEditor; |
|
663 prompt = qtn_nmp_song_details_year; |
|
664 id = EMPXMetadataEditorDlgCtrlIdYear; |
|
665 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
666 control = NUMBER_EDITOR |
|
667 { |
|
668 min = KMPXSongDetailsYearMin; |
|
669 max = KMPXSongDetailsYearMax; |
|
670 }; |
|
671 }, |
|
672 DLG_LINE |
|
673 { |
316 type = EAknCtPopupField; |
674 type = EAknCtPopupField; |
317 prompt = qtn_nmp_song_details_genre; |
675 prompt = qtn_nmp_song_details_genre; |
318 id = EMPXMetadataEditorDlgCtrlIdGenre; |
676 id = EMPXMetadataEditorDlgCtrlIdGenre; |
319 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
677 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
320 control = POPUP_FIELD |
678 control = POPUP_FIELD |
361 max_view_height_in_lines = 6; |
719 max_view_height_in_lines = 6; |
362 // if you have the line above, you must have this. |
720 // if you have the line above, you must have this. |
363 // It is calculable from LAF |
721 // It is calculable from LAF |
364 base_line_delta = 21; |
722 base_line_delta = 21; |
365 }; |
723 }; |
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 } |
724 } |
580 }; |
725 }; |
581 } |
726 } |
582 |
727 |
583 // ----------------------------------------------------------------------------- |
728 // ----------------------------------------------------------------------------- |
584 // |
729 // |
585 // r_mpx_cui_song_details_form_no_move_library |
730 // r_mpx_cui_song_details_episode |
586 // |
731 // Title for metadata editor dialog for podcasts. |
587 // ----------------------------------------------------------------------------- |
732 // |
588 // |
733 // ----------------------------------------------------------------------------- |
589 RESOURCE FORM r_mpx_cui_song_details_form_no_move_library |
734 // |
|
735 RESOURCE TBUF r_mpx_cui_song_details_episode |
|
736 { |
|
737 buf = qtn_mus_title_details_episode; |
|
738 } |
|
739 |
|
740 #ifdef __ENABLE_MSK |
|
741 // ----------------------------------------------------------------------------- |
|
742 // |
|
743 // r_mpx_cui_podcast_details_dialog |
|
744 // Dialog for getting the podcast info |
|
745 // |
|
746 // ----------------------------------------------------------------------------- |
|
747 // |
|
748 RESOURCE DIALOG r_mpx_cui_podcast_details_dialog |
|
749 { |
|
750 flags = EAknDialogGenericFullScreen; |
|
751 buttons = r_mpx_cui_song_details_softkeys_options_empty_back; |
|
752 form = r_mpx_cui_podcast_details_form; |
|
753 } |
|
754 #else |
|
755 // ----------------------------------------------------------------------------- |
|
756 // |
|
757 // r_mpx_cui_podcast_details_dialog |
|
758 // Dialog for getting the podcast info |
|
759 // |
|
760 // ----------------------------------------------------------------------------- |
|
761 // |
|
762 RESOURCE DIALOG r_mpx_cui_podcast_details_dialog |
|
763 { |
|
764 flags = EAknDialogGenericFullScreen; |
|
765 buttons = R_AVKON_SOFTKEYS_OPTIONS_DONE; |
|
766 form = r_mpx_cui_podcast_details_form; |
|
767 } |
|
768 #endif // __ENABLE_MSK |
|
769 |
|
770 // ----------------------------------------------------------------------------- |
|
771 // |
|
772 // r_mpx_cui_podcast_details_form |
|
773 // |
|
774 // ----------------------------------------------------------------------------- |
|
775 // |
|
776 RESOURCE FORM r_mpx_cui_podcast_details_form |
590 { |
777 { |
591 flags = EEikFormUseDoubleSpacedFormat; |
778 flags = EEikFormUseDoubleSpacedFormat; |
592 items = |
779 items = |
593 { |
780 { |
594 DLG_LINE |
781 DLG_LINE |
595 { |
782 { |
596 type = EEikCtEdwin; |
783 type = EEikCtEdwin; |
597 prompt = qtn_nmp_song_details_name; |
784 prompt = qtn_nmp_episode_details_name; |
598 id = EMPXMetadataEditorDlgCtrlIdSongName; |
785 id = EMPXMetadataEditorDlgCtrlIdSongName; |
599 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
786 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
600 control = EDWIN |
787 control = EDWIN |
601 { |
788 { |
602 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
789 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
648 max_view_height_in_lines = 6; |
835 max_view_height_in_lines = 6; |
649 // if you have the line above, you must have this. |
836 // if you have the line above, you must have this. |
650 // It is calculable from LAF |
837 // It is calculable from LAF |
651 base_line_delta = 21; |
838 base_line_delta = 21; |
652 }; |
839 }; |
653 }, |
840 }, |
654 DLG_LINE |
841 DLG_LINE |
655 { |
842 { |
656 type = EEikCtNumberEditor; |
843 type = EEikCtEdwin; |
657 prompt = qtn_nmp_song_details_track_number; |
844 prompt = qtn_nmp_song_details_episode_number; |
658 id = EMPXMetadataEditorDlgCtrlIdTrackNumber; |
845 id = EMPXMetadataEditorDlgCtrlIdTrackNumber; |
659 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
846 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
660 control = NUMBER_EDITOR |
847 control = EDWIN |
661 { |
848 { |
662 min = KMPXSongDetailsTrackNumMin; |
849 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
663 max = KMPXSongDetailsTrackNumMax; |
850 width = KMPXSongDetailsNumTextWidth; |
664 }; |
851 default_input_mode = EAknEditorNumericInputMode; |
665 }, |
852 allowed_input_modes = EAknEditorNumericInputMode; |
666 DLG_LINE |
853 }; |
667 { |
854 }, |
668 type = EEikCtNumberEditor; |
855 DLG_LINE |
|
856 { |
|
857 type = EEikCtEdwin; |
669 prompt = qtn_nmp_song_details_year; |
858 prompt = qtn_nmp_song_details_year; |
670 id = EMPXMetadataEditorDlgCtrlIdYear; |
859 id = EMPXMetadataEditorDlgCtrlIdYear; |
671 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
860 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
672 control = NUMBER_EDITOR |
|
673 { |
|
674 min = KMPXSongDetailsYearMin; |
|
675 max = KMPXSongDetailsYearMax; |
|
676 }; |
|
677 }, |
|
678 DLG_LINE |
|
679 { |
|
680 type = EAknCtPopupField; |
|
681 prompt = qtn_nmp_song_details_genre; |
|
682 id = EMPXMetadataEditorDlgCtrlIdGenre; |
|
683 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
684 control = POPUP_FIELD |
|
685 { |
|
686 width = KMPXSongDetailsTextMaxLen; |
|
687 // other = qtn_aknexpopfield_list_other; |
|
688 }; |
|
689 tooltip = qtn_aknexpopfield_hint_text; |
|
690 }, |
|
691 DLG_LINE |
|
692 { |
|
693 type = EEikCtEdwin; |
|
694 prompt = qtn_nmp_song_details_composer; |
|
695 id = EMPXMetadataEditorDlgCtrlIdComposer; |
|
696 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
697 control = EDWIN |
|
698 { |
|
699 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
700 width = KMPXSongDetailsTextWidth; |
|
701 lines = KMPXSongDetailsTextLines; |
|
702 maxlength = KMPXSongDetailsTextMaxLen; |
|
703 // added to limit expanding in forms. |
|
704 // If you want full screen use 6 here |
|
705 max_view_height_in_lines = 6; |
|
706 // if you have the line above, you must have this. |
|
707 // It is calculable from LAF |
|
708 base_line_delta = 21; |
|
709 }; |
|
710 }, |
|
711 DLG_LINE |
|
712 { |
|
713 type = EEikCtEdwin; |
|
714 prompt = qtn_nmp_song_details_comment; |
|
715 id = EMPXMetadataEditorDlgCtrlIdComment; |
|
716 itemflags=EEikDlgItemTakesEnterKey| EEikDlgItemOfferAllHotKeys; |
|
717 control = EDWIN |
|
718 { |
|
719 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
720 width = KMPXSongDetailsTextWidth; |
|
721 lines = KMPXSongDetailsTextLines; |
|
722 maxlength = KMPXSongDetailsTextMaxLen; |
|
723 // added to limit expanding in forms. |
|
724 // If you want full screen use 6 here |
|
725 max_view_height_in_lines = 6; |
|
726 // if you have the line above, you must have this. |
|
727 // It is calculable from LAF |
|
728 base_line_delta = 21; |
|
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 |
861 control = EDWIN |
854 { |
862 { |
855 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
863 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
856 width = KMPXSongDetailsNumTextWidth; |
864 width = KMPXSongDetailsNumTextWidth; |
857 default_input_mode = EAknEditorNumericInputMode; |
865 default_input_mode = EAknEditorNumericInputMode; |