- import bb.cascades 1.0
- Page {
- id: recipeListPage
- property string nombreIngresado
- property string desIngresado
- property string dateIngresado
- //property string imgIngresado
- Container {
- Container{
- id:cont
- background: Color.Gray
- Label {
- id:lblPagina2
- text: qsTr(nombreIngresado)
- textStyle.color: Color.DarkYellow
- animations: [
- TranslateTransition {
- fromX: 400
- toX:0
- duration:500
- id:translateAnimacion
- }
- ]
- }
- Container {
- background: Color.LightGray
- horizontalAlignment: HorizontalAlignment.Fill
- TextArea {
- text: desIngresado
- editable: false
- textFormat: TextFormat.Auto
- focusHighlightEnabled: false
- }
- Container {
- background: Color.DarkGray
- horizontalAlignment: HorizontalAlignment.Fill
- Label {
- text:qsTr(dateIngresado)
- }
- }
- }
- }//Container
- onCreationCompleted: {
- translateAnimacion.play();
- }
- actions: [
- ActionItem {
- title: "Share"
- imageSource: "asset:///images/ic_share.png"
- }
- ]
- }//Page