Revert "added new drawer2type for replacing drawertype"
This commit is contained in:
parent
4551cf0a21
commit
d98fdbdc5c
28 changed files with 276 additions and 639 deletions
|
|
@ -90,19 +90,15 @@ PageType {
|
|||
|
||||
DividerType {}
|
||||
|
||||
Drawer2Type {
|
||||
DrawerType {
|
||||
id: configContentDrawer
|
||||
parent: root
|
||||
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
contentHeight: parent.height * 0.9
|
||||
height: parent.height * 0.9
|
||||
|
||||
BackButtonType {
|
||||
id: backButton
|
||||
|
||||
parent: configContentDrawer.contentParent
|
||||
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
|
@ -185,14 +181,14 @@ PageType {
|
|||
questionDrawer.noButtonText = qsTr("Cancel")
|
||||
|
||||
questionDrawer.yesButtonFunction = function() {
|
||||
questionDrawer.close()
|
||||
questionDrawer.visible = false
|
||||
PageController.goToPage(PageEnum.PageDeinstalling)
|
||||
InstallController.removeCurrentlyProcessedContainer()
|
||||
}
|
||||
questionDrawer.noButtonFunction = function() {
|
||||
questionDrawer.close()
|
||||
questionDrawer.visible = false
|
||||
}
|
||||
questionDrawer.open()
|
||||
questionDrawer.visible = true
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
|
|
@ -207,7 +203,6 @@ PageType {
|
|||
|
||||
QuestionDrawer {
|
||||
id: questionDrawer
|
||||
parent: root
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue