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 |
2010-05-10 Christopher Austin - added cnet connectivity functionality and fixed a few design issues
2010-10-26 Tracie Sucharski Added missing includes to cpp after removing includes from ControlNet.h.
2011-08-08 Steven Lambright - Refactored. Now uses scene widget's preloadFromPvl.
2011-08-12 Steven Lambright - Export options now come from the scene and the file list, not directly from this controller. Fixes #342
2011-09-26 Steven Lambright - Calling openCubes many times in a row now works.
2011-12-05 Steven Lambright - Added fixes for maximum number of simultaneously open files. It now stays lower and has an option to become drastically lower.
2011-12-16 Steven Lambright - Applies fixes for maximum number of open files to opening project files and fixed progress to be more accurate. Fixes #635.
2012-09-17 Steven Lambright - Added compatibility with old versions of project files, updated to use changed mosaic scene widget constructor.
2013-03-19 Steven Lambright - Added option for changing default file list columns in the settings menu.
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::PvlObject::findObject(), Isis::PvlObject::object(), Isis::PvlObject::objects(), and Isis::PvlContainer::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.