Isis 3 Programmer Reference
OpenProjectWorkOrder.h
Go to the documentation of this file.
1 #ifndef OpenProjectWorkOrder_H
2 #define OpenProjectWorkOrder_H
3 
25 #include "WorkOrder.h"
26 
27 class QString;
28 
29 namespace Isis {
30 
57  Q_OBJECT
58  public:
62 
63  virtual OpenProjectWorkOrder *clone() const;
64 
65 
66  bool isExecutable(QString projectFileName, bool recentProject=false);
67  bool setupExecution();
68  void execute();
69  void setRecent(bool isRecent);
70 
71  signals:
72  void openProjectFromCommandLine(QString);
73 
74  private:
75  OpenProjectWorkOrder &operator=(const OpenProjectWorkOrder &rhs);
76  bool m_recentProject;
77 
78  bool m_startingState;
79  QString m_projectPath;
80  };
81 }
82 
83 #endif // OpenProjectWorkOrder_H
bool isExecutable(QString projectFileName, bool recentProject=false)
This function determines if the given project file name can be opened.
The main project for ipce.
Definition: Project.h:289
void execute()
Open the chosen project folder.
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:322
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
OpenProjectWorkOrder(Project *project)
Constructs an OpenProjectWorkOrder.
bool setupExecution()
Setup this WorkOrder for execution, deleting the progress bar, determine if there is a current projec...
This opens a project that's saved on disk.
virtual OpenProjectWorkOrder * clone() const
Clones the current OpenProjectWorkOrder.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1314