[Qt-interest] GraphicsView and many spline items ?

Chris G cgrebeld at gmail.com
Tue Jun 8 17:44:56 CEST 2010


Hi,
  I have a QGraphicsScene-based widget, which is used to visualize
highly-connected graphs, so the bulk of the items (as many as several
hundred) in the scene are long edges (splines).

I'm using QGraphicsPathItem, and so the bounding boxes for these long
curvy edges are huge, and all overlapping.  I think this is causing
refresh performance problems, maybe because the indexing is not
designed for this?  Is indexing related to refresh?  Can anyone advise
on a good approach to these items and/or how to get good performance
out of QGraphicsScene in this case?  Perhaps I need to customize how
these edges are tested for intersection ?

Thanks!, and sorry for the vagueness of my question, I'm new to these classes.



More information about the Qt-interest-old mailing list