Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis 3 Programmer Reference
GraphicsView.cpp
1#include "GraphicsView.h"
2
3#include <QResizeEvent>
4#include <QSize>
5
6namespace Isis {
7 void GraphicsView::resizeEvent(QResizeEvent *event) {
8 if(event->oldSize().isEmpty()) {
9 QRectF sceneRect(scene()->itemsBoundingRect());
10 fitInView(sceneRect, Qt::KeepAspectRatio);
11 }
12 }
13}
14
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16