title: What is the correct way to make my PyQt application quit when killed from the console (Ctrl-C)?
body: <p>What is the correct way to make my PyQt application quit when killed from the console (Ctrl-C)?</p>
  
  <p>Currently (I have done nothing special to handle unix signals), my PyQt application ignores SIGINT (Ctrl+C). I want it to behave nicely and quit when it is killed. How should I do that?</p>