- import bb.cascades 1.0
- /*TabbedPane {
- showTabsOnActionBar: true
- property string nombreIngresado
- property string desIngresado
- property string dateIngresado
- property string catIngresado
- //property string imgIngresado
- //*************************************************************************
- Tab{
- NavigationPane {
- NavigationPane{
- */
- Page {
- id: recipeListPage
- property string nombreIngresado
- property string desIngresado
- property string dateIngresado
- property string catIngresado
- //property string imgIngresado
- Container {
- Container{
- /*topPadding: 15
- bottomPadding: topPadding*/
- 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.DarkCyan
- horizontalAlignment: HorizontalAlignment.Fill
- Label {
- text: qsTr("Categoria: "+catIngresado)
- textStyle.color: Color.White
- }
- }
- /*Container {
- ImageView {
- imageSource: imgIngresado
- }
- }*/
- Container {
- background: Color.LightGray
- horizontalAlignment: HorizontalAlignment.Fill
- TextArea {
- text: desIngresado
- editable: false
- textFormat: TextFormat.Auto
- focusHighlightEnabled: false
- onCreationCompleted: {
- /*QString str = "colour behaviour flavour neighbour";
- str.replace(QString("ou"), QString("o"));*/
- }
- }
- /*WebView {
- html: desIngresado
- settings.activeTextEnabled: true*/
- /*text: qsTr(desIngresado)
- multiline: true
- textStyle.color: Color.Black*/
- //}
- }
- 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
- /*
- }//NavigationPane
- }//Tab
- }//TabbedPane
- //*************************************************************************
- */
- /*
- Tab {
- title: "Home"
- Page {
- id: page1
- actions: [
- ActionItem {
- title: "New"
- },
- ActionItem {
- title: "Delete"
- }
- ]
- }
- }
- Tab {
- title: "Options"
- Page {
- id: page2
- actions: [
- ActionItem {
- title: "Edit"
- },
- ActionItem {
- title: "Save"
- }
- ]
- }
- }
- Tab {
- title: "Help"
- Page {
- id: page3
- actions: [
- ActionItem {
- title: "Search"
- },
- ActionItem {
- title: "Browse"
- }
- ]
- }
- }
- }//TabbedPane
- */