I can't seem to get QGraphcsScene::update() to reflect any modifications I've made to items in the scene. Here is the shortest example where the problem is replicated:

Qt Code:
  1. scene->setSceneRect(0, 0, 600, 600);
  2. ui.map_view->setScene(scene);
  3. QRectF *r = new QRectF(0, 0, 100, 100);
  4. scene->addRect(*r, targetPen, targetBrush);
  5. r->setRect(200, 200, 300, 300);
  6. scene->update(scene->itemsBoundingRect());
To copy to clipboard, switch view to plain text mode 

Because this is all done essentially instantaneously, I should see the 100x100 rectangle at 200, 200. Instead, it remains at 0, 0 (I checked to make sure I wasn't thinking (200, 200) was actually (0, 0)). Any thoughts?