Index: sources/gui/qml/components/Circle.qml =================================================================== diff -u -r7caa737179a8c31825ae6445f593ac7ff5f95080 -r23f8a6036e22f80c3c5fd2834a2980bb62d2a34d --- sources/gui/qml/components/Circle.qml (.../Circle.qml) (revision 7caa737179a8c31825ae6445f593ac7ff5f95080) +++ sources/gui/qml/components/Circle.qml (.../Circle.qml) (revision 23f8a6036e22f80c3c5fd2834a2980bb62d2a34d) @@ -16,7 +16,6 @@ // Qt import QtQuick 2.12 import QtQuick.Shapes 1.12 -import QtGraphicalEffects 1.0 // Project @@ -30,7 +29,6 @@ Item { id: _root property alias thickness : _path.strokeWidth property alias color : _path.strokeColor - property alias shape : _shape property alias shadow : _rectangle.border property int shadowEdge : 1 property alias fillColor : _rectangle.color @@ -41,9 +39,7 @@ property real diameter : Variables.circleNormalDiameter - property bool showGradient : false property bool runAnimation : false - property color startGradientColor : _root.color width : diameter height : diameter @@ -79,32 +75,6 @@ } } - ConicalGradient { id: borderGradient - - anchors.fill: _shape - angle : -7 - source : _shape - - gradient: Gradient { - GradientStop { position: 0.0; color: showGradient ? _root.startGradientColor : - _root.color } - GradientStop { position: 1.0; color: _root.color } - } - } - - OpacityAnimator { target: borderGradient - from : 0.2 - to : 1 - duration : 1000 - running : ! runAnimation - onFinished : { - var tmp = from - from = to - to = tmp - ! runAnimation ? restart() : target.opacity = 1 - } - } - OpacityAnimator { target: _shape from : 0.2 to : 1