Isis 3.0 Developer's Reference (API) |
Home |
#include <MosaicController.h>
Inherits QObject.
Classes | |
class | FilenameToDisplayFunctor |
class | ProjectToDisplayFunctor |
Public Slots | |
void | saveProject (QString filename) |
void | readProject (QString filename) |
void | openCubes (QStringList filenames) |
Handle opening cubes by filename. | |
void | openProjectCubes (QList< PvlObject > projectCubes) |
void | cubeDisplayReady (int) |
Signals | |
void | cubesAdded (QList< CubeDisplayProperties * >) |
Emitted when new cubes are available. | |
void | allCubesClosed () |
Public Member Functions | |
MosaicController (QStatusBar *status, QSettings &settings) | |
MosaicWidget constructor. | |
virtual | ~MosaicController () |
Free the allocated memory by this object. | |
MosaicSceneWidget * | getMosaicScene () |
MosaicSceneWidget * | getMosaicWorldScene () |
MosaicFileListWidget * | getMosaicFileList () |
void | addExportActions (QMenu &fileMenu) |
Add actions that are export-related to the menu. | |
QProgressBar * | getProgress () |
void | saveProject () |
QList< QAction * > | getSettingsActions () |
void | saveSettings (QSettings &settings) |
Isis::MosaicController::MosaicController | ( | QStatusBar * | status, | |
QSettings & | settings | |||
) |
MosaicWidget constructor.
MosaicWidget is derived from QSplitter, the left side of the splitter is a QTreeWidget and the right side of the splitter is a QGraphicsView.
parent |
References cubesAdded().
Isis::MosaicController::~MosaicController | ( | ) | [virtual] |
Free the allocated memory by this object.
void Isis::MosaicController::addExportActions | ( | QMenu & | fileMenu | ) |
Add actions that are export-related to the menu.
References Isis::MosaicFileListWidget::getExportActions(), and Isis::MosaicSceneWidget::getExportActions().
void Isis::MosaicController::allCubesClosed | ( | ) | [signal] |
void Isis::MosaicController::cubeDisplayReady | ( | int | index | ) | [slot] |
Referenced by openCubes(), and openProjectCubes().
void Isis::MosaicController::cubesAdded | ( | QList< CubeDisplayProperties * > | _t1 | ) | [signal] |
Emitted when new cubes are available.
Referenced by MosaicController().
MosaicFileListWidget* Isis::MosaicController::getMosaicFileList | ( | ) | [inline] |
MosaicSceneWidget* Isis::MosaicController::getMosaicScene | ( | ) | [inline] |
MosaicSceneWidget* Isis::MosaicController::getMosaicWorldScene | ( | ) | [inline] |
QProgressBar * Isis::MosaicController::getProgress | ( | ) |
void Isis::MosaicController::openCubes | ( | QStringList | cubeNames | ) | [slot] |
Handle opening cubes by filename.
This class constructs and owns the actual Cube objects.
References cubeDisplayReady(), and Isis::ProgressBar::setText().
References cubeDisplayReady(), and Isis::ProgressBar::setText().
Referenced by readProject().
void Isis::MosaicController::readProject | ( | QString | filename | ) | [slot] |
void Isis::MosaicController::saveProject | ( | QString | filename | ) | [slot] |
void Isis::MosaicController::saveProject | ( | ) |
Referenced by Isis::MosaicMainWindow::saveProject(), and Isis::MosaicMainWindow::saveProjectAs().
void Isis::MosaicController::saveSettings | ( | QSettings & | settings | ) |
Referenced by Isis::MosaicMainWindow::closeMosaic().