I think this bug could be fixed with the following signal and methods:
QApplication::focusChanged()
QWidget::setFocus(), QWidget::clearFocus(),
link: http://qt-project.org/doc/qt-4.8/qapplication.html#focusChanged
I think this bug could be fixed with the following signal and methods:
QApplication: :focusChanged( )
QWidget: :setFocus( ), QWidget: :clearFocus( ),
link: http:// qt-project. org/doc/ qt-4.8/ qapplication. html#focusChang ed