Taking a picture and loading it into a panel

Now, what if we could have those panels show us something interesting instead of being blank? How about a picture of a doodle from the camera? Many comic creators still like to draw with pencil and paper, so this looks like a worthy feature. Let's sketch a use-case scenario and go ahead:

Given there is a pageAnd the page has one or more panelsAnd I select one panelWhen I add a camera picture to the selected panelThen the picture shows up in the selected panel

Here is the road map: we will first enhance our ComicPanel implementation to support clicking and images, then add a camera preview to our scene, and finally add the behavior to show the captured image in the selected panel when the panel ...

Get End to End GUI Development with Qt5 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.