Index: sources/gui/qml/pages/treatment/sections/TreatmentFlows.qml =================================================================== diff -u -rcf3ef3656c06ade00b6bc6c09e8e0f858ee1af24 -r7caa737179a8c31825ae6445f593ac7ff5f95080 --- sources/gui/qml/pages/treatment/sections/TreatmentFlows.qml (.../TreatmentFlows.qml) (revision cf3ef3656c06ade00b6bc6c09e8e0f858ee1af24) +++ sources/gui/qml/pages/treatment/sections/TreatmentFlows.qml (.../TreatmentFlows.qml) (revision 7caa737179a8c31825ae6445f593ac7ff5f95080) @@ -29,11 +29,11 @@ TreatmentSection { id: _root property bool editEnabled : header.editEnabled - header.title: qsTr("Treatment Parameters") - header.showLock: true + header.title : qsTr("Treatment Parameters") + header.showLock : true - contentItem: Row { id: _row - objectName: "row" + contentItem: Row { id : _row + objectName : "row" property int cellWidth : (contentItem.width / 4) - (Variables.defaultMargin) + 5 property int cellHeight : contentItem.height - 10 @@ -46,7 +46,7 @@ title : qsTr("Blood Flow") height : _row.cellHeight width : _row.cellWidth - value : "320"//Variables.notSetVariable(vTreatmentBloodFlow.bloodFlow_PresFlow) + value : Variables.notSetVariable(vTreatmentBloodFlow.bloodFlow_PresFlow) unitText : Variables.unitTextFlowRate buttonsEnabled : editEnabled @@ -59,7 +59,7 @@ title : qsTr("Dialysate Flow") height : _row.cellHeight width : _row.cellWidth - value : "20"//Variables.notSetVariable(vTreatmentBloodFlow.dialysateFlow_PresFlow) + value : Variables.notSetVariable(vTreatmentBloodFlow.dialysateFlow_PresFlow) unitText : Variables.unitTextFlowRate buttonsEnabled : editEnabled // TODO extraText : "OFF" // TODO @@ -73,7 +73,7 @@ title : qsTr("Dialysate Temp.") height : _row.cellHeight width : _row.cellWidth - value : "145"//Variables.notSetVariable(vTreatmentBloodFlow.bloodFlow_PresFlow) + value : Variables.notSetVariable(vTreatmentBloodFlow.bloodFlow_PresFlow) unitText : Variables.unitTextTemperature buttonsEnabled : editEnabled // TODO @@ -86,7 +86,7 @@ title : qsTr("Dialysate Cond.") height : _row.cellHeight width : _row.cellWidth - value : "55"//Variables.notSetVariable(vTreatmentBloodFlow.bloodFlow_PresFlow) + value : Variables.notSetVariable(vTreatmentBloodFlow.bloodFlow_PresFlow) unitText : Variables.unitTextDialCond showButtons : false dropShadowEnabled : false