title: Qt: How do I make loops that wait for user input on each iteration?
body: <p>I'm not sure how to make the loop wait and iterate with a different input.</p>
  
  <p>For example:</p>
  
  <pre><code>DO
  {
  // DO STUFF
  
  
  }WHILE (Whatever is in lineEdit widget is not 'N') // User picks between Y and N
  </code></pre>
  
  <p>However, I can't seem to implement any way to wait at the end of the <code>do</code> part so that the user can edit the <code>lineEdit</code> text content.</p>