hi,
I am actually in need to implement an item to represent 2-d graphs and some more complicated graphs.
As the graph can be pretty huge, it should be scrollable.
My approach is to use a set of custom items and group to build the graph
For eg scrollbars will be custom item.
I am planning to use an approach something similar to QScrollArea but more simple. The ScrollAreaItem should host an item which represents the actual graph - say "canvas". Resizing the scrollarea should update the scrollbars, and also should indicate the visible area of canvas. The canvas in turn should use this hint to draw graph.
is this feasible ? Will clipping result in very bad performance ?
And btw i have to do this for qt 4.3 so can't use widgetitems. Also i can't use the lab's qgraphicswidget because it doesn't allow transformation.
Bookmarks