[PyKDE] QCanvasView -> refresh?

Karl myonlyb at gmx.net
Wed Jun 19 23:03:00 BST 2002


Hi!


>view->canvas()->update();


Nope. Does not work. Canvas is "highly optimized". It checks whether 
something has changed but does not really notice when I change something 
(item.move())

  Found out that the following works:
self.canvas().setAllChanged()
self.canvas().update()

But this is, of course, slooooow :(

  Tnx anyways..
   Karl





More information about the PyQt mailing list