[PyQt] Graphic view
Frédéric
frederic.mantegazza at gbiloba.org
Sun Jan 18 19:25:41 GMT 2009
On dimanche 18 janvier 2009, Nahuel Defossé wrote:
> Check the code attached. It's a basic QGraphicItem subclass which has it
> paint method overriden (check QPainter docs and QGraphicsItem.shape). It
> also listens to mouse events. If you want to do some changes when the
> item is hit by the mouse, you might want to call to update() after.
Thanks again, Nahuel! I'll have a look at your code...
--
Frédéric
http://www.gbiloba.org
More information about the PyQt
mailing list