[PyQt] Question about focus issue

Detlev Offenbach detlev at die-offenbachs.de
Sun Jan 18 10:39:03 GMT 2009


Hi,

I have an issue related to determine the state of the focus for a widget. The 
situation is like this.

I have a QWidget containing a QStackedWidget containing several widgets. One 
of these is a QTabWidget containing several QTreeViews. How can the top level 
QWidget be informed, if one of the sub(-sub)-widgets looses (or gains) focus 
without the need to have specialized subclasses.

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the PyQt mailing list