Hi,
My QGraphicsScene has a scroll bar. When I scroll it, the QGraphicsItem:aint option's exposedRect is always fixed to the viewport's size, I have to redraw the entire item even though most of the item has not changed.
What I hope is to only redraw the exposed part of the item when scroll bar is moved, because it takes a lot of time to draw the item.
I have used
QGraphicsView::setViewportUpdateMode( QGraphicsView::MinimalViewportUpdate );
Any suggestions please?
Bookmarks