title: Qt Designer: how to add custom slot and code to a button
body: <p>I use Qt4 Designer and I want that when I click on the "yes" button, some code will execute. And when I click on the "no", some other code will be execute. How can I do it?</p>