[PyQt] Question about focus issue
Phil Thompson
phil at riverbankcomputing.com
Sun Jan 18 11:18:23 GMT 2009
On Sun, 18 Jan 2009 11:39:03 +0100, Detlev Offenbach
<detlev at die-offenbachs.de> wrote:
> 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.
QApplication.focusChanged()
Phil
More information about the PyQt
mailing list