Index: sources/gui/qml/pages/treatment/TreatmentSection.qml =================================================================== diff -u -r3e682c5afdadcf4dd2006e3d975fbee58e48619e -rc2f474ff07c98aa350c445a2474976a3cf985f40 --- sources/gui/qml/pages/treatment/TreatmentSection.qml (.../TreatmentSection.qml) (revision 3e682c5afdadcf4dd2006e3d975fbee58e48619e) +++ sources/gui/qml/pages/treatment/TreatmentSection.qml (.../TreatmentSection.qml) (revision c2f474ff07c98aa350c445a2474976a3cf985f40) @@ -15,7 +15,10 @@ // Qt import QtQuick 2.12 +import QtGraphicalEffects 1.12 +/* Qt6 Port: replace the above import with the following one: import QtQuick.Effects +*/ import "qrc:/globals" import "qrc:/components" @@ -59,10 +62,22 @@ } layer.enabled: _root.enableDropShadow + layer.effect: DropShadow { + id: _dropShadow + horizontalOffset: 3 + verticalOffset: 5 + radius: 3.0 + samples: 7 + color: "#50000000" + source: _root + anchors.fill: _root + } +/* Qt6 Port: replace the above DropShadow with the following RectangularShadow: layer.effect: RectangularShadow { id: _dropShadow radius: 3.0 color: "#50000000" anchors.fill: _root } +*/ }