![]() |
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. More... | |
Public Member Functions | |
ViewportMdiSubWindow (Cube *cubeToView, QWidget *parent=NULL) | |
Constrctor for the ViewportMdiSubWindow. More... | |
~ViewportMdiSubWindow () | |
Deconstructor for ViewportMdiSubWindow. More... | |
MdiCubeViewport * | viewport () |
Grabs the viewport. More... | |
Protected Member Functions | |
virtual void | closeEvent (QCloseEvent *e) |
This method is called as the closeEvent. More... | |
Private Member Functions | |
Q_DISABLE_COPY (ViewportMdiSubWindow) | |
Disables copy. More... | |
Private Attributes | |
QPointer< MdiCubeViewport > | m_viewport |
Pointer to the MdiCubeViewports. More... | |
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.
Referenced by Isis::Workspace::addCubeViewport(), and Isis::CubeDnView::workspaceActiveCube().
|
private |
Pointer to the MdiCubeViewports.
Definition at line 75 of file ViewportMdiSubWindow.h.
Referenced by closeEvent(), viewport(), ViewportMdiSubWindow(), and ~ViewportMdiSubWindow().
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 07/13/2023 14:54:52 |