[PyKDE] Canvas problems

Boudewijn Rempt bsarempt at rempt.xs4all.nl
Tue Dec 12 07:39:37 GMT 2000


On Tue, 12 Dec 2000, Boudewijn Rempt wrote:

> On Thu, 14 Dec 2000, Mark Kimsal wrote:
> 
> > I am having problems working with QCanvas and QCanvasItem objects
> > 
> > Is there any sample code for using QCanvasItems?
> > 
> 
> I don't think you can really use QCanvasItems... Look at eric the
> debugger's Scanner.py file - that's what I used as an example for
> the canvaswork in Kura. That's a pretty complicated example: get
> it at http://www.valdyas.org/linguistics, and look for the files
> kurailcanvas.py and kurailcanvasview.py.
> 

Oh, and I forgot: at http://zez.org/article/articleview/2/ there's
a nice article on QCanvas, but it's in C++. Not too difficult to
translate, though.





More information about the PyQt mailing list