Isis Developer Reference
Directory.h
Go to the documentation of this file.
1 #ifndef Directory_H
2 #define Directory_H
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include <QMainWindow>
13 #include <QMultiMap>
14 #include <QObject>
15 #include <QPointer>
16 #include <QString>
17 #include <QtDebug>
18 
19 
20 #include "GuiCameraList.h"
21 #include "ImageList.h"
22 #include "MosaicSceneWidget.h"
23 #include "TargetBodyList.h"
24 #include "TemplateList.h"
25 #include "WorkOrder.h"
26 
27 class QAction;
28 class QDockWidget;
29 class QMainWindow;
30 class QMenuBar;
31 class QProgressBar;
32 class QSplitter;
33 class QTabWidget;
34 
35 namespace Isis {
36  class AbstractProjectItemView;
37  class BundleObservation;
38  class BundleObservationView;
39  class ChipViewportsWidget;
40  class CnetEditorView;
41  class CnetEditorWidget;
42  class Control;
43  class ControlNet;
44  class ControlPointEditView;
45  class ControlHealthMonitorView;
46  class CubeDnView;
47  class FileItem;
48  class Footprint2DView;
49  class HistoryTreeWidget;
50  class ImageFileListWidget;
51  class JigsawRunWidget;
52  class MatrixSceneWidget;
53  class MosaicSceneWidget;
54  class Project;
55  class ProjectItem;
56  class ProjectItemModel;
57  class ProjectItemTreeView;
58  class SensorInfoWidget;
59  class TargetBody;
60  class TargetInfoWidget;
61  class TemplateEditorWidget;
62  class WarningTreeWidget;
63  class WorkOrder;
64  class Workspace;
65 
271  class Directory : public QObject {
272  Q_OBJECT
273  public:
274  explicit Directory(QObject *parent = 0);
275  ~Directory();
276 
277  void clean();
278  void setHistoryContainer(QDockWidget *historyContainer);
279  void setWarningContainer(QDockWidget *warningContainer);
280  void setRecentProjectsList(QStringList recentProjects);
282 
283  // When adding a new view if the possibility exists for more than 1 of the view make sure
284  // to use a QUuid for the objectName so that save/restoreState will work for the view. Also,
285  // make sure the objectName is serialized to the project. For more info, see ::addCubeDnView,
286  // ::XmlHandler::startElement and CubeDnView::save.
289  CnetEditorView *addCnetEditorView(Control *control, QString objectName = "");
290  CubeDnView *addCubeDnView(QString objectName = "");
291  Footprint2DView *addFootprint2DView(QString objectName = "");
297  ImageFileListWidget *addImageFileListView(QString objectName = "");
299 
300 
302 
304 
305  Project *project() const;
306 
313 
317 
331 // ChipViewportsWidget *controlPointChipViewports();
332 
333  bool controlUsedInCnetEditorWidget(Control *control);
334 
335  // Return the control point Id currently in the ControlPointEditWidget, if it exists
336  QString editPointId();
337 
338 
344  template <typename DataType>
346  QList<QAction *> results;
347 
348 // QList< QPair< QString, QList<QAction *> > > actionPairings;
349 
350  //foreach (MosaicSceneWidget *footprint2DView, m_footprint2DViewWidgets) {
351 // actionPairings.append(
352  // qMakePair(footprint2DView->windowTitle(), footprint2DView->supportedActions(data)));
353 // }
354 
355 // results.append(restructureActions(actionPairings));
356 
357 // if (!results.isEmpty()) {
358 // results.append(NULL);
359 // }
360 // qDebug()<<"Directory.h::supportedActions #workorders = "<<m_workOrders.size();
361  foreach (WorkOrder *workOrder, m_workOrders) {
362  if (workOrder->isExecutable(data)) {
363  WorkOrder *clone = workOrder->clone();
364  clone->setData(data);
365  results.append(clone);
366  }
367  }
368 
369  return results;
370  }
371 
372  void showWarning(QString text);
373 
374 
380  template <typename Data>
381  void showWarning(QString text, Data data) {
382  //m_warningTreeWidget->showWarning(text, data);
383  }
384 
386 
387  QAction *redoAction();
388  QAction *undoAction();
389 
390  void load(XmlStackedHandlerReader *xmlReader);
391  void save(QXmlStreamWriter &stream, FileName newProjectRoot) const;
392 
393  signals:
395  void newWarning();
396  void newDockAvailable(QMainWindow *newWidget);
397  void newWidgetAvailable(QWidget *newWidget);
398 
399  void closeView(QWidget *widget);
400 
401  void cnetModified();
403 
405 
406  void cleanProject(bool);
407 
408  public slots:
420  //void imagesAddedToProject(ImageList *images);
422 
423  // Slots in response to mouse clicks on CubeDnView (ControlNetTool) and
424  // Footprint2DView (MosaicControlNetTool)
425  void modifyControlPoint(ControlPoint *controlPoint, QString serialNumber = "");
426  void deleteControlPoint(ControlPoint *controlPoint);
427  void createControlPoint(double latitude, double longitude, Cube *cube = 0,
428  bool isGroundSource = false);
429 
430 
432  void updateRecentProjects();
433 
434  private slots:
435  void initiateRenameProjectWorkOrder(QString projectName);
436  void newActiveControl(bool newControl);
437  void reloadActiveControlInCnetEditorView();
438 
439  private:
445  class XmlHandler : public XmlStackedHandler {
446  public:
447  XmlHandler(Directory *directory);
448  ~XmlHandler();
449 
450  virtual bool startElement(const QString &namespaceURI, const QString &localName,
451  const QString &qName, const QXmlAttributes &atts);
452 
453  private:
454  Q_DISABLE_COPY(XmlHandler);
455 
456  Directory *m_directory;
457  };
458 
459  private:
460  Directory(const Directory &other);
461  Directory &operator=(const Directory &rhs);
462 
471  template <typename WorkOrderType>
472  WorkOrderType *createWorkOrder() {
473  WorkOrderType *newWorkOrder = new WorkOrderType(m_project);
474  m_workOrders.append(newWorkOrder);
475  return newWorkOrder;
476  }
477 
478 
479  static QList<QAction *> restructureActions(QList< QPair< QString, QList<QAction *> > >);
480  static bool actionTextLessThan(QAction *lhs, QAction *rhs);
481 
482  void initializeActions();
483 
484  QPointer<ProjectItemModel> m_projectItemModel;
485 
486 
487  QPointer<HistoryTreeWidget> m_historyTreeWidget;
488  QPointer<Project> m_project;
489  QPointer<WarningTreeWidget> m_warningTreeWidget;
490  QPointer<JigsawRunWidget> m_jigsawRunWidget;
491 
492 
494  QList< QPointer<BundleObservationView> > m_bundleObservationViews;
495  QList< QPointer<CnetEditorView> > m_cnetEditorViewWidgets;
496  QList< QPointer<CubeDnView> > m_cubeDnViewWidgets;
497  QList< QPointer<ImageFileListWidget> > m_fileListWidgets;
498  QList< QPointer<Footprint2DView> > m_footprint2DViewWidgets;
499 
500  QPointer<ControlHealthMonitorView> m_controlHealthMonitorView;
501  QPointer <ControlPointEditView> m_controlPointEditViewWidget;
502  //QPointer <ChipViewportsWidget> m_chipViewports;
503  QList< QPointer<MatrixSceneWidget> > m_matrixViewWidgets;
504  QList< QPointer<SensorInfoWidget> > m_sensorInfoWidgets;
505  QList< QPointer<TargetInfoWidget> > m_targetInfoWidgets;
506  QList< QPointer<TemplateEditorWidget> > m_templateEditorWidgets;
507 
508  QList< QPointer<WorkOrder> > m_workOrders;
509 
510  QStringList m_recentProjects;
511 
512  // We only need to store the work orders that go into menus uniquely... all work orders
513  // (including these) should be stored in m_workOrders
514  QPointer<WorkOrder> m_exportControlNetWorkOrder;
515  QPointer<WorkOrder> m_exportImagesWorkOrder;
516  QPointer<WorkOrder> m_importControlNetWorkOrder;
517  QPointer<WorkOrder> m_importImagesWorkOrder;
518  QPointer<WorkOrder> m_importShapesWorkOrder;
519  QPointer<WorkOrder> m_openProjectWorkOrder;
520  QPointer<WorkOrder> m_saveProjectWorkOrder;
521  QPointer<WorkOrder> m_saveProjectAsWorkOrder;
522  QPointer<WorkOrder> m_openRecentProjectWorkOrder;
523  QPointer<WorkOrder> m_closeProjectWorkOrder;
524  QPointer<WorkOrder> m_importMapTemplateWorkOrder;
525  QPointer<WorkOrder> m_importRegistrationTemplateWorkOrder;
526 
527  QPointer<WorkOrder> m_runJigsawWorkOrder;
528  QPointer<WorkOrder> m_renameProjectWorkOrder;
529 
530  QList<QAction *> m_fileMenuActions;
531  QList<QAction *> m_projectMenuActions;
532  QList<QAction *> m_editMenuActions;
533  QList<QAction *> m_viewMenuActions;
534  QList<QAction *> m_settingsMenuActions;
535  QList<QAction *> m_helpMenuActions;
536 
537  QList<QAction *> m_permToolBarActions;
538  QList<QAction *> m_activeToolBarActions;
539  QList<QAction *> m_toolPadActions;
540 
541  QMultiMap<Control*, CnetEditorView *> m_controlMap;
542 
543  QString m_editPointId;
544 
545  bool m_recentProjectsLoaded;
546  };
547 }
548 
549 #endif // Directory_H
SaveProjectWorkOrder.h
Isis::ProjectItemModel
Provides access to data stored in a Project through Qt's model-view framework.
Definition: ProjectItemModel.h:132
Isis::Directory::newWarning
void newWarning()
Isis::FileName::originalPath
QString originalPath() const
Returns the path of the original file name.
Definition: FileName.cpp:84
Isis::Directory::addSensorInfoView
SensorInfoWidget * addSensorInfoView(GuiCameraQsp camera)
Add sensor data view widget to the window.
Definition: Directory.cpp:1004
GuiCameraList.h
TargetBodyList.h
Isis::Directory::cleanupTargetInfoWidgets
void cleanupTargetInfoWidgets(QObject *)
Removes pointers to deleted TargetInfoWidget objects.
Definition: Directory.cpp:1262
ProjectItem.h
FileName.h
ControlHealthMonitorWorkOrder.h
SetActiveControlWorkOrder.h
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
QWidget
Isis::Directory::toolPadActions
QList< QAction * > toolPadActions()
Get the list of actions that the Directory can provide for the Tool Pad.
Definition: Directory.cpp:278
QProgressBar
Isis::ControlPointEditWidget::editPointId
QString editPointId()
Definition: ControlPointEditWidget.cpp:111
Isis::Directory::save
void save(QXmlStreamWriter &stream, FileName newProjectRoot) const
Save the directory to an XML file.
Definition: Directory.cpp:1523
Isis::Directory::load
void load(XmlStackedHandlerReader *xmlReader)
Loads the Directory from an XML file.
Definition: Directory.cpp:1509
OpenProjectWorkOrder.h
Isis::Directory::modifyControlPoint
void modifyControlPoint(ControlPoint *controlPoint, QString serialNumber="")
Slot that is connected from a left mouse button operation on views.
Definition: Directory.cpp:1836
TableViewContent.h
Isis::Directory::cubeDnViews
QList< CubeDnView * > cubeDnViews()
Accessor for the list of CubeDnViews currently available.
Definition: Directory.cpp:1335
RenameProjectWorkOrder.h
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Isis::Directory::footprint2DViews
QList< Footprint2DView * > footprint2DViews()
Accessor for the list of Footprint2DViews currently available.
Definition: Directory.cpp:1410
Isis::CubeDnView
View that displays cubes in a QView-like way.
Definition: CubeDnView.h:97
Isis::Directory::cnetModified
void cnetModified()
Isis::Directory
Definition: Directory.h:271
Isis::Footprint2DView
View for displaying footprints of images in a QMos like way.
Definition: Footprint2DView.h:102
Isis::TableView::content
TableViewContent * content()
Returns the content of the table.
Definition: TableView.cpp:199
MosaicSceneWidget.h
TargetGetInfoWorkOrder.h
QList< QAction * >
Isis::WarningTreeWidget
Warning Widget for ipce.
Definition: WarningTreeWidget.h:15
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Project.h
Isis::Directory::settingsMenuActions
QList< QAction * > settingsMenuActions()
Get the list of actions that the Directory can provide for the settings menu.
Definition: Directory.cpp:242
SaveProjectAsWorkOrder.h
JigsawRunWidget.h
Isis::ImageFileListWidget::save
void save(QXmlStreamWriter &stream, Project *project, FileName newProjectRoot) const
This method saves the FootprintColumns in the project and the settings associated with every column.
Definition: ImageFileListWidget.cpp:626
ImageFileListWidget.h
Isis::Directory::cleanupJigsawRunWidget
void cleanupJigsawRunWidget(QObject *)
Definition: Directory.cpp:1288
Isis::Directory::model
ProjectItemModel * model()
Gets the ProjectItemModel for this directory.
Definition: Directory.cpp:1091
Isis::Directory::cleanupMatrixViewWidgets
void cleanupMatrixViewWidgets(QObject *)
Removes pointers to deleted MatrixSceneWidget objects.
Definition: Directory.cpp:1234
MosaicControlNetTool.h
Isis::Directory::addProjectItemTreeView
ProjectItemTreeView * addProjectItemTreeView()
Adds a ProjectItemTreeView to the window.
Definition: Directory.cpp:1053
Isis::FileName::name
QString name() const
Returns the name of the file excluding the path and the attributes in the file name.
Definition: FileName.cpp:162
Isis::RenameProjectWorkOrder
Change the project's GUI name.
Definition: RenameProjectWorkOrder.h:41
ExportImagesWorkOrder.h
Isis::Directory::templateEditorViews
QList< TemplateEditorWidget * > templateEditorViews()
Accessor for the list of TemplateEditorWidgets currently available.
Definition: Directory.cpp:1395
Isis::WorkOrder::isExecutable
virtual bool isExecutable(Context)
Re-implement this method if your work order utilizes controls for data in order to operate.
Definition: WorkOrder.cpp:182
Isis::AbstractProjectItemView::setModel
virtual void setModel(ProjectItemModel *model)
Sets the model used by the view.
Definition: AbstractProjectItemView.cpp:69
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
RemoveImagesWorkOrder.h
Isis::Directory::addCnetEditorView
CnetEditorView * addCnetEditorView(Control *control, QString objectName="")
Add the widget for the cnet editor view to the window.
Definition: Directory.cpp:656
Isis::ControlList
Maintains a list of Controls so that control nets can easily be copied from one Project to another,...
Definition: ControlList.h:44
JigsawWorkOrder.h
Isis::XmlStackedHandlerReader::pushContentHandler
virtual void pushContentHandler(XmlStackedHandler *newHandler)
Push a contentHandler and maybe continue parsing...
Definition: XmlStackedHandlerReader.cpp:55
QMenu
ControlPointEditView.h
Directory.h
Isis::ImageFileListWidget
A colored, grouped cube list.
Definition: ImageFileListWidget.h:64
Isis::FileName::fileExists
bool fileExists() const
Returns true if the file exists; false otherwise.
Definition: FileName.cpp:449
Isis::Directory::editPointId
QString editPointId()
Return the current control point id loaded in the ControlPointEditWidget.
Definition: Directory.cpp:1909
ControlPointEditWidget.h
Isis::Directory::~Directory
~Directory()
The Destructor.
Definition: Directory.cpp:191
Isis::Project::maxRecentProjects
static int maxRecentProjects()
Return max number of recent projects to be displayed.
Definition: Project.h:396
Isis::Directory::warningWidget
QWidget * warningWidget()
Returns a pointer to the warning widget.
Definition: Directory.cpp:1100
Isis::Directory::supportedActions
QList< QAction * > supportedActions(DataType data)
Returns a list of supported actions for a WorkOrder.
Definition: Directory.h:345
Isis::Directory::addCubeDnView
CubeDnView * addCubeDnView(QString objectName="")
Add the qview workspace to the window.
Definition: Directory.cpp:706
HistoryTreeWidget.h
QMainWindow
Isis::Directory::addTargetInfoView
TargetInfoWidget * addTargetInfoView(TargetBodyQsp target)
Add target body data view widget to the window.
Definition: Directory.cpp:945
TemplateEditViewWorkOrder.h
Isis::Directory::redrawMeasures
void redrawMeasures()
Isis::HistoryTreeWidget
History Widget for ipce.
Definition: HistoryTreeWidget.h:50
Isis::ControlPointEditView::controlPointEditWidget
ControlPointEditWidget * controlPointEditWidget()
Returns the ControlPointEditWidget.
Definition: ControlPointEditView.cpp:65
Isis::ControlPointEditWidget::createControlPoint
void createControlPoint(double latitude, double longitude, Cube *cube=0, bool isGroundSource=false)
Create a new control point at the given latitude, longitude.
Definition: ControlPointEditWidget.cpp:1455
Isis::CubeDnView::save
void save(QXmlStreamWriter &stream, Project *project, FileName newProjectRoot) const
Definition: CubeDnView.cpp:538
CnetEditorWidget.h
Isis::XmlStackedHandler::startElement
virtual bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
Definition: XmlStackedHandler.cpp:44
ImportMapTemplateWorkOrder.h
Isis::Project::activeControl
Control * activeControl()
Return the Active Control (control network)
Definition: Project.cpp:1903
Isis::Directory::addBundleObservationView
BundleObservationView * addBundleObservationView(FileItemQsp fileItem)
Add the BundleObservationView to the window.
Definition: Directory.cpp:602
Isis::Directory::cleanProject
void cleanProject(bool)
Isis::Directory::project
Project * project() const
Gets the Project for this directory.
Definition: Directory.cpp:1311
Footprint2DViewWorkOrder.h
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
TargetInfoWidget.h
Isis::CnetEditorView::cnetEditorWidget
CnetEditorWidget * cnetEditorWidget()
Returns the cnetEditorWidget.
Definition: CnetEditorView.cpp:163
Isis::Directory::bundleObservationViews
QList< BundleObservationView * > bundleObservationViews()
Isis::Directory::cleanupFileListWidgets
void cleanupFileListWidgets(QObject *)
Removes pointers to deleted ImageFileListWidget objects.
Definition: Directory.cpp:1191
CnetEditorView.h
Isis::ControlPoint::GetId
QString GetId() const
Return the Id of the control point.
Definition: ControlPoint.cpp:1306
Isis::Directory::cleanupFootprint2DViewWidgets
void cleanupFootprint2DViewWidgets(QObject *)
Removes pointers to deleted Footprint2DView objects.
Definition: Directory.cpp:1205
Isis::Control
This represents an ISIS control net in a project-based GUI interface.
Definition: Control.h:66
Isis::Project::undoStack
QUndoStack * undoStack()
Returns the Projects stack of QUndoCommands.
Definition: Project.cpp:1694
QSharedPointer< FileItem >
WarningTreeWidget.h
ToolPad.h
Isis::Directory::setWarningContainer
void setWarningContainer(QDockWidget *warningContainer)
Set up the warning info in the warning dockable widget.
Definition: Directory.cpp:523
SensorInfoWidget.h
Isis::Directory::setRecentProjectsList
void setRecentProjectsList(QStringList recentProjects)
Add recent projects to the recent projects list.
Definition: Directory.cpp:535
QStringList
Isis::Directory::showWarning
void showWarning(QString text)
Displays a Warning.
Definition: Directory.cpp:1481
Isis::XmlStackedHandlerReader
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:30
Isis::Directory::recentProjectsList
QStringList recentProjectsList()
Public accessor for the list of recent projects.
Definition: Directory.cpp:593
CloseProjectWorkOrder.h
IString.h
ControlList.h
Isis::Project
The main project for ipce.
Definition: Project.h:289
Isis::ControlPointEditView
View for editing a single ControlPoint.
Definition: ControlPointEditView.h:53
Isis::BundleObservationView
View for displaying BundleObservation CSV files.
Definition: BundleObservationView.h:44
Isis::ImageList
Internalizes a list of images and allows for operations on the entire list.
Definition: ImageList.h:55
TemplateEditorWidget.h
WorkOrder.h
Isis::Project::addToProject
void addToProject(WorkOrder *)
This executes the WorkOrder and stores it in the project.
Definition: Project.cpp:2598
BundleObservation.h
TableView.h
Isis::ControlPointEditWidget::deletePoint
void deletePoint(ControlPoint *controlPoint)
Gives user options for deleting a control point from the control network.
Definition: ControlPointEditWidget.cpp:1568
ImportShapesWorkOrder.h
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
Isis::Directory::helpMenuActions
QList< QAction * > helpMenuActions()
Get the list of actions that the Directory can provide for the help menu.
Definition: Directory.cpp:251
Isis::ControlPoint
A single control point.
Definition: ControlPoint.h:354
Isis::Control::closeControlNet
void closeControlNet()
Cleans up the ControlNet pointer.
Definition: Control.cpp:214
Isis::Directory::addControlHealthMonitorView
ControlHealthMonitorView * addControlHealthMonitorView()
Definition: Directory.cpp:814
Isis::Footprint2DView::save
void save(QXmlStreamWriter &stream, Project *project, FileName newProjectRoot) const
Save the footprint view widgets (ImageFileListWidget and MosaicSceneWidget to an XML file.
Definition: Footprint2DView.cpp:366
CubeDnViewWorkOrder.h
Isis::Directory::controlUsedInCnetEditorWidget
bool controlUsedInCnetEditorWidget(Control *control)
@description Return true if control is not currently being viewed in a CnetEditorWidget
Definition: Directory.cpp:1161
ControlNet.h
Isis::Directory::progressBars
QList< QProgressBar * > progressBars()
Gets the ControlNetEditor associated with this the Directory.
Definition: Directory.cpp:1471
Isis::Directory::clean
void clean()
Cleans directory of everything to do with the current project.
Definition: Directory.cpp:289
Isis::Directory::projectMenuActions
QList< QAction * > projectMenuActions()
Get the list of actions that the Directory can provide for the project menu.
Definition: Directory.cpp:215
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::Template::fileName
QString fileName() const
Get the file name that this Template represents.
Definition: Template.cpp:50
Isis::ControlPointEditWidget::setSerialNumberList
void setSerialNumberList(SerialNumberList *snList)
Set the serial number list.
Definition: ControlPointEditWidget.cpp:653
Isis::Directory::editMenuActions
QList< QAction * > editMenuActions()
Get the list of actions that the Directory can provide for the edit menu.
Definition: Directory.cpp:224
ImportControlNetWorkOrder.h
Isis::WorkOrder::setData
virtual void setData(Context)
Sets the context data for this WorkOrder.
Definition: WorkOrder.cpp:248
SensorGetInfoWorkOrder.h
Isis::ControlPointEditWidget::setControl
void setControl(Control *control)
New control network being edited.
Definition: ControlPointEditWidget.cpp:674
CubeDnView.h
ImageFileListViewWorkOrder.h
Isis::Directory::closeView
void closeView(QWidget *widget)
MatrixViewWorkOrder.h
Isis::Directory::directoryCleaned
void directoryCleaned()
Isis::Template
Definition: Template.h:30
Isis::Directory::viewMenuActions
QList< QAction * > viewMenuActions()
Get the list of actions that the Directory can provide for the view menu.
Definition: Directory.cpp:233
Isis::OpenProjectWorkOrder
This opens a project that's saved on disk.
Definition: OpenProjectWorkOrder.h:56
Isis::Directory::addImageFileListView
ImageFileListWidget * addImageFileListView(QString objectName="")
Add an imageFileList widget to the window.
Definition: Directory.cpp:1026
Isis::Directory::fileMenuActions
QList< QAction * > fileMenuActions()
Get the list of actions that the Directory can provide for the file menu.
Definition: Directory.cpp:206
ImportRegistrationTemplateWorkOrder.h
Isis::ControlHealthMonitorView
View for the Control Net Health Monitor.
Definition: ControlHealthMonitorView.h:43
Workspace.h
Isis::CnetEditorWidget::measureTableView
TableView * measureTableView()
Returns the measure table view.
Definition: CnetEditorWidget.cpp:798
Isis::Directory::cleanupControlPointEditViewWidget
void cleanupControlPointEditViewWidget(QObject *)
Delete the ControlPointEditWidget and set it's pointer to NULL.
Definition: Directory.cpp:1219
Isis::DisplayProperties::displayName
QString displayName() const
Returns the display name.
Definition: DisplayProperties.cpp:88
Isis::Directory::cleanupCnetEditorViewWidgets
void cleanupCnetEditorViewWidgets(QObject *)
Removes pointers to deleted CnetEditorWidget objects.
Definition: Directory.cpp:1135
Isis::MatrixSceneWidget
This widget encompasses the entire matrixDisplay scene.
Definition: MatrixSceneWidget.h:51
ProjectItemModel.h
ImageList.h
Isis::Directory::updateControlNetEditConnections
void updateControlNetEditConnections()
Updates the SIGNAL/SLOT connections for the cotrol net editor.
Definition: Directory.cpp:1802
Isis::Directory::cleanupBundleObservationViews
void cleanupBundleObservationViews(QObject *)
Removes pointers to deleted BundleObservationView objects.
Definition: Directory.cpp:1108
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::TargetInfoWidget
Widget for displaying information about a target.
Definition: TargetInfoWidget.h:35
ControlDisplayProperties.h
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::Directory::createControlPoint
void createControlPoint(double latitude, double longitude, Cube *cube=0, bool isGroundSource=false)
Slot that is connected from a right mouse button operation on views.
Definition: Directory.cpp:1889
Isis::Directory::addControlPointEditView
ControlPointEditView * addControlPointEditView()
Definition: Directory.cpp:837
Isis::Directory::activeControlModified
void activeControlModified()
Isis::CnetEditorView::control
Control * control()
@description Returns the Control displayed in the CnetEditorWidget
Definition: CnetEditorView.cpp:173
ImportImagesWorkOrder.h
Isis::ChipViewportsWidget
Scrolled widget for display ChipViewports.
Definition: ChipViewportsWidget.h:43
Isis::Project::projectRoot
QString projectRoot() const
Get the top-level folder of the project.
Definition: Project.cpp:1666
Isis::CnetEditorView
Ipce view containing the CnetEditorWidget.
Definition: CnetEditorView.h:65
Isis::CnetEditorWidget::pointTableView
TableView * pointTableView()
Returns the point table view.
Definition: CnetEditorWidget.cpp:788
ChipViewportsWidget.h
Isis::Directory::matrixViews
QList< MatrixSceneWidget * > matrixViews()
Accessor for the list of MatrixSceneWidgets currently available.
Definition: Directory.cpp:1350
Isis::Directory::controlHealthMonitorView
ControlHealthMonitorView * controlHealthMonitorView()
Definition: Directory.cpp:809
Footprint2DView.h
Isis::SensorInfoWidget
Widget for displaying information about a sensor.
Definition: SensorInfoWidget.h:30
Isis::Footprint2DView::mosaicSceneWidget
MosaicSceneWidget * mosaicSceneWidget()
Accessor for the MosaicSceneWidget.
Definition: Footprint2DView.cpp:157
IException.h
Isis::Directory::redoAction
QAction * redoAction()
Creates an Action to redo the last action.
Definition: Directory.cpp:1491
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
MatrixSceneWidget.h
ControlHealthMonitorView.h
Isis::Directory::deleteControlPoint
void deleteControlPoint(ControlPoint *controlPoint)
Slot that is connected from a middle mouse button operation on views.
Definition: Directory.cpp:1858
Isis::CnetEditorView::save
void save(QXmlStreamWriter &stream, Project *project, FileName newProjectRoot) const
This method saves the Controls object ids to the stream.
Definition: CnetEditorView.cpp:195
QPair
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:23
Isis::Directory::Directory
Directory(QObject *parent=0)
The Constructor.
Definition: Directory.cpp:105
Isis::Directory::cnetEditorViews
QList< CnetEditorView * > cnetEditorViews()
Returns a list of all the control network views for this directory.
Definition: Directory.cpp:1320
Isis::Directory::newDockAvailable
void newDockAvailable(QMainWindow *newWidget)
Isis::Directory::controlPointEditView
ControlPointEditView * controlPointEditView()
Gets the ControlPointEditWidget associated with the Directory.
Definition: Directory.cpp:1439
BundleObservationView.h
Isis::XmlStackedHandler
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:118
Isis::TableViewContent::setActiveControlNet
void setActiveControlNet(bool activeNet)
Sets if there is an active control net.
Definition: TableViewContent.cpp:216
Isis::Directory::sensorInfoViews
QList< SensorInfoWidget * > sensorInfoViews()
Accessor for the list of SensorInfoWidgets currently available.
Definition: Directory.cpp:1365
Isis::JigsawRunWidget
This dialog allows the user to select the bundle adjust parameters, run the bundle,...
Definition: JigsawRunWidget.h:109
QMap
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:22
Isis::Directory::addFootprint2DView
Footprint2DView * addFootprint2DView(QString objectName="")
Add the qmos view widget to the window.
Definition: Directory.cpp:757
Control.h
FileItem.h
Isis::Directory::targetInfoViews
QList< TargetInfoWidget * > targetInfoViews()
Accessor for the list of TargetInfoWidgets currently available.
Definition: Directory.cpp:1380
Isis::Directory::cleanupTemplateEditorWidgets
void cleanupTemplateEditorWidgets(QObject *)
Removes pointers to deleted TemplateEditorWidget objects.
Definition: Directory.cpp:1276
Isis::Control::displayProperties
ControlDisplayProperties * displayProperties()
Access a pointer to the display properties for the control network.
Definition: Control.cpp:252
CnetEditorViewWorkOrder.h
Isis::Directory::addTemplateEditorView
TemplateEditorWidget * addTemplateEditorView(Template *currentTemplate)
Add template editor view widget to the window.
Definition: Directory.cpp:966
Isis::Directory::newWidgetAvailable
void newWidgetAvailable(QWidget *newWidget)
BundleObservationViewWorkOrder.h
Isis::TemplateEditorWidget
Widget for displaying information about a target.
Definition: TemplateEditorWidget.h:35
Isis::Directory::cleanupSensorInfoWidgets
void cleanupSensorInfoWidgets(QObject *)
Removes pointers to deleted SensorInfoWidget objects.
Definition: Directory.cpp:1248
QObject
Isis::WorkOrder::clone
virtual WorkOrder * clone() const =0
Isis::Directory::undoAction
QAction * undoAction()
Creates an Action to undo the last action.
Definition: Directory.cpp:1500
Isis::ControlPointEditWidget::setEditPoint
void setEditPoint(ControlPoint *controlPoint, QString serialNumber="")
Slot called by Directory to set the control point for editing.
Definition: ControlPointEditWidget.cpp:1169
Isis::Directory::permToolBarActions
QList< QAction * > permToolBarActions()
Get the list of actions that the Directory can provide for the permanent Tool Bar.
Definition: Directory.cpp:260
ControlNetTool.h
QAction
QDockWidget
Isis::Directory::cleanupCubeDnViewWidgets
void cleanupCubeDnViewWidgets(QObject *)
Removes pointers to deleted CubeDnView objects.
Definition: Directory.cpp:1177
Isis::Directory::addJigsawRunWidget
JigsawRunWidget * addJigsawRunWidget()
Definition: Directory.cpp:982
XmlStackedHandlerReader.h
XmlStackedHandler.h
Isis::ProjectItemTreeView
A ProjectItemTreeView displays items from a ProjectItemProxyModel in a tree structure.
Definition: ProjectItemTreeView.h:56
Isis::Directory::activeToolBarActions
QList< QAction * > activeToolBarActions()
Get the list of actions that the Directory can provide for the active Tool Bar.
Definition: Directory.cpp:269
Isis::Directory::setHistoryContainer
void setHistoryContainer(QDockWidget *historyContainer)
Set up the history info in the history dockable widget.
Definition: Directory.cpp:511
Isis::Directory::updateRecentProjects
void updateRecentProjects()
Loads and displays a list of recently opened projects in the file menu.
Definition: Directory.cpp:318
TemplateList.h
Isis::Directory::jigsawRunWidget
JigsawRunWidget * jigsawRunWidget()
Definition: Directory.cpp:1445
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::Directory::addMatrixView
MatrixSceneWidget * addMatrixView()
Add the matrix view widget to the window.
Definition: Directory.cpp:924
Isis::Directory::imageFileListViews
QList< ImageFileListWidget * > imageFileListViews()
Accessor for the list of ImageFileListWidgets currently available.
Definition: Directory.cpp:1425
SetActiveImageListWorkOrder.h
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
ProjectItemTreeView.h
Isis::Directory::showWarning
void showWarning(QString text, Data data)
Shows warning text for a Widget.
Definition: Directory.h:381
ExportControlNetWorkOrder.h