I want to be able to handle when a QLineEdit control receives focus. I've been looking through the documentation for QLineEdit and it sounds like I will have to subclass QLineEdit and reimplement focusInEvent.

This doesn't sound too difficult (although if anyone has any sample code that would be great), but how do I get this new subclassed control to show up in designer? Do I really have to create a designer plug-in? Is there an easier way to do this to handle focus signals/events?

Thanks!