Isis 3 Programmer Reference
ViewportMdiSubWindow.h
1 #ifndef ViewportMdiSubWindow_h
2 #define ViewportMdiSubWindow_h
3 
4 #include <QMdiSubWindow>
5 
6 #include <QPointer>
7 
8 namespace 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:
55  void closeViewport(CubeViewport *vp);
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
Cube display widget for certain Isis MDI applications.
ViewportMdiSubWindow(Cube *cubeToView, QWidget *parent=NULL)
Constrctor for the ViewportMdiSubWindow.
Widget to display Isis cubes for qt apps.
Definition: CubeViewport.h:132
~ViewportMdiSubWindow()
Deconstructor for ViewportMdiSubWindow.
This is an actual viewport window in qview/qnet/etc.
void closeViewport(CubeViewport *vp)
This method closes the viewport.
MdiCubeViewport * viewport()
Grabs the viewport.
virtual void closeEvent(QCloseEvent *e)
This method is called as the closeEvent.
QPointer< MdiCubeViewport > m_viewport
Pointer to the MdiCubeViewports.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Q_DISABLE_COPY(ViewportMdiSubWindow)
Disables copy.
IO Handler for Isis Cubes.
Definition: Cube.h:170