Isis Developer Reference
ViewportMdiSubWindow.h
Go to the documentation of this file.
1#ifndef ViewportMdiSubWindow_h
2#define ViewportMdiSubWindow_h
3
4#include <QMdiSubWindow>
5
6#include <QPointer>
7
8namespace Isis {
9 class Cube;
10 class CubeViewport;
11 class MdiCubeViewport;
12
26 Q_OBJECT
27
28 public:
29
36 ViewportMdiSubWindow(Cube *cubeToView, QWidget *parent = NULL);
37
40
48
49 signals:
56
57 protected:
64 virtual void closeEvent(QCloseEvent *e);
65
66 private:
71 Q_DISABLE_COPY(ViewportMdiSubWindow);
72
73 private:
75 QPointer<MdiCubeViewport> m_viewport;
76 };
77};
78
79#endif
IO Handler for Isis Cubes.
Definition Cube.h:168
Widget to display Isis cubes for qt apps.
Definition CubeViewport.h:122
Cube display widget for certain Isis MDI applications.
Definition MdiCubeViewport.h:39
This is an actual viewport window in qview/qnet/etc.
Definition ViewportMdiSubWindow.h:25
MdiCubeViewport * viewport()
Grabs the viewport.
Definition ViewportMdiSubWindow.cpp:45
virtual void closeEvent(QCloseEvent *e)
This method is called as the closeEvent.
Definition ViewportMdiSubWindow.cpp:50
~ViewportMdiSubWindow()
Deconstructor for ViewportMdiSubWindow.
Definition ViewportMdiSubWindow.cpp:40
ViewportMdiSubWindow(Cube *cubeToView, QWidget *parent=NULL)
Constrctor for the ViewportMdiSubWindow.
Definition ViewportMdiSubWindow.cpp:13
void closeViewport(CubeViewport *vp)
This method closes the viewport.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16