Isis 3 Programmer Reference
OpenProjectWorkOrder.h
Go to the documentation of this file.
1#ifndef OpenProjectWorkOrder_H
2#define OpenProjectWorkOrder_H
25#include "WorkOrder.h"
26
27class QString;
28
29namespace 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
This opens a project that's saved on disk.
bool isExecutable(QString projectFileName, bool recentProject=false)
This function determines if the given project file name can be opened.
bool setupExecution()
Setup this WorkOrder for execution, deleting the progress bar, determine if there is a current projec...
void execute()
Open the chosen project folder.
virtual OpenProjectWorkOrder * clone() const
Clones the current OpenProjectWorkOrder.
OpenProjectWorkOrder(Project *project)
Constructs an OpenProjectWorkOrder.
The main project for ipce.
Definition Project.h:289
Provide Undo/redo abilities, serialization, and history for an operation.
Definition WorkOrder.h:311
Project * project() const
Returns the Project this WorkOrder is attached to.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16