Related to: PyQt4.6

In a custom QGraphicsItem class, I am drawing a line using QLineF. This item is selectable. The problem is that QGraphicsItem's selection is based on bounding box and in case when line is drawn almost diagonally, Clicking even far away from line also make it selectable. Is there any way to make the line selectable when precisely clicking on it. (even margin of 1 or 2 pixel would be fine in case)