In this chapter, you mastered working with rich text documents in PyQt5. You learned how to use Qt's HTML subset to add rich text formatting in the QLabel, QTextEdit, and QTextBrowser widgets. You worked through constructing a QTextDocument programmatically using the QTextCursor interface. Finally, you learned how to bring your QTextDocument objects into the real world using Qt's printing support module.
In Chapter 12, Creating 2D Graphics with QPainter, you'll learn some advanced concepts of two-dimensional graphics. You'll learn to work with QPainter objects to create graphics, build custom widgets, and create an animation.