Index: sources/gui/qml/pages/treatment/sections/TreatmentFlowsComponent.qml =================================================================== diff -u -rdb6925e589ca85f2272af31d5f90f41452b342a7 -rdff9d50ebfa80ec99313586e1d48662b72940d24 --- sources/gui/qml/pages/treatment/sections/TreatmentFlowsComponent.qml (.../TreatmentFlowsComponent.qml) (revision db6925e589ca85f2272af31d5f90f41452b342a7) +++ sources/gui/qml/pages/treatment/sections/TreatmentFlowsComponent.qml (.../TreatmentFlowsComponent.qml) (revision dff9d50ebfa80ec99313586e1d48662b72940d24) @@ -14,12 +14,13 @@ property string title : "" property string value : "" property string unitText : "" + property string extraText : "" property bool showButtons : true property bool buttonsEnabled: true property int iconSize : 70 - color: Colors.treatmentFlowComponent + color: Colors.mainTreatmentLighterBlue radius: 5 signal increment @@ -29,9 +30,10 @@ objectName: "title" anchors { - horizontalCenter : _root.horizontalCenter - top : parent.top - topMargin : Variables.defaultMargin + horizontalCenter : _root.horizontalCenter + horizontalCenterOffset : Variables.defaultMargin * 1.5 + top : parent.top + topMargin : Variables.defaultMargin } font { @@ -43,22 +45,25 @@ height : Variables.contentHeight text : _root.title color : Colors.pressuresText - horizontalAlignment : Text.AlignHCenter + horizontalAlignment : Text.AlignLeft } Row { id: _row objectName: "row" anchors { top : _title.bottom - topMargin : Variables.defaultMargin horizontalCenter : _root.horizontalCenter } LabelValue { id: _value objectName: "value" + anchors { + top: parent.top + topMargin : Variables.defaultMargin + } height: 50 - width: 150//_root.width + width: 150 topTextFont.pixelSize: 60 topTextFont.weight: Font.Medium topText: value @@ -71,7 +76,7 @@ objectName: "column" visible: showButtons - spacing: Variables.defaultMargin * 2 + spacing: Variables.defaultMargin TreatmentSectionIcon { id : _upArrowIcon objectName: "upArrowIcon" @@ -92,4 +97,26 @@ } } } + + Text { id: _extraText + objectName: "extraText" + + anchors { + left : _root.left + leftMargin : Variables.defaultMargin * 3 + bottom : _root.bottom + bottomMargin : 10 + } + + font { + pixelSize : 28 + weight : Font.Bold + } + + text : _root.extraText + width : 40 + height : Variables.contentHeight + color : "orange" + horizontalAlignment : Text.AlignHCenter + } }