[PyKDE] Changed to uic API in PyQt4

Patrick Stinson patrickkidd.lists at gmail.com
Mon Apr 24 23:13:16 BST 2006


On 4/24/06, Phil Thompson <phil at riverbankcomputing.co.uk> wrote:
> Tonight's PyQt4 snapshot contains changes to the uic module. If you import any
> of the uic functions then you will need to change your code.
>
> If you are just using pyuic4 then you shouldn't be affected.
>
> PyQt 4.0 beta will be released in the next couple of days.
>
great! What plans do you have any plans for naming the modules? Are
the Qt* packages moving out of (the redundant) PyQt4? perhaps you can
refer me to a previous post...

uggh:

from PyQt4.QtCore import QObject,PYSIGNAL

yay (order of preference):

from qt import QObject, SIGNAL
from qtcore import QObject, SIGNAL
from QtCore import QObject, SIGNAL

Isn't there a PEP about new import syntax in 2.5?

> Phil
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>


--
Patrick Kidd Stinson
http://www.patrickkidd.com/
http://pkaudio.sourceforge.net/
http://pksampler.sourceforge.net/




More information about the PyQt mailing list