added new drawer2type for replacing drawertype

This commit is contained in:
ronoaer 2023-10-14 23:00:31 +08:00
parent 4b7c8f21c2
commit 384ce9853b
24 changed files with 350 additions and 56 deletions

View file

@ -135,6 +135,8 @@ PageType {
var pagePath = PageController.getPagePath(PageEnum.PageHome)
ServersModel.currentlyProcessedIndex = ServersModel.defaultIndex
tabBarStackView.push(pagePath, { "objectName" : pagePath })
connectionTypeSelection.parent = tabBarStackView
}
onWidthChanged: {
@ -243,7 +245,7 @@ PageType {
ConnectionTypeSelectionDrawer {
id: connectionTypeSelection
onAboutToHide: {
onClose: function() {
tabBar.setCurrentIndex(tabBar.previousIndex)
}
}