PDA

View Full Version : How to determine when QLineEdit gets focus?



DiamonDogX
1st July 2009, 14:16
I have an application with a bunch of line edits. What is the best way to keep track of which one currently has focus, i.e. when a user clicks in one to edit it, I want to know which line edit he clicked in. Thanks.

wysota
1st July 2009, 15:37
QApplication::focusChanged()