Domanda

Is there a simple way to find which QWidget currently has focus in Qt?

È stato utile?

Soluzione

You are looking for QApplication::focusWidget().

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top