Accessing a mehod through a signal sent from a widget located in another module not display update information by user

Hello good afternoon, I hope you are well and I’m a bit stuck with a code and I hope you can help me.

I have a small application where the user can enter numbers and then these are passed to a method to perform certain action.

Now I need to access this method through a signal generated by a widget that is in another module and what happens is that if you access the method but the user changes the input data is displayed the data that was defined at the beginning.

On the other hand if this method is called with a signal generated by a widget contained in the same class the data entered by the user is updated.