On Sunday 16 July 2006 11:21 am, Jeremy Sanders wrote: > On Sun, 16 Jul 2006, Jan Ekholm wrote: > > I've used PyQt 4.0 as released a while ago for some time now without > > major problems. Seems quite stable and is fun to work with (ok, I > > absolutely hate the QtCore.* and QtGui.* package names, they make the > > code far too verbose and prone to silly typos). > > You could always do what I do: > > qtall.py: > from PyQt4.QtCore import * > from PyQt4.QtGui import * > > In your program: > import qtall as qt4 > > then you can do qt4.QWidget(...), etc...
Your qtall.py already exists... import PyQt4.Qt as qt4 ...or just... import PyQt4.Qt as Qt ...or... from PyQt4.Qt import * Phil _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
