[PyKDE] Canvas in a widget

Angel Lopez Muñoz lopez at esrf.fr
Thu Jul 22 10:20:00 BST 2004


Hello,

what is the better way to use a canvas inside a widget created with 
QtDesigner??

I have a frame waiting for the canvasView, but I don't know what classes, 
subclasess, parents, I have to make.

What I need is a place in the widget where display an image an the click in 
it to draw some points and lines. The application must know the position of 
the points in order to recalculate something and the draw another lines... 
(just to be a little descriptive)



Thank you very much for you help.

____________________________________
Angel Lopez Muñoz
Spanish CRG BeamLine
at the European Synchrotron Radiation Facility

6, Rue Jules Horowitz
ESRF-B. P. 220
F-38043 Grenoble Cedex 09
France

Tel. +33-(0)476 88 24 49
Fax +33-(0)476 88 28 16








More information about the PyQt mailing list