[PyKDE] Newbie question on QWidget.focusOutEvent

Volker Lenhardt volker.lenhardt at uni-due.de
Tue Sep 27 06:50:55 BST 2005


Hans-Peter Jansen schrieb:
> 
> --- focusoutest.py      2005-09-26 17:24:04.743127461 +0200
> +++ focusoutest2.py     2005-09-26 22:01:24.099716956 +0200
> @@ -38,7 +38,9 @@
>                      if o==cmb.lineEdit():
>                          print "bingo"
>                          #QMessageBox.information(self, "Info", "Bingo")
> -        return False
> +                        return False
> +        return QObject.eventFilter(self, o, e)
> +            
>  

No, it remains the same. But I won't waste any more time on a losing 
branch. Thanks anyway.

Volker




More information about the PyQt mailing list