On Fri, 3 Aug 2012 15:39:01 -0600, David Beck <db...@ualberta.ca> wrote:
> I'm getting the following error message when trying to use
> "LeaveEditFocus" in an event filter (Python 3.3, Mac OS 10.7, PyQt
4.9.2): 
> 
> Traceback (most recent call last):
>   File
>  
"/Users/David/Documents/Python/Qt/QtFieldbook/QtFieldbook/QtFieldbook/runFieldbook.py",
>   line 53, in eventFilter
>     if event.type() == QtCore.QEvent.LeaveEditFocus:
> AttributeError: type object 'QEvent' has no attribute 'LeaveEditFocus'
> 
> The filter runs fine with the other QEvents I've tried in the same
> conditional (e.g., FocusOut and Leave), but LeaveEditFocus would be
better
> for my application.

As far as I can tell LeaveEditFocus is only supported on WinCE and
Symbian.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to