6. Model/View Views
This chapter covers model/view views, and is the last chapter covering Qt’s model/view architecture. Just like the previous two chapters, this chapter assumes a basic familiarity with the model/view architecture, as described at the beginning of Chapter 3 (88 ).
Qt’s standard model views,
QTreeView, are sufficient for most purposes, most of the time. And like other Qt classes, they can be subclassed—or we can use custom delegates—to affect how they display the model’s items. However, there are two situations where we ...