I set up a GUI and so far, everything works as it should, except of one thing. There is a button which means "Start" and calls a function/algorithm. Within this function, some inputs are needed from the user (via a QLineEdit) and here begins the trouble.
What I want to have is the following: User enters a number into the QLineEdit and presses a button (let's call it Next) so the algorithm can proceed.
At the moment, the algorithm simply takes the number, entered in this specific QLineEdit before the start button was pressed, for each step. And the problem is, I'm not able to enter a number again until the algorithm finished.
From my understanding the issue lies in the fact that the GUI is not responsive when entering the algorithm. How could I do that? The next button doesn't work, yet, because I don't know how to do so.