We have so far been using only ready-made widgets for the user interface, which resulted in the crude approach of using buttons for a tic-tac-toe game. In this chapter, you will learn about much of what Qt has to offer with regard to custom widgets. This will let you implement your own painting and event handling, incorporating content that is entirely customized.
The main topics covered in this chapter are as follows:
- Working with QPainter
- Creating custom widgets
- Image handling
- Implementing a chess game