[wingide-users] Re: wingide-users Digest, Vol 35, Issue 25

Tony Cappellini cappy2112 at gmail.com
Fri Mar 30 12:34:06 MDT 2007

>>I'm having trouble getting code completion and source assistant to
>>infer anything for PyQt and PyQt-derived classes.  I followed the

>>My script runs fine.  The imports are:
>>from PyQt4.QtCore import *
>>from PyQt4.QtGui import *
>>from PyQt4.Qt import *

I just went through the same problem. One of the Wing developers got
me on track (I think it was Stephen).

Change your imports to
from PyQt4 import QtGui
from PyQt4 import QtCore

You'll have to add QtGui. and  QtCore. to your code then

I'm able to do PyQt4 command completion now in Wing 2.xx, haven't
tried it in 3.xx yet.

More information about the wingide-users mailing list