Is there a simple way to find which QWidget currently has focus in Qt?
QWidget
You are looking for QApplication::focusWidget().