Hi guys,

I've started with the example project "Diagramscene" in order to learn how to make a visio like application. I'm trying to figure out what the best approach would be to making right angle lines/connectors. So far I've been able to convert the "arrow" class to inherit "QGraphicsPolygonItem" and create right angle lines using open polygons. I then had to modify the paint() and use the drawPolyline() function. However by using this method, the selection area of this polyline is basically the closed path of the described open polygon. At this point, my guess is I need to understand and overload the the shape() function to make the selection area fit to the right angle lines. Is this the best approach?

Thanks alot guys.