![]() |
Isis 3 Programmer Reference
|
This is an actual viewport window in qview/qnet/etc. More...
#include <ViewportMdiSubWindow.h>


Signals | |
| void | closeViewport (CubeViewport *vp) |
| This method closes the viewport. | |
Public Member Functions | |
| ViewportMdiSubWindow (Cube *cubeToView, QWidget *parent=NULL) | |
| Constrctor for the ViewportMdiSubWindow. | |
| ~ViewportMdiSubWindow () | |
| Deconstructor for ViewportMdiSubWindow. | |
| MdiCubeViewport * | viewport () |
| Grabs the viewport. | |
Protected Member Functions | |
| virtual void | closeEvent (QCloseEvent *e) |
| This method is called as the closeEvent. | |
Private Member Functions | |
| Q_DISABLE_COPY (ViewportMdiSubWindow) | |
| Disables copy. | |
Private Attributes | |
| QPointer< MdiCubeViewport > | m_viewport |
| Pointer to the MdiCubeViewports. | |
This is an actual viewport window in qview/qnet/etc.
2012-05-29 Steven Lambright - Original implementation
2012-07-27 Tracie Sucharski - Added closeViewport signal and connect to the CubeViewport's viewportClosed signal. This was done so that tools can respond to the user closing a viewport rather than when the application exits.
Definition at line 25 of file ViewportMdiSubWindow.h.
Constrctor for the ViewportMdiSubWindow.
| cubeToView | The cube to open |
| parent | The parent container |
Definition at line 13 of file ViewportMdiSubWindow.cpp.
References closeViewport(), and m_viewport.
| Isis::ViewportMdiSubWindow::~ViewportMdiSubWindow | ( | ) |
Deconstructor for ViewportMdiSubWindow.
Definition at line 40 of file ViewportMdiSubWindow.cpp.
References m_viewport.
|
protectedvirtual |
This method is called as the closeEvent.
| e | The closeEvent |
Definition at line 50 of file ViewportMdiSubWindow.cpp.
References closeViewport(), and m_viewport.
|
signal |
This method closes the viewport.
| vp | The viewport to close. |
Referenced by closeEvent(), and ViewportMdiSubWindow().
|
private |
Disables copy.
| MdiCubeViewport * Isis::ViewportMdiSubWindow::viewport | ( | ) |
Grabs the viewport.
Definition at line 45 of file ViewportMdiSubWindow.cpp.
References m_viewport.
|
private |
Pointer to the MdiCubeViewports.
Definition at line 75 of file ViewportMdiSubWindow.h.
Referenced by closeEvent(), viewport(), ViewportMdiSubWindow(), and ~ViewportMdiSubWindow().