Index: sources/gui/qml/components/StepIndicator.qml =================================================================== diff -u -r70d72796067d8a626458328e2642ab3e2b033648 -r4a2b83dcb56555861d2c741a8e8894e5b07e24bf --- sources/gui/qml/components/StepIndicator.qml (.../StepIndicator.qml) (revision 70d72796067d8a626458328e2642ab3e2b033648) +++ sources/gui/qml/components/StepIndicator.qml (.../StepIndicator.qml) (revision 4a2b83dcb56555861d2c741a8e8894e5b07e24bf) @@ -37,9 +37,12 @@ property int currentStepIndex : 0 property int diameter : 15 + property int subStepIndex : 0 + property int subStepsLength : 0 + width : _gridSteps.width height : _gridSteps.height - color : Colors.backgroundMain + color : Colors.transparent QtObject { id: _private property string stepNamesFirst: "" @@ -109,8 +112,22 @@ 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 + 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 + + SubStepIndicator { id: _subStep + anchors { + top : parent.bottom + topMargin : 25 + horizontalCenter: parent.horizontalCenter + } + + subStepIndex : _root.subStepIndex + subStepsLength : _root.subStepsLength + height : 10 + width : _nextStepsBullet.width * _root.subStepsLength + visible : _nextStepsBullet.current && _root.subStepsLength > 0 + } } } }