Le mercredi 17 juin 2009 20:32:09, Emanuel Rumpf a écrit :
> Maybe the view is updated one time-moment too late.
> When scrolling, it looks like the view would update BEFORE the scroll
You were totally right : the scroll of the rulers was trigged by
QGraphicsView::scrollContentsBy() which is called before the view is scrolled.
The use of QGraphicsView::DrawForefround() in place of scrollContentsBy()
solves the problem.