Apparently your line edit doesn't have focus so it is the form that gets the event and since it can't accept focus, the event is ignored by QWidget::event(). The easiest solution is to make the line edit the focus proxy for the form. Alternatvely just set focus on the line edit.





Reply With Quote
Bookmarks