PyQt5.QtGui.
QTextFragment
C++ documentation
QTextFormat
QTextFrame
Enter search terms or a module, class or function name.