'Add offset to a point, to take into account the panels.'

def calculate_real_position(self, point):

    point.setX((point.x() + self.panels.margin_size(Panel.Position.LEFT)))
    point.setY((point.y() + self.panels.margin_size(Panel.Position.TOP)))
    return point
