Index: sources/gui/qml/components/MainMenu.qml =================================================================== diff -u -rcbf070d3a5b274700f8831ab50dd95986a533477 -r89be2d248cac3f748b704cd62408cf8911991039 --- sources/gui/qml/components/MainMenu.qml (.../MainMenu.qml) (revision cbf070d3a5b274700f8831ab50dd95986a533477) +++ sources/gui/qml/components/MainMenu.qml (.../MainMenu.qml) (revision 89be2d248cac3f748b704cd62408cf8911991039) @@ -34,6 +34,8 @@ property int highlightHeight : 10 property bool isMainMenu : false property bool isMainTreatment : false + property bool isDiagnostics : false + readonly property int currentScreen : isMainTreatment ? _mainTreatmentModel.get(index).screen : 0 property color statusColor : Colors.transparent @@ -69,6 +71,12 @@ ListElement { text: qsTr("Settings") ; visible: true } } + ListModel { id: _diagnosticsModel + ListElement { text: qsTr("Treatment Delivery & Blood Handling") ; visible: true } + ListElement { text: qsTr("Dialysate Delivery") ; visible: true } + ListElement { text: qsTr("Filtration & Purification") ; visible: true } + } + ListView { id: _listView property alias index : _listView.currentIndex @@ -77,6 +85,7 @@ anchors.rightMargin : anchors.leftMargin model : isMainMenu ? _mainMenuModel : isMainTreatment ? _mainTreatmentModel : + isDiagnostics ? _diagnosticsModel : null currentIndex : 0 highlightFollowsCurrentItem : true