Isis 3 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 
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:
71  Q_DISABLE_COPY(ViewportMdiSubWindow);
72 
73  private:
75  QPointer<MdiCubeViewport> m_viewport;
76  };
77 };
78 
79 #endif
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:53
ViewportMdiSubWindow(Cube *cubeToView, QWidget *parent=NULL)
Constrctor for the ViewportMdiSubWindow.
Definition: ViewportMdiSubWindow.cpp:13
Widget to display Isis cubes for qt apps.
Definition: CubeViewport.h:132
~ViewportMdiSubWindow()
Deconstructor for ViewportMdiSubWindow.
Definition: ViewportMdiSubWindow.cpp:40
This is an actual viewport window in qview/qnet/etc.
Definition: ViewportMdiSubWindow.h:25
void closeViewport(CubeViewport *vp)
This method closes the viewport.
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
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
IO Handler for Isis Cubes.
Definition: Cube.h:170