I'm using qt 4.3.0 and I'm trying to figure out a way to detect when a widget looses focus. I've got two widgets I'm trying to keep an eye on, a QTextEdit and a QLineEdit. Theres a button that I have that when I click on it, I want it to insert some text in either the text edit or line edit based on which one had focus last.
*edit*
I found the QLineEdit has a finishedEditing signal that is thrown when it looses focus. Now I'm just stuck on how to detect when QTextEdit looses focus.
Any ideas?
Paul
Bookmarks