QGraphicsSimpleTextItem

class PyQt5.QtWidgets.QGraphicsSimpleTextItem

C++ documentation