C++ (Qt)QGraphicsView* zoomArea; void zoomIn(){zoomArea->scale(1.1, 1.1);} void zoomOut(){zoomArea->scale(1/1.1, 1/1.1);}