I’m not sure how to make the loop wait and iterate with a different input.
For example:
DO
{
// DO STUFF
}WHILE (Whatever is in lineEdit widget is not 'N') // User picks between Y and N
However, I can’t seem to implement any way to wait at the end of the do part so that the user can edit the lineEdit text content.
In Qt, you would do nothing. Let the QApplication event loop do its thing. Just connect a handling slot to QLineEdit’s
textEdited(const QString & text )signal.