Index: sources/gui/qml/components/Circle.qml =================================================================== diff -u -r56e378f7504701b9e9a9dccaf205aef2fd52c58e -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/gui/qml/components/Circle.qml (.../Circle.qml) (revision 56e378f7504701b9e9a9dccaf205aef2fd52c58e) +++ sources/gui/qml/components/Circle.qml (.../Circle.qml) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2020-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * - * \file Circle.qml - * \author (last) Behrouz NematiPour - * \date (last) 10-Apr-2020 - * \author (original) Behrouz NematiPour - * \date (original) 04-Feb-2020 + * \file Circle.qml + * \author (last) Behrouz NematiPour + * \date (last) 28-Jan-2022 + * \author (original) Behrouz NematiPour + * \date (original) 04-Feb-2020 * */ @@ -37,7 +37,7 @@ property alias angle : _arc.sweepAngle property alias startAngle : _arc.startAngle - property real diameter : 350 + property real diameter : Variables.circleNormalDiameter width : diameter height : diameter @@ -47,9 +47,9 @@ width : _root.width height : _root.height radius : _root.width - color : "Transparent" + color : Colors.transparent border.width: _root.thickness + shadowEdge * 2 - border.color: "Transparent" + border.color: Colors.transparent antialiasing: true Shape { id: _shape width: parent.width @@ -58,7 +58,7 @@ layer.smooth: true layer.textureSize: Qt.size(_shape.width * 2, _shape.height * 2) ShapePath { id: _path - fillColor: "Transparent" + fillColor: Colors.transparent strokeColor: Colors.borderButton strokeWidth: 1 capStyle: ShapePath.RoundCap @@ -74,5 +74,3 @@ } } } - -