Index: sources/gui/qml/components/StepBullet.qml =================================================================== diff -u -r526137b088b43e51868cb241ce70b3cf52febae8 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/gui/qml/components/StepBullet.qml (.../StepBullet.qml) (revision 526137b088b43e51868cb241ce70b3cf52febae8) +++ sources/gui/qml/components/StepBullet.qml (.../StepBullet.qml) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2021-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 StepBullet.qml * \author (last) Behrouz NematiPour - * \date (last) 08-MAr-2021 - * \author (original) Peter Lucia - * \date (original) 03-Aug-2020 + * \date (last) 20-Jul-2021 + * \author (original) Behrouz NematiPour + * \date (original) 11-Jan-2021 * */ @@ -38,16 +38,16 @@ property color colorInComplete : Colors.borderDisableButton property int fontSizeCurrent : Fonts.fontPixelStepCurrent property int fontSizeNormal : Fonts.fontPixelStepNormal + property real diameter : 15 QtObject { id: _private - readonly property real diameter : 15 readonly property string stateNameVertical : "vertical" // must not have translation readonly property string stateNameHorizontal : "horizontal" // must not have translation } height : _circle.height + (_text.visible ? _textHightRef.height : 0) - width : _private.diameter + width : _root.diameter state : _root.vertical ? _private.stateNameVertical : _private.stateNameHorizontal @@ -56,9 +56,9 @@ verticalCenter : parent.verticalCenter left : parent.left } - height : _private.diameter - width : _private.diameter - radius : _private.diameter + height : _root.diameter + width : _root.diameter + radius : _root.diameter color : _root.current ? colorCurrent : _root.complete ? _root.colorComplete : Colors.transparent border.color: _root.current ? colorComplete : _root.complete ? _root.colorComplete : _root.colorInComplete border.width: 2 @@ -122,5 +122,3 @@ } ] } - -