Index: sources/gui/qml/pages/SettingsHome.qml =================================================================== diff -u -r56e378f7504701b9e9a9dccaf205aef2fd52c58e -r53134008481fd775533e8988b7436f2f75e47336 --- sources/gui/qml/pages/SettingsHome.qml (.../SettingsHome.qml) (revision 56e378f7504701b9e9a9dccaf205aef2fd52c58e) +++ sources/gui/qml/pages/SettingsHome.qml (.../SettingsHome.qml) (revision 53134008481fd775533e8988b7436f2f75e47336) @@ -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(); + } + } } /*