Hey Guys,
I've got a nice little application which computes location-based scientific results and shows them, "pre-rendered" as Image-Files on a QGraphicsScene / QGraphicsView setup. Just to give you an idea: there are about 6 QGraphicPixmapItems / a few QGraphicsPolygon / QGraphicsLineItems on the screen, all static. The performance is fine so far.
Additionally I give the user the opportunity to load own datasets into the scene (like a map or whatever, format can be bmp, png or jpeg). The size of the image doesn't matter, it is automatically being scaled to the extend of previous datasets (e.g. a digital elevation model). Before actually adding the image, all "white" parts of the image are filtered (transparent Black/White-Map) Now this works fine as well. But as soon as I click somewhere in the scene the whole application freezes for more than a minute, stuck in the static bool EqualRegion(...) loop of qregion.cpp. After it is done with that, the general performance of the Scene slows down.
Any thoughts or tips on that?
Thanks,
Daniel