QGraphicsLineItemΒΆ

class PyQt5.QtWidgets.QGraphicsLineItem

The C++ documentation can be found here.