QTextFrame

class PyQt5.QtGui.QTextFrame

C++ documentation