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:
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
Isis::MdiCubeViewport
Cube display widget for certain Isis MDI applications.
Definition: MdiCubeViewport.h:39
QWidget
Isis::ViewportMdiSubWindow::closeEvent
virtual void closeEvent(QCloseEvent *e)
This method is called as the closeEvent.
Definition: ViewportMdiSubWindow.cpp:50
Isis::ViewportMdiSubWindow::~ViewportMdiSubWindow
~ViewportMdiSubWindow()
Deconstructor for ViewportMdiSubWindow.
Definition: ViewportMdiSubWindow.cpp:40
Isis::ViewportMdiSubWindow::ViewportMdiSubWindow
ViewportMdiSubWindow(Cube *cubeToView, QWidget *parent=NULL)
Constrctor for the ViewportMdiSubWindow.
Definition: ViewportMdiSubWindow.cpp:13
Isis::ViewportMdiSubWindow
This is an actual viewport window in qview/qnet/etc.
Definition: ViewportMdiSubWindow.h:25
Isis::ViewportMdiSubWindow::m_viewport
QPointer< MdiCubeViewport > m_viewport
Pointer to the MdiCubeViewports.
Definition: ViewportMdiSubWindow.h:75
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::CubeViewport
Widget to display Isis cubes for qt apps.
Definition: CubeViewport.h:122
Isis::ViewportMdiSubWindow::closeViewport
void closeViewport(CubeViewport *vp)
This method closes the viewport.
Isis::ViewportMdiSubWindow::viewport
MdiCubeViewport * viewport()
Grabs the viewport.
Definition: ViewportMdiSubWindow.cpp:45
QMdiSubWindow
Isis::ViewportMdiSubWindow::Q_DISABLE_COPY
Q_DISABLE_COPY(ViewportMdiSubWindow)
Disables copy.
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16