4. Implementing Application Functionality

Image

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 QTableWidget.

The Central Widget

The central area of a QMainWindow can be occupied by any kind ...

Get C++ GUI Programming with Qt 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.