O'Reilly logo

Qt 5 Projects by Marco Piccolino

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

Adding a panel to the page

In what follows, we are going to use the concepts of panel and page. These are entities, or business objects from the comics domain. Since visual components with the same or similar names but different meanings are available (for example, from the Qt Quick Controls 2 module (Page and Pane)), make sure you don't confuse them. I will use domain-specific names when implementing the entities' UI counterparts (ComicPage and ComicPanel).

The first entity we want to model is the page. We might need a page to be part of a complex higher-level entity (for example, a comic book, a chapter, or a sequence), but let's keep things simple for now, and pretend the page is our top-level entity, and that the page we will be adding ...

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