Add blur effect to logout window

pull/9/head
reionwong 4 years ago
parent 5584fb1a7b
commit a4e0629878

@ -21,9 +21,9 @@ import QtQuick 2.12
import QtQuick.Window 2.3 import QtQuick.Window 2.3
import QtQuick.Controls 2.5 import QtQuick.Controls 2.5
import QtQuick.Layouts 1.3 import QtQuick.Layouts 1.3
import FishUI 1.0 as FishUI
ApplicationWindow ApplicationWindow {
{
width: Screen.width width: Screen.width
height: Screen.height height: Screen.height
visible: true visible: true
@ -39,7 +39,14 @@ ApplicationWindow
background: Rectangle { background: Rectangle {
color: "black" color: "black"
opacity: 0.8 opacity: 0.7
}
FishUI.WindowBlur {
view: root
geometry: Qt.rect(root.x, root.y, root.width, root.height)
windowRadius: 0
enabled: true
} }
onActiveChanged: { onActiveChanged: {

Loading…
Cancel
Save