Index: sources/gui/qml/pages/pretreatment/PreTreatmentConsumablesStack.qml =================================================================== diff -u -r99a56ec30f1ca4f401e744766bde4f6fac291752 -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/gui/qml/pages/pretreatment/PreTreatmentConsumablesStack.qml (.../PreTreatmentConsumablesStack.qml) (revision 99a56ec30f1ca4f401e744766bde4f6fac291752) +++ sources/gui/qml/pages/pretreatment/PreTreatmentConsumablesStack.qml (.../PreTreatmentConsumablesStack.qml) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,15 +1,15 @@ /*! * - * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. + * Copyright (c) 2021-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * - * \file PreTreatmentSampleStack.qml + * \file PreTreatmentConsumablesStack.qml * \author (last) Behrouz NematiPour - * \date (last) 11-Mar-2021 + * \date (last) 31-Aug-2023 * \author (original) Behrouz NematiPour - * \date (original) 11-Mar-2021 + * \date (original) 18-Mar-2021 * */ @@ -47,28 +47,28 @@ // check List hasCheckList : true checkListStepNames : [ - //qsTr("Water Quality Check"), // this happens too fast and can't be sent to the UI. + //qsTr("Water Quality Check"), // this happens too fast and cannot be sent to the UI. qsTr("BiCarb Pump Check"), qsTr("Acid Pump Check" ), ] } Connections { target: vPreTreatmentStates - onSelfTestConsumables_installChanged : { page( _preTreatmentConsumablesInstall , vselfTestConsumables_install )} - onSelfTestConsumables_waterQualityEntered : {/*_preTreatmentConsumablesSelfTest.checkList.setItem( 0, vselfTestConsumables_waterQuality)*/} - onSelfTestConsumables_biCarbPumpEntered : { _preTreatmentConsumablesSelfTest.checkList.setItem( 0, vselfTestConsumables_biCarbPump )} - onSelfTestConsumables_acidPumpEntered : { _preTreatmentConsumablesSelfTest.checkList.setItem( 1, vselfTestConsumables_acidPump )} + function onSelfTestConsumables_installChanged ( vValue ) { page( _preTreatmentConsumablesInstall , vValue )} + function onselfTestConsumables_primeEntered ( vValue ) {/* _preTreatmentConsumablesSelfTest.checkList.setItemExt( 0, vValue )*/ } + function onSelfTestConsumables_biCarbPumpEntered ( vValue ) { _preTreatmentConsumablesSelfTest.checkList.setItemExt( 0, vValue )} + function onSelfTestConsumables_acidPumpEntered ( vValue ) { _preTreatmentConsumablesSelfTest.checkList.setItemExt( 1, vValue )} } Connections { target: _preTreatmentConsumablesInstall - onConfirmClicked : { + function onConfirmClicked ( vValue ) { vPreTreatmentAdjustmentConsumablesConfirm.doConfirm() page( _preTreatmentConsumablesSelfTest ) } } Connections { target: _preTreatmentConsumablesSelfTest - onConfirmClicked : { /* the state shall automatically change after user confirms the consumables installation */ } + function onConfirmClicked ( vValue ) { /* the state shall automatically change after user confirms the consumables installation */ } } onVisibleChanged: {