Sorry if this is (another) stupid question but I am wondering if Qt provides a method for determining if the mouse point is over a Line. I can use QPainterPath::contains() to determine if the mouse is inside a polygon which is nice, but I can't find a way of doing it for a single QLine. Am I missing something obvious or is this something I have to do manually?
Bookmarks