How do you restrict a QGraphicsItem to move horizontally or vertically?
For example, If an item is at (0,0), how do I restrict the movement between (0,0)-(150,0)?