View Full Version : problem in simple example for installEventFilter
navid
10th December 2009, 19:14
hi
please do click on item &view and see application freeze!
where is the problem?
regards
navid
spirit
10th December 2009, 19:24
add this line
...
return QMainWindow::eventFilter(obj, event);
...
in you reimplementation of eventFilter.
i.e.
bool MainWindow::eventFilter(QObject *obj, QEvent *event)
{
event->accept();
return QMainWindow::eventFilter(obj, event);
}
navid
10th December 2009, 19:43
thanks
also, please check this:
again do click on item &view, you have to do extra (bad) click to disappear popup menu, when want to go to other items of menubar.
what is the solution?
best regards
navid
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.