in my dialog a pushbutton (named Yes) is there.
in constructor i gave like
Qt Code:
connect(this->yesButton,SIGNAL(clicked()),this,SLOT(accept()));To copy to clipboard, switch view to plain text mode
I dont want to accept this dailog if Enter key from keyboard is pressed. how to disable the focus. Only if i mouseclick on this button it should accept. How to do?
Bookmarks