Index: sources/gui/qml/pages/endtreatment/EndTreatmentRinsebackStack.qml =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -rbbb970aff112f09c189986f026055bec794afbd6 --- sources/gui/qml/pages/endtreatment/EndTreatmentRinsebackStack.qml (.../EndTreatmentRinsebackStack.qml) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ sources/gui/qml/pages/endtreatment/EndTreatmentRinsebackStack.qml (.../EndTreatmentRinsebackStack.qml) (revision bbb970aff112f09c189986f026055bec794afbd6) @@ -78,30 +78,30 @@ } } -/* TODO : stackView manual performance enhanced. - // an idea that is being worked on for later performance imporovement - // if the stackview becomes slow this idea is a manual transition with animation to be replacecd with stackView - PropertyAnimation { id: _rbInitAnimation - target: _endTreatmentRinsebackInit - property: "opacity" - duration: 1000 - to: vHDTreatmentStates.rbInit ? 1 : 0 - } - PropertyAnimation { id: _rbStopAnimation - target: _endTreatmentRinsebackComplete - property: "opacity" - duration: 1000 - to: vHDTreatmentStates.rbStop ? 1 : 0 - } - Connections { target: vHDTreatmentStates - onStateTriggered : { // this property is a TRIGGER and shall be set at the end of the property setters functions list - _endTreatmentRinsebackInit .visible = vHDTreatmentStates.rbInit - _endTreatmentRinseback .visible = vHDTreatmentStates.rbRun || vHDTreatmentStates.rbPaused - _endTreatmentRinsebackComplete .visible = vHDTreatmentStates.rbStop - _endTreatmentAdditional .visible = vHDTreatmentStates.rbAdditional - - } - onRbInitChanged: _rbInitAnimation.running = true - onRbStopChanged: _rbStopAnimation.running = true - } -*/ +// TODO : stackView manual performance enhanced. +// // an idea that is being worked on for later performance imporovement +// // if the stackview becomes slow this idea is a manual transition with animation to be replacecd with stackView +// PropertyAnimation { id: _rbInitAnimation +// target: _endTreatmentRinsebackInit +// property: "opacity" +// duration: 1000 +// to: vHDTreatmentStates.rbInit ? 1 : 0 +// } +// PropertyAnimation { id: _rbStopAnimation +// target: _endTreatmentRinsebackComplete +// property: "opacity" +// duration: 1000 +// to: vHDTreatmentStates.rbStop ? 1 : 0 +// } +// Connections { target: vHDTreatmentStates +// onStateTriggered : { // this property is a TRIGGER and shall be set at the end of the property setters functions list +// _endTreatmentRinsebackInit .visible = vHDTreatmentStates.rbInit +// _endTreatmentRinseback .visible = vHDTreatmentStates.rbRun || vHDTreatmentStates.rbPaused +// _endTreatmentRinsebackComplete .visible = vHDTreatmentStates.rbStop +// _endTreatmentAdditional .visible = vHDTreatmentStates.rbAdditional +// +// } +// onRbInitChanged: _rbInitAnimation.running = true +// onRbStopChanged: _rbStopAnimation.running = true +// } +//