Index: sources/gui/qml/pages/SettingsHome.qml =================================================================== diff -u -rcc1e9d6d55c816f3fcd626dc6948cca24da283b3 -r14c541d2b780b0a244bc84860aa565cf8dd7fe4b --- sources/gui/qml/pages/SettingsHome.qml (.../SettingsHome.qml) (revision cc1e9d6d55c816f3fcd626dc6948cca24da283b3) +++ sources/gui/qml/pages/SettingsHome.qml (.../SettingsHome.qml) (revision 14c541d2b780b0a244bc84860aa565cf8dd7fe4b) @@ -63,6 +63,23 @@ _GuiView.doActionTransmit(GuiActions.ID_PowerOff, GuiActions.NoData) } } + + TouchRect { id : _endTreatmentButton + objectName: "_endTreatmentButton" + width: 200 + height: Variables.logoHeight + animated: true + anchors { + top : parent.top + right : _usbButton.left + topMargin : (Variables.headerHeight - Variables.logoHeight) / 2 + rightMargin : (Variables.headerHeight - Variables.logoHeight) / 2 + } + text.text: qsTr("End Treatment") + button.onPressed: { + vTreatmentEnd.doEndTreatmentRequest(); + } + } } /*