O'Reilly logo

Game Programming using Qt 5 Beginner's Guide - Second Edition by Lorenz Haas, Witold Wysota, Pavel Strakhov

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

Summary

In this chapter, you learned how the Graphics View architecture works. We went through the building blocks of the framework (items, scene, and view). Next, you learned how their coordinate systems are related and how to use them to get the picture you want. Later on, we described the most useful and frequently needed features of Graphics View. Next, we covered creating custom items and handling input events. In order to build a bridge to the world of widgets, you also learned how to incorporate items based on QWidget into Graphics View. Finally, we discussed ways to optimize the scene.

Now, you really know most of the functions of the Graphics View framework. With this knowledge, you can already do a lot of cool stuff. However, for ...

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