title: How do I stop and start a loop in QT?
body: <p>I've been trying to figure out how to make the program stop in a for-loop and wait for a button to be clicked and the for-loop continues.  </p>
  
  <p>Isn't there any easy way to stop the loop like <code>QSystem.stop()</code> and in the button clicked function <code>QSystem.star()</code> and the loop continues.  </p>
  
  <p>In C++ you could use <code>system("pause")</code> or the program stopped when you used a <code>cin&lt;&lt;</code>. But how do i do this in QT?  </p>