Index: sources/gui/qml/components/StepIndicator.qml =================================================================== diff -u -rc0c63c4b149dafea2b02e4cd31f223e392ff7818 -rfa1b7c7d5ca98b991168bacc0bab1e9614ed39b6 --- sources/gui/qml/components/StepIndicator.qml (.../StepIndicator.qml) (revision c0c63c4b149dafea2b02e4cd31f223e392ff7818) +++ sources/gui/qml/components/StepIndicator.qml (.../StepIndicator.qml) (revision fa1b7c7d5ca98b991168bacc0bab1e9614ed39b6) @@ -28,14 +28,16 @@ * all the steps' bullets and the line between them from the beginning up to the currentStepIndex will be activated/highlighted. */ Rectangle { id: _root + property bool currentComplete : false + property bool hideLabels : false property bool vertical : false property var stepNames : [] property int spacing : vertical ? 0 : 5 property int spacerLineLength : vertical ? 5 : 75 property int currentStepIndex : 0 - height : Variables.topBarMenuHeight + height : _gridSteps.height // Variables.topBarMenuHeight color : Colors.backgroundMain QtObject { id: _private @@ -68,10 +70,12 @@ anchors.centerIn: parent StepBullet { id: _headStepBullet - vertical: _root.vertical - text : _private.stepNamesFirst - complete: currentStepIndex > 0 - current : currentStepIndex == 0 + currentComplete : _root.currentComplete + hideLabels : _root.hideLabels + vertical : _root.vertical + text : _private.stepNamesFirst + complete : currentStepIndex > 0 + current : currentStepIndex == 0 } Repeater { id: _tailStepsRepeater model: _private.stepNamesRest @@ -88,10 +92,12 @@ color : _nextStepsBullet.color } StepBullet { id: _nextStepsBullet - vertical: _root.vertical - text : modelData - complete: currentStepIndex > 0 && index < currentStepIndex - 1 // first index is used for the head/first bullet - current : currentStepIndex > 0 && index == currentStepIndex - 1 // first index is used for the head/first bullet + currentComplete : _root.currentComplete + hideLabels : _root.hideLabels + vertical : _root.vertical + text : modelData + complete : currentStepIndex > 0 && index < currentStepIndex - 1 // first index is used for the head/first bullet + current : currentStepIndex > 0 && index == currentStepIndex - 1 // first index is used for the head/first bullet } } }