File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
Go to the documentation of this file.
25 #include <QFileDialog>
26 #include <QInputDialog>
29 #include "Directory.h"
30 #include "IException.h"
32 #include "ProjectItem.h"
34 #include "TemplateEditorWidget.h"
48 QAction::setText(tr(
"Edit template...") );
49 QUndoCommand::setText(tr(
"Edit Template"));
96 if (projectitem->isTemplate()) {
101 for (
int i = 0; i < existingViews.size(); i++) {
102 if (existingViews.at(i)->objectName() == currentTemplate->
fileName() )
144 if (!templateEditorWidget) {
145 QString msg =
"error displaying target info";
virtual TemplateEditViewWorkOrder * clone() const
Returns a copy of this TemplateEditViewWorkOrder instance.
virtual bool setupExecution()
This sets up the state for the work order.
This is free and unencumbered software released into the public domain.
Provide Undo/redo abilities, serialization, and history for an operation.
QList< TemplateEditorWidget * > templateEditorViews()
Accessor for the list of TemplateEditorWidgets currently available.
bool m_isSavedToHistory
Set the work order to be shown in the HistoryTreeWidget.
void setInternalData(QStringList data)
Sets the internal data for this WorkOrder.
TemplateEditViewWorkOrder(Project *project)
Creates a WorkOrder that will retrieve Target info.
virtual bool isExecutable(ProjectItem *projectitem)
Determines if we can get target info.
The main project for ipce.
Directory * directory() const
Returns the directory associated with this Project.
This work order allows the user to view and edit a template.
bool dependsOn(WorkOrder *other) const
Determines whether another WorkOrder depends upon TemplateEditViewWorkOrder.
virtual bool setupExecution()
Attempt to retrieve the Target info.
bool m_isUndoable
Set the workorder to be undoable/redoable This is defaulted to true - his will allow the workorder to...
QString fileName() const
Get the file name that this Template represents.
~TemplateEditViewWorkOrder()
The Destructor.
Template * getTemplate()
WorkOrder::getTemplate.
Project * project() const
Returns the Project this WorkOrder is attached to.
@ Programmer
This error is for when a programmer made an API call that was illegal.
virtual void execute()
Executes this work order.
QStringList internalData() const
Gets the internal data for this WorkOrder.
TemplateEditorWidget * addTemplateEditorView(Template *currentTemplate)
Add template editor view widget to the window.
Template * getTemplate() const
Returns the Template stored in the data of the item.
This is free and unencumbered software released into the public domain.
Represents an item of a ProjectItemModel in Qt's model-view framework.