[PyKDE] QEvent.User

Phil Thompson phil at riverbankcomputing.co.uk
Mon Feb 13 19:17:28 GMT 2006


On Thursday 09 February 2006 9:22 pm, Patrick Stinson wrote:
> I show QEvent.User as <class 'PyQt4.QtCore.Type'>
>
> Shouldn't it be PyQt4.QtCore.QEvent.Type?

No. type() returns the module name (PyQt4.QtCore) and the type name (Type). It 
doesn't include the type's enclosing scope if it has one.

Phil




More information about the PyQt mailing list