QGraphicsTextItem

class PyQt5.QtWidgets.QGraphicsTextItem

C++ documentation