Index: sources/gui/qml/components/Circle.qml =================================================================== diff -u -rcd7de5f6d239a11615ba8c6c03339a10996486ca -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/gui/qml/components/Circle.qml (.../Circle.qml) (revision cd7de5f6d239a11615ba8c6c03339a10996486ca) +++ sources/gui/qml/components/Circle.qml (.../Circle.qml) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,14 +1,15 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. - * \copyright \n - * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, \n - * IN PART OR IN WHOLE, \n - * WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. \n + * 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 - * \date 2020/02/03 - * \author Behrouz NematiPour + * \author (last) Behrouz NematiPour + * \date (last) 28-Jan-2022 + * \author (original) Behrouz NematiPour + * \date (original) 04-Feb-2020 * */ @@ -36,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 @@ -46,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 @@ -57,9 +58,9 @@ 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: 2 + strokeWidth: 1 capStyle: ShapePath.RoundCap PathAngleArc { id: _arc centerX: _root.width / 2 @@ -73,5 +74,3 @@ } } } - -