There is no metaphor for pushing a Tab onto a TabbedPane. If the Tab already exists as a child of the TabbedPane you can make it the active Tab by calling setActiveTab()
If the Tab is not already a child of the TabbedPane you will have to add()
it first.
But it sounds like what you really want is a Sheet
Page {
attachedObjects: [
Sheet {
id: mySheet
content: Page {
Button {
text: "Close Sheet"
onClicked: mySheet.close()
}
}
}
]
actions: [
ActionItem {
title: "Show Sheet"
ActionBar.placement: ActionBarPlacement.OnBar
onTriggered: {
mySheet.open();
}
}
]
}