Hello,

I am developing a Qt-based application. The main part of the application if
a QGraphicView widget
whose scene is populated with thousands (sometimes hundreds of thousands)
of QGraphicItems, more
precisely a subclass because to overload the "paint" function in order to
draw a circle for each item.

The problem is that the application basically freezes when I load a lot of
items.

Is this normal? Is there a limit on the number of  QGraphicItems that you
can visualize?

Also, if you want QGraphicItems to respond to a certain signal, do you need
to connect
the signal to an slot for each of the items?

As an alternative, I can draw all the dots as a one single QGraphicItems
which will solve
the problem, I guees, but I would lose the interaction with the dots
individually.

Any help would be much appreciated.

Thanks in advance.

//Jose
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to