Index: sources/gui/qml/pages/MainHome.qml =================================================================== diff -u -r45ce5cd058a8d0239d486e0ab4b057731f7dba76 -r1286d74bd015276aab604808be2766136091c125 --- sources/gui/qml/pages/MainHome.qml (.../MainHome.qml) (revision 45ce5cd058a8d0239d486e0ab4b057731f7dba76) +++ sources/gui/qml/pages/MainHome.qml (.../MainHome.qml) (revision 1286d74bd015276aab604808be2766136091c125) @@ -49,15 +49,36 @@ text : vDateTime.greeting font.pixelSize: 40 //// ----- @LEAHIZED: Move to Variables.qml + TouchRect { id : _createHDTreatment + anchors { + horizontalCenter : parent.horizontalCenter + verticalCenter : parent.verticalCenter + verticalCenterOffset: Variables.defaultMargin * -3 + } + text.text : qsTr("Hemodialysis") + onClicked : createTreatment(HeaderBar.Mode_HD) + width : 435 //// ----- @LEAHIZED: Move to Variables.qml + height : 92 //// ----- @LEAHIZED: Move to Variables.qml + pixelSize : 30 //// ----- @LEAHIZED: Move to Variables.qml + backgroundColor : Colors.panelBackgroundColor + borderColor : Colors.panelBorderColor + selectColor : Colors.backgroundButtonSelectDark } - TouchRect { id : _createTreatmentRect - anchors.centerIn: parent - text.text : qsTr("Create Treatment") - onClicked : createTreatment() - isDefault : true - width : 435 //// ----- @LEAHIZED: Move to Variables.qml - height : 92 //// ----- @LEAHIZED: Move to Variables.qml - pixelSize : 30 //// ----- @LEAHIZED: Move to Variables.qml + + TouchRect { id : _createHDFTreatment + anchors { + top : _createHDTreatment.bottom + topMargin : Variables.defaultMargin * 2 + horizontalCenter: _createHDTreatment.horizontalCenter + } + text.text : qsTr("Hemodiafiltration") + onClicked : createTreatment(HeaderBar.Mode_HDF) + width : 435 //// ----- @LEAHIZED: Move to Variables.qml + height : 92 //// ----- @LEAHIZED: Move to Variables.qml + pixelSize : 30 //// ----- @LEAHIZED: Move to Variables.qml + backgroundColor : Colors.panelBackgroundColor + borderColor : Colors.panelBorderColor + selectColor : Colors.backgroundButtonSelectDark } NotificationBarSmall { id: _notification