I am moving a QGraphicsItem in a scene using item->setPos(), this works but, how do you update the scene to register the new position .

i am using a function:

Qt Code:
  1. if(picItem->boundingRect().contains(pos))
  2. {
  3. QApplication::beep();
  4. }
To copy to clipboard, switch view to plain text mode 

in a mouseover to show where the scene has the item registered.

now the scene beeps at the original position even though the item is visible at a new position, i need to tell the scene the item has moved so it will beep at the new position.