Isis 3 Programmer Reference
|
#include <MosaicController.h>
Public Slots | |
void | saveProject (QString filename) |
void | readProject (QString filename) |
void | openImages (QStringList filenames) |
Handle opening cubes by filename. More... | |
void | openProjectImages (PvlObject projectImages) |
Signals | |
void | imagesAdded (ImageList images) |
Emitted when new images are available. More... | |
void | imagesAdded (ImageList *images) |
void | allImagesClosed () |
Public Member Functions | |
MosaicController (QStatusBar *status, QSettings &settings) | |
MosaicWidget constructor. More... | |
virtual | ~MosaicController () |
Free the allocated memory by this object. More... | |
MosaicSceneWidget * | getMosaicScene () |
MosaicSceneWidget * | getMosaicWorldScene () |
ImageFileListWidget * | getImageFileList () |
void | addExportActions (QMenu &fileMenu) |
Add actions that are export-related to the menu. More... | |
QProgressBar * | getProgress () |
void | saveProject () |
QList< QAction * > | getSettingsActions () |
void | saveSettings (QSettings &settings) |
Private Slots | |
void | changeMaxThreads () |
void | imageClosed (QObject *image) |
An open image is being deleted. More... | |
void | imagesReady (ImageList) |
void | saveList () |
Private Member Functions | |
void | applyMaxThreadCount () |
void | convertV1ToV2 (Pvl &project) |
This converts qmos project files (no other project files existed) from their original version (file names everywhere, CubeDisplayProperties, non-OR'able display properties) to the second major version. More... | |
Private Attributes | |
ImageList | m_images |
QPointer< ImageFileListWidget > | m_fileList |
QPointer< MosaicSceneWidget > | m_scene |
QPointer< MosaicSceneWidget > | m_worldScene |
QPointer< ImageReader > | m_imageReader |
int | m_maxThreads |
QMutex * | m_mutex |
Definition at line 67 of file MosaicController.h.
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 |
Definition at line 44 of file MosaicController.cpp.
References imagesAdded().
|
virtual |
Free the allocated memory by this object.
Definition at line 80 of file MosaicController.cpp.
void Isis::MosaicController::addExportActions | ( | QMenu & | fileMenu | ) |
Add actions that are export-related to the menu.
Definition at line 91 of file MosaicController.cpp.
|
private |
This converts qmos project files (no other project files existed) from their original version (file names everywhere, CubeDisplayProperties, non-OR'able display properties) to the second major version.
Cubes are now Images, Display properties' indices have changed, Image ID's instead of file names in many places.
This is only intended to get the project to the major V2 version... minor version adjustments ought to be handled internally by each object.
Definition at line 297 of file MosaicController.cpp.
References Isis::PvlContainer::deleteKeyword(), Isis::PvlObject::findObject(), Isis::PvlObject::hasObject(), Isis::PvlKeyword::isNamed(), Isis::PvlContainer::keywords(), Isis::PvlObject::object(), Isis::PvlObject::objects(), Isis::PvlContainer::setName(), and Isis::PvlKeyword::setName().
|
privateslot |
An open image is being deleted.
Definition at line 221 of file MosaicController.cpp.
References Isis::ImageList::erase().
|
signal |
Emitted when new images are available.
Referenced by MosaicController().
|
slot |
Handle opening cubes by filename.
This class constructs and owns the actual Cube objects.
Definition at line 157 of file MosaicController.cpp.