Index: sources/gui/qml/pages/SettingsHome.qml =================================================================== diff -u -r0470ff6f209ff0c5089f8f0849b6da04f60f8f41 -rbe1b2d8f110b741f3d630df438da07d411110543 --- sources/gui/qml/pages/SettingsHome.qml (.../SettingsHome.qml) (revision 0470ff6f209ff0c5089f8f0849b6da04f60f8f41) +++ sources/gui/qml/pages/SettingsHome.qml (.../SettingsHome.qml) (revision be1b2d8f110b741f3d630df438da07d411110543) @@ -65,17 +65,30 @@ } } + 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(); + } + } - TitleText { id: _titleText anchors.horizontalCenter: parent.horizontalCenter; anchors.top: parent.top anchors.topMargin: 150 width: parent.width text: qsTr("Device Settings") - - } /*