1. import bb.cascades 1.0
  2. Page {
  3. id: recipeListPage
  4. property string nombreIngresado
  5. property string desIngresado
  6. property string dateIngresado
  7. //property string imgIngresado
  8. Container {
  9. Container{
  10. id:cont
  11. background: Color.Gray
  12. Label {
  13. id:lblPagina2
  14. text: qsTr(nombreIngresado)
  15. textStyle.color: Color.DarkYellow
  16. animations: [
  17. TranslateTransition {
  18. fromX: 400
  19. toX:0
  20. duration:500
  21. id:translateAnimacion
  22. }
  23. ]
  24. }
  25. Container {
  26. background: Color.LightGray
  27. horizontalAlignment: HorizontalAlignment.Fill
  28. TextArea {
  29. text: desIngresado
  30. editable: false
  31. textFormat: TextFormat.Auto
  32. focusHighlightEnabled: false
  33. }
  34. Container {
  35. background: Color.DarkGray
  36. horizontalAlignment: HorizontalAlignment.Fill
  37. Label {
  38. text:qsTr(dateIngresado)
  39. }
  40. }
  41. }
  42. }//Container
  43. onCreationCompleted: {
  44. translateAnimacion.play();
  45. }
  46. actions: [
  47. ActionItem {
  48. title: "Share"
  49. imageSource: "asset:///images/ic_share.png"
  50. }
  51. ]
  52. }//Page