Index: sources/gui/qml/pages/treatment/sections/TreatmentTime.qml =================================================================== diff -u -r21bcf654a57e2b3a6d1a2fee1173c3dff81f8f99 -r23f8a6036e22f80c3c5fd2834a2980bb62d2a34d --- sources/gui/qml/pages/treatment/sections/TreatmentTime.qml (.../TreatmentTime.qml) (revision 21bcf654a57e2b3a6d1a2fee1173c3dff81f8f99) +++ sources/gui/qml/pages/treatment/sections/TreatmentTime.qml (.../TreatmentTime.qml) (revision 23f8a6036e22f80c3c5fd2834a2980bb62d2a34d) @@ -15,7 +15,6 @@ // Qt import QtQuick 2.12 -import QtGraphicalEffects 1.12 // Project @@ -50,13 +49,9 @@ anchors.fill : parent value : _root.progressValue thickness : 35 - circle.shadow.color : Colors.mainTreatmentLighterBlue - circle.fillColor : Colors.mainTreatmentDarkerBlue - circle.showGradient : _root.isRunning - circle.runAnimation : _root.isRunning - circle.startGradientColor: "#2A5A93" - color: _root.isRunning ? Colors.borderButton : - "#9B864E" + circleShadowColor : Colors.mainTreatmentLighterBlue + circleFillColor : Colors.mainTreatmentDarkerBlue + runAnimation : _root.isRunning } TimeText { id: _timeText @@ -96,7 +91,7 @@ color : Colors.textMain } - TreatmentSectionIcon { id : _editTimeIcon + IconButton { id : _editTimeIcon objectName: "editTimeIcon" anchors { bottom: _timeTitle.top @@ -122,25 +117,13 @@ visible : ! _root.isRunning height : 25 color : "transparent" - image.width : 25 - image.height : 25 - image.anchors.topMargin: 4 + imageDiameter : 25 + imageTopMargin : 4 imageSource : "qrc:/images/iPauseOrange" text : qsTr("Treatment Paused") textColor : "#FFB836" textfontSize : 26 textfontWeight : Font.Medium } - - layer.enabled: true - layer.effect: DropShadow { id: _dropShadow - horizontalOffset: 3 - verticalOffset : 3 - radius : 3.0 - samples : 7 - color : "#50000000" - source : _root - anchors.fill : _root - } }