Unsolved Multiple QtGraphicsScene in a QtGraphicsView or one scene with many similar objects ?
-
Hello everyone,
I must create this GraphicsView which will have lots of instances of that same thing to display. The thing in question is actually a graph with multiple curves, which will show some stats for each cycle. As the app goes through more cycles, graphs append next to each other in my graphics view. It is then possible to track the progress on some stuff at a glance by looking over the sequence of graphs and how the curves evolve (if the tend to decrease, increase, stabilize ...)
What is best here - create one scene per graph (and then I don't have to worry about coordinates of stuff within the graph relative to the general graphicsView window, I can just specify stuff relative to each graph's scene) or is it lighter and faster to just draw multiple graphs in one scene, going through the hassle of specifying the position of every relative to the main GraphisView/graphicsScene (which share the same coordinates in that case) ?
Thanks in advance,
Charles -
@Selrak
Hi and welcomeIs the graph a custom Item ?
I would use a scene for each
if memory permits (Desktop should be no issue)
and there is no need to view different "graph paths" at same time.