[Qt-interest] Have any recommendations of enhance the GUI speed of using GraphiscView/Scene/Items ?

David García Garzón david.garcia at upf.edu
Fri Oct 28 16:21:13 CEST 2011


On Friday 28 October 2011 17:45:16 Duan, Lin wrote:
> I am performing a task of building a GraphicsView based GUI application. But
> I found that when I RubberBand-select about 20 Items,then Drag them
> together within the unique GraphicsView/Scene,it seems need I wait it for
> redraw (very very slow). ( there were many GraphicsPathItems connected the
> items, then moving the items together , the GraphicsPathItem redraw in the
> GraphicsPathItem::mouseMoveEvent()).

We have a similar application and we are experiencing similar scalability 
problems. So any solution would be of our interest too.

At the time we implemented it, GV tecnology was in its inception, the wires as 
items invalidated the whole square and forced too many redraws. We ended up by 
drawing the wires as background but now I would have guess that GPathItem 
invalidation would be more optimal than that. Isn't it?

David.
http://clam-project.org



More information about the Qt-interest-old mailing list