What just happened?

Essentially, what we did is expose a property in CarInfo that is itself an object that exposes a set of properties. This object of the CarInfoEngine type is bound to the CarInfo instance it refers to.

Get Game Programming using Qt 5 Beginner's Guide - Second Edition 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.