Isis 3 Programmer Reference
ViewportMdiSubWindow.h
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:
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.
Cube display widget for certain Isis MDI applications.
This is an actual viewport window in qview/qnet/etc.
MdiCubeViewport * viewport()
Grabs the viewport.
virtual void closeEvent(QCloseEvent *e)
This method is called as the closeEvent.
Q_DISABLE_COPY(ViewportMdiSubWindow)
Disables copy.
~ViewportMdiSubWindow()
Deconstructor for ViewportMdiSubWindow.
QPointer< MdiCubeViewport > m_viewport
Pointer to the MdiCubeViewports.
ViewportMdiSubWindow(Cube *cubeToView, QWidget *parent=NULL)
Constrctor for the ViewportMdiSubWindow.
void closeViewport(CubeViewport *vp)
This method closes the viewport.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16