0

I have a problem while opening the layout2 from layout1.

Here is what i have tried..! It is not getting in to the layout2 from layout1.

                      `TabbedPane {
        showTabsOnActionBar: true 
                Tab {
                   Page {`

                          ImageButton {
                       id: loginbtn
                       onClicked: {


                            tabbedPaneSheet.open()
                       }

                       attachedObjects: Sheet {
                                   id: tabbedPaneSheet
                                   Editnew{
                                   }
                           }

and my Editnew Qml code

                        `TabbedPane {
                         id: mainTab
                   showTabsOnActionBar: true 
                        Tab {
                         title: "Home"
                              Group1 {
                                  id: homepage
                                   }
                                              }
                          Tab {
                            title: "Message
                              Messages {

    }
}

Tab {
    title: "Search"
            Search{
    }
}
Tab {
    title: "Feeds"

    Feeds {

    }
}

Tab {
    title: "Nearby"

    Nearby{
    }
}
Tab {
    title: "Followers"

    Followers {
        id: foll
    }
}
Tab {
    title: "Group"

    Groups {
        id: groups
    }
}`

The above code is not working and it is also throwing me no errors.

4

1 回答 1

0

我遇到了同样的问题。这是因为您从另一个点击的窗格中打开了一个选项卡式窗格。

尝试制作一个简单的页面并包含许多段,它会适合您。

于 2013-01-16T09:07:59.857 回答