Answer the question
In order to leave comments, you need to log in
Why is InstallEventFilter hiding the widget?
Hello! Using eventFilter, I catch keystrokes on the keyboard. To avoid the situation when the focus goes to QPushButton when this button is clicked, I set installEventFilter for it:
But in this case, this button disappears, commenting out this line, the button appears, but, of course, the eventFilter does not work.
Why is InstallEventFilter hiding the widget?
Qt version - 4.7.0 under Windows. ui->button->installEventFilter(this);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question