[PyKDE] Canvas problems

Boudewijn Rempt bsarempt at rempt.xs4all.nl
Tue Dec 12 20:54:46 GMT 2000


On Tue, 12 Dec 2000, Mark Kimsal wrote:
> I followed the basic design of the program on zez.org but it gives an
> error whenever i try to call QCanvasText.show() on a qcanvastext object.
> Also, python pops up a MSVC runtime lib error.  If I change the object to
> an instance of QCanvasSprite to follow the example program exactly, a
> page fault occurs in QT221.DLL
> 
> //ERROR WINDOW:
> Runtime Error!
> Program C:\dev\python\python.exe
> 
> R6025
> -pure virtual function call
> 
> 
> //ERROR:
> QPainter::begin: Another QPainter is already painting this device;
>         A paint device can only be painted by one QPainter at a time
> QPainter::setWorldMatrix: Will be reset by begin()
> QPainter::setWorldXForm: Will be reset by begin()
> QPainter::begin: Another QPainter is already painting this device;
>         A paint device can only be painted by one QPainter at a time
> QPainter::setWorldMatrix: Will be reset by begin()
> QPainter::setWorldXForm: Will be reset by begin()
> QPainter::setClipRegion: Will be reset by begin()
> QPainter::setClipping: Will be reset by begin()
> QPainter::setPen: Will be reset by begin()
> QPainter::setBrush: Will be reset by begin()
> QPainter::setBrush: Will be reset by begin()
> QPainter::setPen: Will be reset by begin()
> 
> 
> 

Funny this... Can you run Eric? I remember Phil having changed it so
it works on Windows. And I know for sure that my canvas code runs on
Windows - checked it last Sunday. But that's a bit difficult to just
try out. Can you send your complete code? I'd like to experiment with
it.






More information about the PyQt mailing list