title: Yes/No message box using QMessageBox
body: <p>How do I show a message box with Yes/No buttons in Qt, and how do I check which of them was pressed?</p>
  
  <p>I.e. a message box that looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/h92PA.png" alt="enter image description here"></p>