No, before was inherited from QDialog, but since there Esc forces the dialog to close (as expected by QDialog), I changed its ancestor and now the class is inherited directly from QWidget:
The fact that other keys work but not Esc and Enter is strange...Qt Code:
To copy to clipboard, switch view to plain text mode
thank you for the suggestion, any other idea or I have to try reimplementing onKeyPress (such a bad thing here...)?
Bookmarks