Index: sources/gui/qml/components/UltrafiltrationButton.qml =================================================================== diff -u -rac31b8d2725200adbff01ceaebda9ff2b1e0d719 -r8f71000a841da5e8f18efccbb30a7655d3a211cd --- sources/gui/qml/components/UltrafiltrationButton.qml (.../UltrafiltrationButton.qml) (revision ac31b8d2725200adbff01ceaebda9ff2b1e0d719) +++ sources/gui/qml/components/UltrafiltrationButton.qml (.../UltrafiltrationButton.qml) (revision 8f71000a841da5e8f18efccbb30a7655d3a211cd) @@ -31,8 +31,11 @@ TreatmentDuration } - property string title : "" - property string description : "" + readonly property alias title : _title.text + readonly property alias description : _description.text + + property string titleString : "" + property string descriptionString : "" property string valueText : "" property color textColor : "white" @@ -63,7 +66,7 @@ } Text { id: _title - text: _root.title.arg(disabled ? qsTr("Invalid") : isIncrease ? qsTr("Increase") : qsTr("Decrease")) + text: _root.titleString.arg(disabled ? qsTr("Invalid") : isIncrease ? qsTr("Increase") : qsTr("Decrease")) font.pixelSize: 35 font.weight: Font.DemiBold color: disabled ? Colors.textDisableButton : textColor @@ -76,7 +79,7 @@ } Text { id: _description - text: disabled ? qsTr("Due to out of range adjutsment this option\nis disabled.") : _root.description.arg(isIncrease ? "increases" : "decreases") + text: disabled ? qsTr("Due to out of range adjustment, this option\nis disabled.") : _root.descriptionString.arg(isIncrease ? "increases" : "decreases") font.pixelSize: 26 color: disabled ? Colors.textDisableButton : textColor anchors {