Data

In this chapter, we will implement classes to handle the most critical part of any Line of Business application—the data. We will introduce self-aware data entities, which can automatically serialize to and from JavaScript Object Notation (JSON), a popular serialization format used a lot in web communications. We will create the core models we need for our application and wire them up to our UI for reading and writing via custom controls. We will cover the following topics:

  • JSON
  • Data decorators
  • Abstract data entities
  • Collections of data entities
  • Concrete data models
  • UI controls and data binding

Get Learn Qt 5 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.