is there a way to draw a line with multiple points and afterwards have the possibility to be able to catch that line with some kind of mouse-over-event?
Unfortunately I'm struggling to draw a line in a QGraphicsView with multiple intermediate points.
I know how to draw a closed polygon with QtWidgets.QGraphicsPolygonItem(QPolygonF...).
If my polygon-points are not closed - that means the last point is not equal to the first one - the polygon gets closed automatically.
However I'd like to not have that last connection.
With QtWidgets.QGraphicsLineItem only a line between two points can be drawn.