You are looking for QApplication::focusWidget().
How to return QWidget that currently has focus
Domanda
Is there a simple way to find which QWidget
currently has focus in Qt?
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow