QGraphicsView repaint problem.
-
I've got class based on QGraphicsView. And I need to redraw some QGraphicsItem inside. I do this: @station->update(station->boundingRect());
invalidateScene(sceneRect(),QGraphicsScene::AllLayers);
updateSceneRect(sceneRect());@ where station is my QGraphicsItem based class object. But it update not full object, only a part of it. When i move mouse inside widget which contains view it repaints. What is the reason ?