Aug-04-2020, 05:36 PM
You connect the xxxChanged signal to a function. When factor changes call the factor_changed function. When modified_loss changes calle the modified_loss_changed function. If the user changes "factor" the "factor_changed" gets called. If the usere changes "modified_loss" the "modified_loss_function" is called. Use a flag to differentiate between the user changing a control and your program changing the value of a control.