title: How to release the focus of QPushButton which is the default button of the QDialog?
body: <p>I have a QDialog which has a QPushButton and a QLineEdit. QPushButton is set as the default button. When I run the dialog and click Enter key, QPushButton is clicked and corresponding slot is invoked, which is the expected behavior. But when I click on the QLineEdit using mouse and then click Enter key again, also invoke the QPushButton's clicked slot. How to prevent this? I want to click Enter button on other widgets to do nothing. When I use the Tab key to navigate through widgets, QPushButton's is always bold (highlighted) which I guess the reason why it is invoked every time Enter key is pressed.</p>