Index: sources/gui/qml/pages/treatment/TreatmentSection.qml =================================================================== diff -u -r21bcf654a57e2b3a6d1a2fee1173c3dff81f8f99 -r6c3a4b048006ebd90c85cfa943d2b9615dc808f3 --- sources/gui/qml/pages/treatment/TreatmentSection.qml (.../TreatmentSection.qml) (revision 21bcf654a57e2b3a6d1a2fee1173c3dff81f8f99) +++ sources/gui/qml/pages/treatment/TreatmentSection.qml (.../TreatmentSection.qml) (revision 6c3a4b048006ebd90c85cfa943d2b9615dc808f3) @@ -24,16 +24,19 @@ property Item contentItem : null property alias header : _header property alias contentArea : _contentArea + property bool enableDropShadow: true - signal editClicked - signal lockClicked + signal editClicked() + signal lockClicked() + signal expandingClicked() color: Colors.treatmentSectionMain radius: 15 TreatmentSectionHeader { id: _header - onEditClicked : _root.editClicked() - onLockClicked : _root.lockClicked() + onEditClicked : _root.editClicked() + onLockClicked : _root.lockClicked() + onExpandingClicked : _root.expandingClicked() } ContentArea { id : _contentArea @@ -50,7 +53,7 @@ contentItem: _root.contentItem } - layer.enabled: true + layer.enabled: _root.enableDropShadow layer.effect: DropShadow { id: _dropShadow horizontalOffset: 3