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