Tom Schindl wrote:
> Maybe I'm blind but I could find a signal I could connect to on a widget
> that allows me to track if the widget I'm interested in has the current
> input focus.
>   

The widget has focusInEvent() and focusOutEvent() handlers that you can 
override if you wish to monitor it from inside the widget. If you'd 
rather connect to a signal and monitor from the outside, you can use the 
QApplication.instance().focusChanged signal:

    
http://doc.trolltech.com/qtjambi-4.4/html/com/trolltech/qt/gui/QApplication.html#focusChanged

-- Eskil
_______________________________________________
Qt-jambi-interest mailing list
Qt-jambi-interest@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to