I developed a GUI application using PyQt which comport a QGraphicsView. In this QGraphicsView I have a QGraphicsScene with a lot of items (more than 10'000): polygons, rectangles, texts, etc.
How can I save it as an image like it appears on the screen (.png for example)? I couldn't find any example of this. Should I use QImage or something like this?