QGraphicsLineItem is a visual Qt class for drawing a line in a QGraphicsScene.
See Qt examples for a complete list of Qt examples.
- Example 31: moveable thin lines
- Example 32: moveable and selectable thin lines
- Example 33: moveable and selectable arrows
- Example 34: moveable, selectable and editable arrows