title: Wait for a SLOT to finish the execution with Qt
body: <p>In my code I emit a signal (mySignal) and I want to wait for the end of a connected slot (mySlot) execution before it continues:</p>
  
  <pre><code>emit mySignal();
  // Wait for the end of mySlot execution...
  
  // Some code that has to be executed only after the end of mySlot execution...
  </code></pre>
  
  <p>Is there a way to do so ?</p>