[PyQt] QGraphicsScene/Item/View optimisation

Frédéric frederic.mantegazza at gbiloba.org
Fri Feb 6 15:05:12 GMT 2009


Le 6/2/2009, "Jan Ekholm" <jan.ekholm at smultron.net> a écrit:

>At least don't use a thread to update GUI stuff, you'll just cause yourself a
>lot of problems and crashes.

I finally found that the paint() method is very slow, and use all the
CPU. I re-designed my app so I don't have to use it (I just draw
rectangles or ellipses, so I used the related items). And it is now very
fast.

Thanks you all.

--
   Frédéric



More information about the PyQt mailing list