Revert "added new drawer2type for replacing drawertype"

This commit is contained in:
pokamest 2023-10-21 14:17:45 +01:00 committed by GitHub
parent 4551cf0a21
commit d98fdbdc5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 276 additions and 639 deletions

View file

@ -116,8 +116,6 @@ PageType {
DropDownType {
id: selector
drawerParent: root
Layout.fillWidth: true
Layout.topMargin: 32
Layout.leftMargin: 16
@ -210,13 +208,13 @@ PageType {
questionDrawer.noButtonText = qsTr("Cancel")
questionDrawer.yesButtonFunction = function() {
questionDrawer.close()
questionDrawer.visible = false
SitesController.removeSite(index)
}
questionDrawer.noButtonFunction = function() {
questionDrawer.close()
questionDrawer.visible = false
}
questionDrawer.open()
questionDrawer.visible = true
}
}
@ -224,7 +222,6 @@ PageType {
QuestionDrawer {
id: questionDrawer
parent: root
}
}
}
@ -279,18 +276,13 @@ PageType {
}
}
Drawer2Type {
DrawerType {
id: moreActionsDrawer
width: parent.width
height: parent.height
contentHeight: parent.height * 0.4375
parent: root
height: parent.height * 0.4375
FlickableType {
parent: moreActionsDrawer.contentParent
anchors.fill: parent
contentHeight: moreActionsDrawerContent.height
ColumnLayout {
@ -349,20 +341,15 @@ PageType {
}
}
Drawer2Type {
DrawerType {
id: importSitesDrawer
width: parent.width
height: parent.height
contentHeight: parent.height * 0.4375
parent: root
height: parent.height * 0.4375
BackButtonType {
id: importSitesDrawerBackButton
parent: importSitesDrawer.contentParent
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
@ -374,8 +361,6 @@ PageType {
}
FlickableType {
parent: importSitesDrawer.contentParent
anchors.top: importSitesDrawerBackButton.bottom
anchors.left: parent.left
anchors.right: parent.right