This class provides almost all methods required for manipulating multiple graphics items (QGraphicsItem), even though we only used it with a single QGraphicxPixmapItem in the previous example. In this section, we will review some of the most important functions in this class. As it was mentioned before, we'll mainly focus on the properties and methods required for our use case, since covering all methods, although they are all important, would be fruitless for the purpose of our book. We will skip the constructor functions of QGraphicsScene since they are simply used to take the dimensions of the scene and create a scene accordingly. As for the rest of the methods and properties, here they are, and for some of them ...
The Scene, QGraphicsScene
Get Computer Vision with OpenCV 3 and 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.