1
0
Fork 0

Fix yes-no panel transparency

This commit is contained in:
James Turner 2018-07-05 00:17:05 +01:00
parent b177d407f8
commit 916f2d7d76
4 changed files with 31 additions and 36 deletions

View file

@ -43,15 +43,12 @@ Item {
PropertyChanges {
target: button
text: "Install"
text: qsTr("Install")
hoverText: ""
}
PropertyChanges {
target: sizeText
visible: true
}
PropertyChanges { target: sizeText; visible: true }
PropertyChanges { target: confirmUninstallPanel; visible: false }
},
@ -60,15 +57,12 @@ Item {
PropertyChanges {
target: button
text: "Uninstall"
text: qsTr("Uninstall")
hoverText: ""
}
PropertyChanges {
target: sizeText
visible: true
}
PropertyChanges { target: sizeText; visible: true }
PropertyChanges { target: confirmUninstallPanel; visible: false }
},
@ -77,15 +71,12 @@ Item {
PropertyChanges {
target: button
text: "Update"
text: qsTr("Update")
hoverText: ""
}
PropertyChanges {
target: sizeText
visible: true
}
PropertyChanges { target: sizeText; visible: true }
PropertyChanges { target: confirmUninstallPanel; visible: false }
},
@ -99,8 +90,9 @@ Item {
PropertyChanges {
target: button
text: "Queued"
hoverText: "Cancel"
text: qsTr("Queued")
hoverText: qsTr("Cancel")
visible: true
}
PropertyChanges { target: confirmUninstallPanel; visible: false }
@ -108,32 +100,25 @@ Item {
State {
name: "downloading"
PropertyChanges {
target: progressFrame
visible: true
}
PropertyChanges {
target: statusText
visible: true
}
PropertyChanges {
target: sizeText
visible: false
}
PropertyChanges { target: progressFrame; visible: true }
PropertyChanges { target: statusText; visible: true }
PropertyChanges { target: sizeText; visible: false }
PropertyChanges { target: confirmUninstallPanel; visible: false }
PropertyChanges {
target: button
text: "Downloading"
hoverText: "Cancel"
text: qsTr("Downloading")
hoverText: qsTr("Cancel")
visible: true
}
PropertyChanges { target: confirmUninstallPanel; visible: false }
},
State {
name: "confirm-uninstall"
PropertyChanges { target: button; visible: false }
PropertyChanges { target: progressFrame; visible: false }
PropertyChanges { target: statusText; visible: false }
PropertyChanges { target: sizeText; visible: false }
PropertyChanges { target: confirmUninstallPanel; visible: true }
}
]

View file

@ -111,6 +111,11 @@ Item {
onRejected: {
confirmDeleteHangar.visible = false
}
Rectangle {
anchors.fill: parent
z: -1
}
}
}

View file

@ -105,6 +105,11 @@ Item {
onRejected: {
confirmDeletePath.visible = false
}
Rectangle {
anchors.fill: parent
z: -1
}
}
}
}

View file

@ -1,7 +1,7 @@
import QtQuick 2.0
import "."
Rectangle {
Item {
property alias promptText:prompt.text
property alias yesText: yesButton.text
property alias noText: noButton.text