QPlainTextDocumentLayout

class PyQt5.QtWidgets.QPlainTextDocumentLayout

C++ documentation