Only problem is that only a bounding rect region containing all graphics items in the scene is updated. Is that where the rubber band technique comes in? At the moment I simply call QGraphicsScene->update(QGraphicsScene->sceneRect()) which updates the entire scene. Not very efficient way to do things I suppose.
Thuan Seah
You can use QRubberBand with its parent being QGraphicsView->viewport() and then call setGeometry() appropriately while providing feedback of line being drawn. You need not update scene in that case. See QRubberBand's doc for more details.
Bookmarks