In this chapter, you learned all about working with 2D graphics in PyQt. We learned how to use the QPainter object to edit images and create custom widgets. You then learned how to use a QGraphicsScene method in conjunction with the QGraphicsObject class to create animated scenes that can be controlled using automated logic or user input.
In the next chapter, we'll add an additional dimension to our graphics as we explore the use of OpenGL 3D graphics with PyQt. You'll learn some of the basics of OpenGL programming and how it can be integrated into a PyQt application.