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 "TargetBody.h"
33 #include "TargetInfoWidget.h"
47 QAction::setText(tr(
"Get Info...") );
95 for (
int i = 0; i < existingViews.size(); i++) {
96 if (existingViews.at(i)->objectName() ==
targetBody->displayProperties()->displayName() )
115 QString targetDisplayName =
targetBody()->displayProperties()->displayName();
116 QUndoCommand::setText(tr(
"Get %1 target info").arg(targetDisplayName));
137 if (!targetInfoWidget) {
138 QString msg =
"error displaying target info";
bool dependsOn(WorkOrder *other) const
Determines whether another WorkOrder depends upon TargetGetInfoWorkOrder.
virtual TargetGetInfoWorkOrder * clone() const
Returns a copy of this TargetGetInfoWorkOrder instance.
virtual bool setupExecution()
This sets up the state for the work order.
virtual bool isExecutable(TargetBodyQsp targetBody)
Determines if we can get target info.
This is free and unencumbered software released into the public domain.
This work order allows the user to view target body info.
Provide Undo/redo abilities, serialization, and history for an operation.
bool m_isSavedToHistory
Set the work order to be shown in the HistoryTreeWidget.
void setInternalData(QStringList data)
Sets the internal data for this WorkOrder.
TargetInfoWidget * addTargetInfoView(TargetBodyQsp target)
Add target body data view widget to the window.
virtual bool setupExecution()
Attempt to retrieve the Target info.
The main project for ipce.
Directory * directory() const
Returns the directory associated with this Project.
bool m_isUndoable
Set the workorder to be undoable/redoable This is defaulted to true - his will allow the workorder to...
TargetBodyQsp targetBody()
WorkOrder::targetBody.
virtual void execute()
Executes this work order.
TargetGetInfoWorkOrder(Project *project)
Creates a WorkOrder that will retrieve Target info.
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.
QStringList internalData() const
Gets the internal data for this WorkOrder.
QList< TargetInfoWidget * > targetInfoViews()
Accessor for the list of TargetInfoWidgets currently available.
~TargetGetInfoWorkOrder()
The Destructor.
This is free and unencumbered software released into the public domain.