Index: sources/gui/qml/main.qml =================================================================== diff -u -rec7f919fdb70ff29a8de627937e4ad7008e59c1c -r86e9dfbff50cb7e16fd94c16c1c818cef3b47eac --- sources/gui/qml/main.qml (.../main.qml) (revision ec7f919fdb70ff29a8de627937e4ad7008e59c1c) +++ sources/gui/qml/main.qml (.../main.qml) (revision 86e9dfbff50cb7e16fd94c16c1c818cef3b47eac) @@ -236,6 +236,10 @@ // 3 - Footer MainMenu { id: _mainMenu + function isTreatment () { _mainMenu.itemPressed(0) } + function isManager () { _mainMenu.itemPressed(1) } + function isSettings () { _mainMenu.itemPressed(2) } + hidden: true // it should be hidden by default since the landing screen changed to init and it does not have the main menu untill the POST passes. titles: [ qsTr("Treatment") , qsTr("Manager") , qsTr("Settings") ] Component.onCompleted: { @@ -311,7 +315,7 @@ anchors { top : parent.top left : parent.left - leftMargin : 1090 + leftMargin : 1080 } horizontalAlignment : Text.Alignleft verticalAlignment : Text.AlignBottom @@ -337,7 +341,7 @@ } - SDItem { id: _sdItem + SDCProgressItem { id: _sdcProgressItem // TODO: disable this later. this is only for diagnostic purpose. onDoubleClicked : { _diagnosticsDialog.open()