Index: sources/gui/qml/components/ModalDialog.qml =================================================================== diff -u -r5194f3afffb28dac90a7ca4153b6a0ca2f239387 -r4b713d1a13a4461fd46d869d4bf7e52de4c609b4 --- sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision 5194f3afffb28dac90a7ca4153b6a0ca2f239387) +++ sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision 4b713d1a13a4461fd46d869d4bf7e52de4c609b4) @@ -15,6 +15,7 @@ // Qt import QtQuick 2.12 import QtQuick.Controls 2.12 +import QtGraphicalEffects 1.0 // Project // Qml imports @@ -24,6 +25,8 @@ * \brief The parent item for modal dialogs */ Dialog { id : _root + property bool blurOverlay: false + width : Variables.poweroffWidth height: Variables.poweroffHeight visible: false @@ -33,12 +36,23 @@ exit : Transition { NumberAnimation { property: "opacity"; from: 1.0; to: 0.0 } } modal: true - closePolicy: Dialog.NoAutoClose - Overlay.modal : Rectangle { id : _borderRect - anchors.fill: parent - color: Colors.borderDialog + Component { id: _rectOverlay + Rectangle { id : _borderRect + anchors.fill: parent + color: Colors.borderDialog + } } + Component { id: _blurOverlay + FastBlur { id : _borderRect + anchors.fill: parent + source: _mainItem + radius: 25 + } + } + closePolicy: Dialog.NoAutoClose + Overlay.modal : blurOverlay ? _blurOverlay : _rectOverlay + background: Rectangle { color : Colors.backgroundDialog radius: Variables.dialogRadius