[PyKDE] QtCore.Qt and QtGui.Qt

Phil Thompson phil at riverbankcomputing.co.uk
Thu Mar 2 14:01:35 GMT 2006


On Thursday 02 March 2006 1:52 pm, Sundance wrote:
> Giovanni Bajo wrote:
> > This would be *very* confusing and very implicit. I'm -1000 on this.
>
> Actually, it's more than merely implicit: it's Plain Freaking Magic.
> And magic is dangerous.
>
> I agree that making the Qt namespace a module of its own would be one
> darn lot better. What I don't know is whether it's possible. Phil?

As I said in another reply - I don't see the difference. Whether it's PyQt4.Qt 
rather than PyQt4.QtCore.Qt, the magic still has to happen when you import 
QtGui.

Phil




More information about the PyQt mailing list