Hello All,

I'm writing an application that uses the QGraphicsRectItem as a base item of the scene, I can add to this item a QGraphicsPixmapItem items

The items that are added can be moved, but what I want is to prevent the user from being able to move the items outside the boundary of the base item of the scene, now the user can move the item everywhere, and outside the boundary of the base item

What do you suggest that I should do, is there any function that I need to re-implement or override?

Thanks very much!