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

Creating the comic panels

Given a page with no panels, our first use case scenario expects that, after the panel's addition action has completed successfully, the page will contain one panel, and the panel will fill up the whole page. We shall thus represent the preconditions and expected outcomes of this change in the UI.

Given what you already know, you might think about fulfilling these requirements in the UI by perhaps intervening on the anchors properties of the comic panel. This could work out well for the first use case scenario (from 0 to 1 panels). However, if you look at the second (from 1 to 2 panels), as we have sketched it out, you might realize that the anchoring model might give origin to unnecessary complexity. When looking ...

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