Index: sources/gui/qml/components/ModalDialog.qml =================================================================== diff -u -rdeaef8b5bdfe9be7293e63fb6ac256a9ce3cd3f4 -r16a8f25568b4636ebc31e76c86a8031940cc4ad7 --- sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision deaef8b5bdfe9be7293e63fb6ac256a9ce3cd3f4) +++ sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision 16a8f25568b4636ebc31e76c86a8031940cc4ad7) @@ -37,6 +37,7 @@ property alias notificationText : _notification.text property alias notification : _notification property bool showDropShadow : false + property bool showGradient : false width : Variables.dialogWidth height : Variables.dialogHeight @@ -63,6 +64,13 @@ color : Colors.backgroundDialog radius: Variables.dialogRadius + Image { id: _backgroundImage + anchors.fill: parent + source : "qrc:/images/iPopupGradient" + fillMode : Image.Stretch + visible : _root.showGradient + } + layer.enabled: showDropShadow layer.effect: DropShadow { id: _dropShadow