#include <Workspace.h>
Inherits QWidget.
Public Slots | |
void | addCubeViewport (QString cube) |
Add a cubeViewport to the workspace, open the cube. More... | |
MdiCubeViewport * | addCubeViewport (Cube *cube) |
Add a cubeViewport to the workspace. More... | |
void | addBrowseView (QString cube) |
Signals | |
void | cubeViewportAdded (MdiCubeViewport *) |
void | cubeViewportActivated (MdiCubeViewport *) |
Public Member Functions | |
Workspace (bool selfContained, QWidget *parent=0) | |
Workspace constructor. More... | |
Workspace (const Workspace &other) | |
virtual | ~Workspace () |
QVector< MdiCubeViewport * > * | cubeViewportList () |
Repopulates the list of MdiCubeViewports and returns a pointer to this list. More... | |
Workspace & | operator= (Workspace other) |
void | addImages (ImageList *images) |
bool | confirmClose () |
QWidget * | cubeToMdiWidget (Cube *cube) |
QMdiArea * | mdiArea () |
Protected Slots | |
void | activateViewport (QMdiSubWindow *w) |
This gets called when a window is activated or the workspace loses focus. More... | |
Isis::Workspace::Workspace | ( | bool | selfContained, |
QWidget * | parent = 0 |
||
) |
Workspace constructor.
parent |
References Isis::Tool::activate(), activateViewport(), Isis::Tool::addTo(), Isis::Tool::addToActive(), Isis::Tool::addToPermanent(), Isis::ToolList::append(), Isis::ToolList::count(), and Isis::Tool::menuName().
Isis::Workspace::Workspace | ( | const Workspace & | other | ) |
|
virtual |
|
protectedslot |
This gets called when a window is activated or the workspace loses focus.
w |
References cubeViewportActivated().
Referenced by Workspace().
|
slot |
References addCubeViewport().
|
slot |
Add a cubeViewport to the workspace, open the cube.
cubename[in] | (QString) cube name |
References Isis::CubeAttributeInput::bands(), Isis::Cube::open(), Isis::Cube::setVirtualBands(), Isis::IString::ToInteger(), Isis::IException::toString(), and Isis::MdiCubeViewport::viewRGB().
Referenced by addBrowseView(), and addImages().
|
slot |
Add a cubeViewport to the workspace.
cube[in] | (Cube *) cube information |
References _FILEINFO_, cubeViewportAdded(), Isis::Cube::fileName(), Isis::IException::Programmer, and Isis::ViewportMdiSubWindow::viewport().
void Isis::Workspace::addImages | ( | ImageList * | images | ) |
References addCubeViewport(), and Isis::Image::cube().
bool Isis::Workspace::confirmClose | ( | ) |
References cubeViewportList().
Referenced by Isis::ViewportMainWindow::closeEvent().
References Isis::CubeViewport::cube().
|
signal |
Referenced by activateViewport().
|
signal |
Referenced by addCubeViewport().
QVector< MdiCubeViewport * > * Isis::Workspace::cubeViewportList | ( | ) |
Repopulates the list of MdiCubeViewports and returns a pointer to this list.
Ownership is not given to the caller.
Referenced by confirmClose(), Isis::Tool::cubeViewportList(), Isis::QnetFileTool::loadImage(), Isis::CubeDnView::save(), Isis::ScatterPlotConfigDialog::xAxisCubeViewport(), and Isis::ScatterPlotConfigDialog::yAxisCubeViewport().
QMdiArea * Isis::Workspace::mdiArea | ( | ) |
Referenced by Isis::WindowTool::addTo(), Isis::FileTool::addTo(), and Isis::QnetFileTool::loadImage().
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 ISIS Support Center File Modified: 07/12/2023 23:47:51 |