Index: sources/gui/qml/pages/MainStack.qml =================================================================== diff -u -r8f83b92860a33498ea7856e63afef0a10ee11923 -r4b028ff6be84e7aa051af40f6763dab23c5b0b33 --- sources/gui/qml/pages/MainStack.qml (.../MainStack.qml) (revision 8f83b92860a33498ea7856e63afef0a10ee11923) +++ sources/gui/qml/pages/MainStack.qml (.../MainStack.qml) (revision 4b028ff6be84e7aa051af40f6763dab23c5b0b33) @@ -34,8 +34,13 @@ * is selected from the main menu. */ StackItem { id : _root - stackView.initialItem : _mainHome + stackView.initialItem : _initialModeScreen + function doSettingsDisinfect() { + _mainMenu.currentIndex = 0 + page( _disinfectStack ) + _disinfectStack.doSettingsDisinfect() + } // Standby / Disinfection DisinfectStack { id: _disinfectStack } @@ -69,7 +74,26 @@ } ScreenItem { id: _initialModeScreen - PlaceHolderText { screenName: qsTr("INITIAL MODE") } + Image { id: _dialityLogo + Behavior on opacity { OpacityAnimator { duration: 1000 } } + opacity : 1 + anchors.centerIn: parent + source : "qrc:/images/iLogoDiality" + } + + WaitDone { id: _hdWaitdone + diameter: 75 + anchors { + top: _dialityLogo.bottom + topMargin: 60 + horizontalCenter: parent.horizontalCenter + } + visible : true + // HD will pause for a few seconds before changing to stand-by mode + // so we can show that POST has completed + done : vHDPostFinalResult.result < 2 + failed : vHDPostFinalResult.result === 0 + } onVisibleChanged: if (visible) _mainMenu.hidden = true } @@ -79,7 +103,7 @@ } Connections { target: vHDOperationMode - // onFaultChanged : { page( _faultModeScreen , vfault )} // may needed later. + // onFaultChanged : { page( _faultModeScreen , vfault )} // may needed later. onServiceChanged : { page( _serviceModeScreen , vservice )} onInitChanged : { page( _initialModeScreen , vinit )} @@ -127,7 +151,7 @@ onVisibleChanged: { if (visible) { - _mainMenu.hidden = false + _mainMenu.hidden = true } else { stackView.initialItem = null