Isis Developer Reference
Isis::Directory Class Reference

#include <Directory.h>

Inheritance diagram for Isis::Directory:
Inheritance graph
Collaboration diagram for Isis::Directory:
Collaboration graph

Public Slots

void cleanupBundleObservationViews (QObject *)
 Removes pointers to deleted BundleObservationView objects. More...
 
void cleanupCnetEditorViewWidgets (QObject *)
 Removes pointers to deleted CnetEditorWidget objects. More...
 
void cleanupCubeDnViewWidgets (QObject *)
 Removes pointers to deleted CubeDnView objects. More...
 
void cleanupFileListWidgets (QObject *)
 Removes pointers to deleted ImageFileListWidget objects. More...
 
void cleanupFootprint2DViewWidgets (QObject *)
 Removes pointers to deleted Footprint2DView objects. More...
 
void cleanupControlPointEditViewWidget (QObject *)
 Delete the ControlPointEditWidget and set it's pointer to NULL. More...
 
void cleanupMatrixViewWidgets (QObject *)
 Removes pointers to deleted MatrixSceneWidget objects. More...
 
void cleanupSensorInfoWidgets (QObject *)
 Removes pointers to deleted SensorInfoWidget objects. More...
 
void cleanupTargetInfoWidgets (QObject *)
 Removes pointers to deleted TargetInfoWidget objects. More...
 
void cleanupTemplateEditorWidgets (QObject *)
 Removes pointers to deleted TemplateEditorWidget objects. More...
 
void cleanupJigsawRunWidget (QObject *)
 
void updateControlNetEditConnections ()
 Updates the SIGNAL/SLOT connections for the cotrol net editor. More...
 
void modifyControlPoint (ControlPoint *controlPoint, QString serialNumber="")
 Slot that is connected from a left mouse button operation on views. More...
 
void deleteControlPoint (ControlPoint *controlPoint)
 Slot that is connected from a middle mouse button operation on views. More...
 
void createControlPoint (double latitude, double longitude, Cube *cube=0, bool isGroundSource=false)
 Slot that is connected from a right mouse button operation on views. More...
 
void updateRecentProjects (Project *project)
 Adds a new Project object to the list of recent projects if it has not already been added. More...
 
void updateRecentProjects ()
 Loads and displays a list of recently opened projects in the file menu. More...
 

Signals

void directoryCleaned ()
 
void newWarning ()
 
void newDockAvailable (QMainWindow *newWidget)
 
void newWidgetAvailable (QWidget *newWidget)
 
void closeView (QWidget *widget)
 
void cnetModified ()
 
void activeControlModified ()
 
void redrawMeasures ()
 
void cleanProject (bool)
 

Public Member Functions

 Directory (QObject *parent=0)
 The Constructor. More...
 
 ~Directory ()
 The Destructor. More...
 
void clean ()
 Cleans directory of everything to do with the current project. More...
 
void setHistoryContainer (QDockWidget *historyContainer)
 Set up the history info in the history dockable widget. More...
 
void setWarningContainer (QDockWidget *warningContainer)
 Set up the warning info in the warning dockable widget. More...
 
void setRecentProjectsList (QStringList recentProjects)
 Add recent projects to the recent projects list. More...
 
QStringList recentProjectsList ()
 Public accessor for the list of recent projects. More...
 
BundleObservationViewaddBundleObservationView (FileItemQsp fileItem)
 Add the BundleObservationView to the window. More...
 
ControlHealthMonitorViewaddControlHealthMonitorView ()
 
CnetEditorViewaddCnetEditorView (Control *control, QString objectName="")
 Add the widget for the cnet editor view to the window. More...
 
CubeDnViewaddCubeDnView (QString objectName="")
 Add the qview workspace to the window. More...
 
Footprint2DViewaddFootprint2DView (QString objectName="")
 Add the qmos view widget to the window. More...
 
JigsawRunWidgetaddJigsawRunWidget ()
 
MatrixSceneWidgetaddMatrixView ()
 Add the matrix view widget to the window. More...
 
TargetInfoWidgetaddTargetInfoView (TargetBodyQsp target)
 Add target body data view widget to the window. More...
 
TemplateEditorWidgetaddTemplateEditorView (Template *currentTemplate)
 Add template editor view widget to the window. More...
 
SensorInfoWidgetaddSensorInfoView (GuiCameraQsp camera)
 Add sensor data view widget to the window. More...
 
ImageFileListWidgetaddImageFileListView (QString objectName="")
 Add an imageFileList widget to the window. More...
 
ControlPointEditViewaddControlPointEditView ()
 
ProjectItemTreeViewaddProjectItemTreeView ()
 Adds a ProjectItemTreeView to the window. More...
 
ProjectItemModelmodel ()
 Gets the ProjectItemModel for this directory. More...
 
Projectproject () const
 Gets the Project for this directory. More...
 
QList< QAction * > fileMenuActions ()
 Get the list of actions that the Directory can provide for the file menu. More...
 
QList< QAction * > projectMenuActions ()
 Get the list of actions that the Directory can provide for the project menu. More...
 
QList< QAction * > editMenuActions ()
 Get the list of actions that the Directory can provide for the edit menu. More...
 
QList< QAction * > viewMenuActions ()
 Get the list of actions that the Directory can provide for the view menu. More...
 
QList< QAction * > settingsMenuActions ()
 Get the list of actions that the Directory can provide for the settings menu. More...
 
QList< QAction * > helpMenuActions ()
 Get the list of actions that the Directory can provide for the help menu. More...
 
QList< QAction * > permToolBarActions ()
 Get the list of actions that the Directory can provide for the permanent Tool Bar. More...
 
QList< QAction * > activeToolBarActions ()
 Get the list of actions that the Directory can provide for the active Tool Bar. More...
 
QList< QAction * > toolPadActions ()
 Get the list of actions that the Directory can provide for the Tool Pad. More...
 
QList< BundleObservationView * > bundleObservationViews ()
 
QList< CnetEditorView * > cnetEditorViews ()
 Returns a list of all the control network views for this directory. More...
 
QList< CubeDnView * > cubeDnViews ()
 Accessor for the list of CubeDnViews currently available. More...
 
QList< Footprint2DView * > footprint2DViews ()
 Accessor for the list of Footprint2DViews currently available. More...
 
QList< MatrixSceneWidget * > matrixViews ()
 Accessor for the list of MatrixSceneWidgets currently available. More...
 
QList< SensorInfoWidget * > sensorInfoViews ()
 Accessor for the list of SensorInfoWidgets currently available. More...
 
QList< TargetInfoWidget * > targetInfoViews ()
 Accessor for the list of TargetInfoWidgets currently available. More...
 
QList< TemplateEditorWidget * > templateEditorViews ()
 Accessor for the list of TemplateEditorWidgets currently available. More...
 
QList< ImageFileListWidget * > imageFileListViews ()
 Accessor for the list of ImageFileListWidgets currently available. More...
 
QList< QProgressBar * > progressBars ()
 Gets the ControlNetEditor associated with this the Directory. More...
 
ControlHealthMonitorViewcontrolHealthMonitorView ()
 
ControlPointEditViewcontrolPointEditView ()
 Gets the ControlPointEditWidget associated with the Directory. More...
 
JigsawRunWidgetjigsawRunWidget ()
 
bool controlUsedInCnetEditorWidget (Control *control)
 @description Return true if control is not currently being viewed in a CnetEditorWidget More...
 
QString editPointId ()
 Return the current control point id loaded in the ControlPointEditWidget. More...
 
template<typename DataType >
QList< QAction * > supportedActions (DataType data)
 Returns a list of supported actions for a WorkOrder. More...
 
void showWarning (QString text)
 Displays a Warning. More...
 
template<typename Data >
void showWarning (QString text, Data data)
 Shows warning text for a Widget. More...
 
QWidgetwarningWidget ()
 Returns a pointer to the warning widget. More...
 
QActionredoAction ()
 Creates an Action to redo the last action. More...
 
QActionundoAction ()
 Creates an Action to undo the last action. More...
 
void load (XmlStackedHandlerReader *xmlReader)
 Loads the Directory from an XML file. More...
 
void save (QXmlStreamWriter &stream, FileName newProjectRoot) const
 Save the directory to an XML file. More...
 

Detailed Description

Author
2012-??-?? ???

Constructor & Destructor Documentation

◆ Directory()

Isis::Directory::Directory ( QObject parent = 0)
explicit

The Constructor.

Exceptions
IException::ProgrammerTo handle the event that a Project cannot be created.
IException::ProgrammerTo handle the event that a Directory cannot be created because the WorkOrders we are attempting to add to the Directory are corrupt.

References _FILEINFO_, activeControlModified(), cleanProject(), cnetModified(), Isis::IException::Programmer, project(), and updateRecentProjects().

◆ ~Directory()

Isis::Directory::~Directory ( )

The Destructor.

Member Function Documentation

◆ activeControlModified

void Isis::Directory::activeControlModified ( )
signal

◆ activeToolBarActions()

QList< QAction * > Isis::Directory::activeToolBarActions ( )

Get the list of actions that the Directory can provide for the active Tool Bar.

Returns
QList<QAction *> Returns a list of active Tool Bar actions.

◆ addBundleObservationView()

BundleObservationView * Isis::Directory::addBundleObservationView ( FileItemQsp  fileItem)

◆ addCnetEditorView()

◆ addControlHealthMonitorView()

◆ addControlPointEditView()

◆ addCubeDnView()

CubeDnView * Isis::Directory::addCubeDnView ( QString  objectName = "")

◆ addFootprint2DView()

Footprint2DView * Isis::Directory::addFootprint2DView ( QString  objectName = "")

◆ addImageFileListView()

ImageFileListWidget * Isis::Directory::addImageFileListView ( QString  objectName = "")

Add an imageFileList widget to the window.

Returns
(ImageFileListWidget *) A pointer to the widget to add to the window.

References cleanupFileListWidgets().

Referenced by Isis::ImageFileListViewWorkOrder::execute().

◆ addJigsawRunWidget()

JigsawRunWidget * Isis::Directory::addJigsawRunWidget ( )

◆ addMatrixView()

MatrixSceneWidget * Isis::Directory::addMatrixView ( )

Add the matrix view widget to the window.

Returns
(MatrixSceneWidget*) The widget to view.

References cleanupMatrixViewWidgets(), and newWidgetAvailable().

Referenced by Isis::MatrixViewWorkOrder::execute().

◆ addProjectItemTreeView()

ProjectItemTreeView * Isis::Directory::addProjectItemTreeView ( )

Adds a ProjectItemTreeView to the window.

Returns
(ProjectItemTreeView *) The added view.

References Isis::AbstractProjectItemView::setModel().

◆ addSensorInfoView()

SensorInfoWidget * Isis::Directory::addSensorInfoView ( GuiCameraQsp  camera)

Add sensor data view widget to the window.

Returns
(SensorInfoWidget*) The widget to view.

References cleanupSensorInfoWidgets(), and newWidgetAvailable().

Referenced by Isis::SensorGetInfoWorkOrder::execute().

◆ addTargetInfoView()

TargetInfoWidget * Isis::Directory::addTargetInfoView ( TargetBodyQsp  target)

Add target body data view widget to the window.

Returns
(TargetInfoWidget*) The widget to view.

References cleanupTargetInfoWidgets(), and newWidgetAvailable().

Referenced by Isis::TargetGetInfoWorkOrder::execute().

◆ addTemplateEditorView()

TemplateEditorWidget * Isis::Directory::addTemplateEditorView ( Template currentTemplate)

Add template editor view widget to the window.

Returns
(TemplateEditorWidget*) The widget to view.

References cleanupTemplateEditorWidgets(), Isis::Template::fileName(), Isis::FileName::name(), and newWidgetAvailable().

Referenced by Isis::TemplateEditViewWorkOrder::execute().

◆ bundleObservationViews()

QList<BundleObservationView *> Isis::Directory::bundleObservationViews ( )

◆ clean()

void Isis::Directory::clean ( )

Cleans directory of everything to do with the current project.

This function was implemented to be called from the Project::clear function to allow for a new project to be opened in IPCE.

References directoryCleaned().

Referenced by Isis::Project::clear().

◆ cleanProject

void Isis::Directory::cleanProject ( bool  )
signal

Referenced by Directory().

◆ cleanupBundleObservationViews

void Isis::Directory::cleanupBundleObservationViews ( QObject obj)
slot

Removes pointers to deleted BundleObservationView objects.

Referenced by addBundleObservationView().

◆ cleanupCnetEditorViewWidgets

void Isis::Directory::cleanupCnetEditorViewWidgets ( QObject obj)
slot

Removes pointers to deleted CnetEditorWidget objects.

References Isis::Project::activeControl(), Isis::Control::closeControlNet(), and project().

Referenced by addCnetEditorView().

◆ cleanupControlPointEditViewWidget

void Isis::Directory::cleanupControlPointEditViewWidget ( QObject obj)
slot

Delete the ControlPointEditWidget and set it's pointer to NULL.

References controlPointEditView().

Referenced by addControlPointEditView().

◆ cleanupCubeDnViewWidgets

void Isis::Directory::cleanupCubeDnViewWidgets ( QObject obj)
slot

Removes pointers to deleted CubeDnView objects.

Referenced by addCubeDnView().

◆ cleanupFileListWidgets

void Isis::Directory::cleanupFileListWidgets ( QObject obj)
slot

Removes pointers to deleted ImageFileListWidget objects.

Referenced by addImageFileListView().

◆ cleanupFootprint2DViewWidgets

void Isis::Directory::cleanupFootprint2DViewWidgets ( QObject obj)
slot

Removes pointers to deleted Footprint2DView objects.

Referenced by addFootprint2DView().

◆ cleanupJigsawRunWidget

void Isis::Directory::cleanupJigsawRunWidget ( QObject obj)
slot

References jigsawRunWidget().

Referenced by addJigsawRunWidget().

◆ cleanupMatrixViewWidgets

void Isis::Directory::cleanupMatrixViewWidgets ( QObject obj)
slot

Removes pointers to deleted MatrixSceneWidget objects.

Referenced by addMatrixView().

◆ cleanupSensorInfoWidgets

void Isis::Directory::cleanupSensorInfoWidgets ( QObject obj)
slot

Removes pointers to deleted SensorInfoWidget objects.

Referenced by addSensorInfoView().

◆ cleanupTargetInfoWidgets

void Isis::Directory::cleanupTargetInfoWidgets ( QObject obj)
slot

Removes pointers to deleted TargetInfoWidget objects.

Referenced by addTargetInfoView().

◆ cleanupTemplateEditorWidgets

void Isis::Directory::cleanupTemplateEditorWidgets ( QObject obj)
slot

Removes pointers to deleted TemplateEditorWidget objects.

Referenced by addTemplateEditorView().

◆ closeView

void Isis::Directory::closeView ( QWidget widget)
signal

◆ cnetEditorViews()

QList< CnetEditorView * > Isis::Directory::cnetEditorViews ( )

Returns a list of all the control network views for this directory.

Returns
QList<CnetEditorView *> A pointer list of all the CnetEditorWidget objects.

Referenced by Isis::CnetEditorViewWorkOrder::undoExecution().

◆ cnetModified

void Isis::Directory::cnetModified ( )
signal

◆ controlHealthMonitorView()

ControlHealthMonitorView * Isis::Directory::controlHealthMonitorView ( )

◆ controlPointEditView()

ControlPointEditView * Isis::Directory::controlPointEditView ( )

◆ controlUsedInCnetEditorWidget()

bool Isis::Directory::controlUsedInCnetEditorWidget ( Control control)

@description Return true if control is not currently being viewed in a CnetEditorWidget

Parameters
Control* Control used to search current CnetEditorWidgets
Returns
(bool) Returns true if control is currently being viewed in CnetEditorWidget

◆ createControlPoint

void Isis::Directory::createControlPoint ( double  latitude,
double  longitude,
Cube cube = 0,
bool  isGroundSource = false 
)
slot

Slot that is connected from a right mouse button operation on views.

Parameters
latitude(double) Latitude location where the control point was created
longitude(double) Longitude location where the control point was created
cube(Cube *) The Cube in the CubeDnView that was used to select location for new control point. This parameter will be empty if control point was selected from Footprint2DView.
isGroundSource(bool) Indicates whether the Cube in the CubeDnView that was used to select location for new control point is a ground source. This parameter will be empty if control point was selected from Footprint2DView.

References addControlPointEditView(), controlPointEditView(), Isis::ControlPointEditView::controlPointEditWidget(), Isis::ControlPointEditWidget::createControlPoint(), and Isis::ControlPointEditWidget::editPointId().

Referenced by addCubeDnView(), and addFootprint2DView().

◆ cubeDnViews()

QList< CubeDnView * > Isis::Directory::cubeDnViews ( )

Accessor for the list of CubeDnViews currently available.

Returns
QList<CubeDnView *> The list CubeDnView objects.

Referenced by Isis::CubeDnViewWorkOrder::execute(), and Isis::CubeDnViewWorkOrder::setupExecution().

◆ deleteControlPoint

void Isis::Directory::deleteControlPoint ( ControlPoint controlPoint)
slot

Slot that is connected from a middle mouse button operation on views.

Parameters
controlPoint(ControlPoint *) The control point selected from view for editing

References addControlPointEditView(), controlPointEditView(), Isis::ControlPointEditView::controlPointEditWidget(), Isis::ControlPointEditWidget::deletePoint(), Isis::ControlPoint::GetId(), and redrawMeasures().

Referenced by addCubeDnView(), addFootprint2DView(), and updateControlNetEditConnections().

◆ directoryCleaned

void Isis::Directory::directoryCleaned ( )
signal

Referenced by clean().

◆ editMenuActions()

QList< QAction * > Isis::Directory::editMenuActions ( )

Get the list of actions that the Directory can provide for the edit menu.

Returns
QList<QAction *> Returns a list of edit menu actions.

◆ editPointId()

QString Isis::Directory::editPointId ( )

Return the current control point id loaded in the ControlPointEditWidget.

Returns
QString Id of the control point loaded in the ControlPointEditWidget

Referenced by Isis::ControlPointGraphicsItem::paint().

◆ fileMenuActions()

QList< QAction * > Isis::Directory::fileMenuActions ( )

Get the list of actions that the Directory can provide for the file menu.

Returns
QList<QAction *> Returns a list of file menu actions.

◆ footprint2DViews()

QList< Footprint2DView * > Isis::Directory::footprint2DViews ( )

Accessor for the list of Footprint2DViews currently available.

Returns
QList<Footprint2DView *> The list of MosaicSceneWidget objects.

Referenced by Isis::Footprint2DViewWorkOrder::execute(), and Isis::Footprint2DViewWorkOrder::setupExecution().

◆ helpMenuActions()

QList< QAction * > Isis::Directory::helpMenuActions ( )

Get the list of actions that the Directory can provide for the help menu.

Returns
QList<QAction *> Returns a list of help menu actions.

◆ imageFileListViews()

QList< ImageFileListWidget * > Isis::Directory::imageFileListViews ( )

Accessor for the list of ImageFileListWidgets currently available.

Returns
QList<ImageFileListWidget *> The list of ImageFileListWidgets.

Referenced by Isis::ImageFileListViewWorkOrder::execute(), and Isis::ImageFileListViewWorkOrder::setupExecution().

◆ jigsawRunWidget()

JigsawRunWidget * Isis::Directory::jigsawRunWidget ( )

◆ load()

void Isis::Directory::load ( XmlStackedHandlerReader xmlReader)

Loads the Directory from an XML file.

Parameters
xmlReaderThe reader that takes in and parses the XML file.

References Isis::XmlStackedHandlerReader::pushContentHandler().

◆ matrixViews()

QList< MatrixSceneWidget * > Isis::Directory::matrixViews ( )

Accessor for the list of MatrixSceneWidgets currently available.

Returns
QList<MatrixSceneWidget *> The list of MatrixSceneWidget objects.

Referenced by Isis::MatrixViewWorkOrder::setupExecution(), and Isis::MatrixViewWorkOrder::undoExecution().

◆ model()

◆ modifyControlPoint

void Isis::Directory::modifyControlPoint ( ControlPoint controlPoint,
QString  serialNumber = "" 
)
slot

Slot that is connected from a left mouse button operation on views.

Parameters
controlPoint(ControlPoint *) The control point selected from view for editing
serialNumber(QString) The serial number of Cube that was used to select control point from the CubeDnView. This parameter will be empty if control point was selected from Footprint2DView.

References addControlPointEditView(), controlPointEditView(), Isis::ControlPointEditView::controlPointEditWidget(), Isis::ControlPoint::GetId(), redrawMeasures(), and Isis::ControlPointEditWidget::setEditPoint().

Referenced by addCnetEditorView(), addCubeDnView(), and addFootprint2DView().

◆ newDockAvailable

void Isis::Directory::newDockAvailable ( QMainWindow newWidget)
signal

◆ newWarning

void Isis::Directory::newWarning ( )
signal

Referenced by showWarning().

◆ newWidgetAvailable

◆ permToolBarActions()

QList< QAction * > Isis::Directory::permToolBarActions ( )

Get the list of actions that the Directory can provide for the permanent Tool Bar.

Returns
QList<QAction *> Returns a list of permanent tool bar menu actions.

◆ progressBars()

QList< QProgressBar * > Isis::Directory::progressBars ( )

Gets the ControlNetEditor associated with this the Directory.

Returns
(ControlNetEditor *) Returns a pointer to the ControlNetEditor.

Returns a list of progress bars associated with this Directory.

Returns
QList<QProgressBar *>

◆ project()

◆ projectMenuActions()

QList< QAction * > Isis::Directory::projectMenuActions ( )

Get the list of actions that the Directory can provide for the project menu.

Returns
QList<QAction *> Returns a list of project menu actions.

◆ recentProjectsList()

QStringList Isis::Directory::recentProjectsList ( )

Public accessor for the list of recent projects.

Returns
QStringList List of recent projects.

◆ redoAction()

QAction * Isis::Directory::redoAction ( )

Creates an Action to redo the last action.

Returns
(QAction *) Returns an action pointer to redo the last action.

References project(), and Isis::Project::undoStack().

◆ redrawMeasures

void Isis::Directory::redrawMeasures ( )
signal

◆ save()

void Isis::Directory::save ( QXmlStreamWriter &  stream,
FileName  newProjectRoot 
) const

Save the directory to an XML file.

Parameters
streamThe XML stream writer
newProjectRootThe FileName of the project this Directory is attached to.

References project(), Isis::CnetEditorView::save(), Isis::CubeDnView::save(), Isis::Footprint2DView::save(), and Isis::ImageFileListWidget::save().

◆ sensorInfoViews()

QList< SensorInfoWidget * > Isis::Directory::sensorInfoViews ( )

Accessor for the list of SensorInfoWidgets currently available.

Returns
QList<SensorInfoWidget *> The list of SensorInfoWidget objects.

Referenced by Isis::SensorGetInfoWorkOrder::isExecutable().

◆ setHistoryContainer()

void Isis::Directory::setHistoryContainer ( QDockWidget historyContainer)

Set up the history info in the history dockable widget.

Parameters
historyContainerThe widget to fill.

References project().

◆ setRecentProjectsList()

void Isis::Directory::setRecentProjectsList ( QStringList  recentProjects)

Add recent projects to the recent projects list.

Parameters
recentProjectsList of projects to add to list.

◆ settingsMenuActions()

QList< QAction * > Isis::Directory::settingsMenuActions ( )

Get the list of actions that the Directory can provide for the settings menu.

Returns
QList<QAction *> Returns a list of menu actions for the settings.

◆ setWarningContainer()

void Isis::Directory::setWarningContainer ( QDockWidget warningContainer)

Set up the warning info in the warning dockable widget.

Parameters
warningContainerThe widget to fill.

◆ showWarning() [1/2]

void Isis::Directory::showWarning ( QString  text)

Displays a Warning.

Parameters
textThe text to be displayed as a warning.

References newWarning().

Referenced by Isis::Project::open(), and Isis::Project::warn().

◆ showWarning() [2/2]

template<typename Data >
void Isis::Directory::showWarning ( QString  text,
Data  data 
)
inline

Shows warning text for a Widget.

Parameters
textThe warning text.
DataThe Widget object we are passing the warning to.

◆ supportedActions()

template<typename DataType >
QList<QAction *> Isis::Directory::supportedActions ( DataType  data)
inline

Returns a list of supported actions for a WorkOrder.

Parameters
dataThe WorkOrder type we are using.
Returns
QList<QAction *> A list of supported actions.

References Isis::WorkOrder::clone(), Isis::WorkOrder::isExecutable(), and Isis::WorkOrder::setData().

Referenced by Isis::ImageTreeWidget::contextMenuEvent(), Isis::MosaicSceneItem::contextMenuEvent(), and Isis::MosaicSceneWidget::contextMenuEvent().

◆ targetInfoViews()

QList< TargetInfoWidget * > Isis::Directory::targetInfoViews ( )

Accessor for the list of TargetInfoWidgets currently available.

Returns
QList<TargetInfoWidget *> The list of TargetInfoWidget objects.

Referenced by Isis::TargetGetInfoWorkOrder::isExecutable().

◆ templateEditorViews()

QList< TemplateEditorWidget * > Isis::Directory::templateEditorViews ( )

Accessor for the list of TemplateEditorWidgets currently available.

Returns
QList<TemplateEditorWidget *> The list of TemplateEditorWidget objects.

Referenced by Isis::TemplateEditViewWorkOrder::isExecutable().

◆ toolPadActions()

QList< QAction * > Isis::Directory::toolPadActions ( )

Get the list of actions that the Directory can provide for the Tool Pad.

Returns
QList<QAction *> Returns a list of Tool Pad actions.

◆ undoAction()

QAction * Isis::Directory::undoAction ( )

Creates an Action to undo the last action.

Returns
(QAction *) Returns an action pointer to undo the last action.

References project(), and Isis::Project::undoStack().

◆ updateControlNetEditConnections

void Isis::Directory::updateControlNetEditConnections ( )
slot

Updates the SIGNAL/SLOT connections for the cotrol net editor.

References deleteControlPoint().

◆ updateRecentProjects [1/2]

void Isis::Directory::updateRecentProjects ( )
slot

Loads and displays a list of recently opened projects in the file menu.

References Isis::FileName::fileExists(), and Isis::Project::maxRecentProjects().

Referenced by Directory().

◆ updateRecentProjects [2/2]

void Isis::Directory::updateRecentProjects ( Project project)
slot

Adds a new Project object to the list of recent projects if it has not already been added.

Parameters
projectA pointer to the Project to add.

References project(), and Isis::Project::projectRoot().

◆ viewMenuActions()

QList< QAction * > Isis::Directory::viewMenuActions ( )

Get the list of actions that the Directory can provide for the view menu.

Returns
QList<QAction *> Returns a list of view menu actions.

◆ warningWidget()

QWidget * Isis::Directory::warningWidget ( )

Returns a pointer to the warning widget.

Returns
(QWidget *) The WarningTreeWidget pointer.

The documentation for this class was generated from the following files: