[PyQt] Getting stuck in an infinite loop in QGraphicsPixmapItem::boundingRect()

David Boddie dboddie at trolltech.com
Thu Jul 1 20:04:49 BST 2010


On Thu Jul 1 16:46:56 BST 2010, dizou wrote:

> The QGraphicsScene contains a bunch of QGraphicsPixmapItems in it. The
> QGraphicsView displays them on the screen. When I click a "Open" button, I
> enter into the Open() function in my widget. When this happens, I go into
> an infinite loop where python will continuously go through each
> QGraphicsPixmapItem's boundingRect() function.

When you stop the program, do you get a Python Traceback?

If so, what does it show?

David
-- 
David Boddie
Senior Technical Writer
Nokia, Qt


More information about the PyQt mailing list