added transparent-background, for blocking clicked event

This commit is contained in:
ronoaer
2023-10-15 15:17:04 +08:00
parent 384ce9853b
commit 8c1835950b
15 changed files with 134 additions and 34 deletions
@@ -117,6 +117,8 @@ PageType {
Layout.fillWidth: true
Layout.topMargin: 16
drawerParent: root
descriptionText: qsTr("Cipher")
headerText: qsTr("Cipher")
@@ -156,6 +156,8 @@ PageType {
Layout.fillWidth: true
Layout.topMargin: 20
drawerParent: root
enabled: !autoNegotiateEncryprionSwitcher.checked
descriptionText: qsTr("Hash")
@@ -202,6 +204,8 @@ PageType {
Layout.fillWidth: true
Layout.topMargin: 16
drawerParent: root
enabled: !autoNegotiateEncryprionSwitcher.checked
descriptionText: qsTr("Cipher")
+4 -1
View File
@@ -95,11 +95,14 @@ PageType {
parent: root
width: parent.width
height: parent.height * 0.9
height: parent.height
contentHeight: parent.height * 0.9
BackButtonType {
id: backButton
parent: configContentDrawer.contentParent
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
@@ -95,6 +95,8 @@ PageType {
Layout.fillWidth: true
Layout.topMargin: 20
drawerParent: root
descriptionText: qsTr("Cipher")
headerText: qsTr("Cipher")
@@ -141,7 +141,7 @@ PageType {
questionDrawer.noButtonText = qsTr("Cancel")
questionDrawer.yesButtonFunction = function() {
questionDrawer.visible = false
questionDrawer.close()
PageController.showBusyIndicator(true)
if (ServersModel.isDefaultServerCurrentlyProcessed() && ConnectionController.isConnected) {
ConnectionController.closeConnection()
@@ -150,9 +150,9 @@ PageType {
PageController.showBusyIndicator(false)
}
questionDrawer.noButtonFunction = function() {
questionDrawer.visible = false
questionDrawer.close()
}
questionDrawer.visible = true
questionDrawer.open()
}
}
@@ -192,6 +192,8 @@ PageType {
QuestionDrawer {
id: questionDrawer
parent: root
}
}
}
@@ -80,7 +80,8 @@ PageType {
parent: root
width: root.width
height: root.height * 0.35
height: root.height // * 0.35
contentHeight: root.height * 0.35
onVisibleChanged: {
if (serverNameEditDrawer.visible) {
@@ -89,6 +90,8 @@ PageType {
}
ColumnLayout {
parent: serverNameEditDrawer.contentParent
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
@@ -108,6 +108,8 @@ PageType {
DropDownType {
id: selector
drawerParent: root
Layout.fillWidth: true
Layout.topMargin: 32
Layout.leftMargin: 16
@@ -264,11 +266,14 @@ PageType {
id: moreActionsDrawer
width: parent.width
height: parent.height * 0.4375
height: parent.height
contentHeight: parent.height * 0.4375
parent: root
FlickableType {
parent: moreActionsDrawer.contentParent
anchors.fill: parent
contentHeight: moreActionsDrawerContent.height
ColumnLayout {
@@ -331,13 +336,16 @@ PageType {
id: importSitesDrawer
width: parent.width
height: parent.height * 0.4375
height: parent.height
contentHeight: parent.height * 0.4375
parent: root
BackButtonType {
id: importSitesDrawerBackButton
parent: importSitesDrawer.contentParent
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
@@ -349,6 +357,8 @@ PageType {
}
FlickableType {
parent: importSitesDrawer.contentParent
anchors.top: importSitesDrawerBackButton.bottom
anchors.left: parent.left
anchors.right: parent.right
@@ -101,13 +101,16 @@ PageType {
id: showDetailsDrawer
width: parent.width
height: parent.height * 0.9
height: parent.height
contentHeight: parent.height * 0.9
parent: root
BackButtonType {
id: showDetailsBackButton
parent: showDetailsDrawer.contentParent
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
@@ -119,6 +122,8 @@ PageType {
}
FlickableType {
parent: showDetailsDrawer.contentParent
anchors.top: showDetailsBackButton.bottom
anchors.left: parent.left
anchors.right: parent.right
+6
View File
@@ -179,6 +179,8 @@ PageType {
DropDownType {
id: serverSelector
drawerParent: root
signal severSelectorIndexChanged
property int currentIndex: 0
@@ -241,6 +243,8 @@ PageType {
DropDownType {
id: protocolSelector
drawerParent: root
visible: accessTypeSelector.currentIndex === 0
Layout.fillWidth: true
@@ -330,6 +334,8 @@ PageType {
DropDownType {
id: exportTypeSelector
drawerParent: root
property int currentIndex: 0
Layout.fillWidth: true