O'Reilly logo

Foundations of Qt Development by Johan Thelin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PART 2The Qt Building Blocks

This part looks at the key parts of Qt in depth. The classes and techniques presented here enable you to create and modify the Qt building blocks and create custom components for your own applications.

CHAPTER 5The Model-View Framework

Models and views are design patterns that frequently occur in software of all types. By separating the data into a model and rendering that model to the users through views, a robust and reusable design is created.

Models are used to describe the structures shown in Figure 5-1: lists, tables, and trees. A list is a one-dimensional vector of data. A table is a list, but with multiple columns—a two-dimensional data structure. A tree is simply a table, but with yet another dimension ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required