[PyKDE] bug in pyqt or in example?

mancausoft mancausoft at email.it
Thu Nov 30 23:03:18 GMT 2006


Phil Thompson <phil at riverbankcomputing.co.uk> scrisse:

> No, I was confused because I was assuming that the code was a correct
> port of the original C++. The correct fix is to replace...
> 
>     pixmap = child.pixmap()
> 
> ...with...
> 
>     pixmap = QtGui.QPixmap(child.pixmap())
> 
> ...which is the equivalent of what the C++ code does.
> 
> I won't embarrass myself by explaining why I couldn't reproduce the
> problem.
> 
> Thanks everyone,
> Phil

yes  now works :) 


Mancausoft




More information about the PyQt mailing list