In the previous two chapters, we explained how to create the Spreadsheet application’s user interface. In this chapter, we will complete the program by coding its underlying functionality. Among other things, we will see how to load and save files, how to store data in memory, how to implement clipboard operations, and how to add support for spreadsheet formulas to
The central area of a
QMainWindow can be occupied by any kind of widget. Here’s an overview of the possibilities:
Use a standard Qt widget.
A standard widget like