Isis Developer 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:
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
SaveProjectWorkOrder.h
Isis::SaveProjectWorkOrder
Saves a project to disk (File->Save Project...)
Definition: SaveProjectWorkOrder.h:47
FileName.h
Cube.h
Isis::WorkOrder::setupExecution
virtual bool setupExecution()
This sets up the state for the work order.
Definition: WorkOrder.cpp:1261
OpenProjectWorkOrder.h
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Project.h
Isis::Project::open
void open(QString)
Open the project at the given path.
Definition: Project.cpp:1345
Isis::OpenProjectWorkOrder::setupExecution
bool setupExecution()
Setup this WorkOrder for execution, deleting the progress bar, determine if there is a current projec...
Definition: OpenProjectWorkOrder.cpp:120
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
Isis::FileName::fileExists
bool fileExists() const
Returns true if the file exists; false otherwise.
Definition: FileName.cpp:449
Isis::WorkOrder::save
void save(QXmlStreamWriter &stream) const
: Saves a WorkOrder to a data stream.
Definition: WorkOrder.cpp:544
Isis::OpenProjectWorkOrder::openProjectFromCommandLine
void openProjectFromCommandLine(QString)
Isis::OpenProjectWorkOrder::isExecutable
bool isExecutable(QString projectFileName, bool recentProject=false)
This function determines if the given project file name can be opened.
Definition: OpenProjectWorkOrder.cpp:103
Isis::OpenProjectWorkOrder::OpenProjectWorkOrder
OpenProjectWorkOrder(Project *project)
Constructs an OpenProjectWorkOrder.
Definition: OpenProjectWorkOrder.cpp:47
QStringList
Isis::Project
The main project for ipce.
Definition: Project.h:289
WorkOrder.h
Isis::Project::addToProject
void addToProject(WorkOrder *)
This executes the WorkOrder and stores it in the project.
Definition: Project.cpp:2598
Isis::OpenProjectWorkOrder::setRecent
void setRecent(bool isRecent)
Isis::WorkOrder::m_isUndoable
bool m_isUndoable
Set the workorder to be undoable/redoable This is defaulted to true - his will allow the workorder to...
Definition: WorkOrder.h:523
Isis::OpenProjectWorkOrder
This opens a project that's saved on disk.
Definition: OpenProjectWorkOrder.h:56
Isis::WorkOrder::project
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
ProgressBar.h
Isis::OpenProjectWorkOrder::~OpenProjectWorkOrder
~OpenProjectWorkOrder()
Destructor.
Definition: OpenProjectWorkOrder.cpp:82
Isis::OpenProjectWorkOrder::execute
void execute()
Open the chosen project folder.
Definition: OpenProjectWorkOrder.cpp:175
Isis::WorkOrder::progressBar
ProgressBar * progressBar()
Returns the ProgressBar.
Definition: WorkOrder.cpp:975
Isis::WorkOrder::setCreatesCleanState
void setCreatesCleanState(bool createsCleanState)
Declare that this work order is saving the project.
Definition: WorkOrder.cpp:1663
Isis::OpenProjectWorkOrder::clone
virtual OpenProjectWorkOrder * clone() const
Clones the current OpenProjectWorkOrder.
Definition: OpenProjectWorkOrder.cpp:92
Isis::Project::setClean
void setClean(bool value)
Function to change the clean state of the project.
Definition: Project.cpp:1595
CubeAttribute.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16