Isis Developer Reference
CubeDnViewWorkOrder.h
Go to the documentation of this file.
1 #ifndef CubeDnViewWorkOrder_H
2 #define CubeDnViewWorkOrder_H
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include "WorkOrder.h"
13 
14 namespace Isis {
15  class ImageList;
16  class Project;
17  class ShapeList;
18 
44  class CubeDnViewWorkOrder : public WorkOrder {
45  Q_OBJECT
46  public:
50 
51  virtual CubeDnViewWorkOrder *clone() const;
52 
53  virtual bool isExecutable(ImageList *images);
54  virtual bool isExecutable(ShapeList *shapes);
55 
56  bool isUndoable() const;
57 
58  bool setupExecution();
59  void execute();
60 
61  protected:
62  bool dependsOn(WorkOrder *other) const;
63 
64  private:
65  CubeDnViewWorkOrder &operator=(const CubeDnViewWorkOrder &rhs);
66  };
67 }
68 #endif
ProjectItem.h
Isis::CubeDnViewWorkOrder
This work order is designed to bring up a qview-like view for a small number of cubes.
Definition: CubeDnViewWorkOrder.h:44
Isis::WorkOrder::setupExecution
virtual bool setupExecution()
This sets up the state for the work order.
Definition: WorkOrder.cpp:1261
MdiCubeViewport.h
Isis::Directory::cubeDnViews
QList< CubeDnView * > cubeDnViews()
Accessor for the list of CubeDnViews currently available.
Definition: Directory.cpp:1335
Isis::CubeDnView
View that displays cubes in a QView-like way.
Definition: CubeDnView.h:97
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Project.h
Isis::CubeDnViewWorkOrder::isUndoable
bool isUndoable() const
Isis::CubeDnViewWorkOrder::setupExecution
bool setupExecution()
This method asks the user what view they want to see their cube list in.
Definition: CubeDnViewWorkOrder.cpp:100
Isis::Directory::model
ProjectItemModel * model()
Gets the ProjectItemModel for this directory.
Definition: Directory.cpp:1091
Isis::WorkOrder::m_isSavedToHistory
bool m_isSavedToHistory
Set the work order to be shown in the HistoryTreeWidget.
Definition: WorkOrder.h:537
Directory.h
Isis::WorkOrder::setInternalData
void setInternalData(QStringList data)
Sets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1318
Isis::Directory::addCubeDnView
CubeDnView * addCubeDnView(QString objectName="")
Add the qview workspace to the window.
Definition: Directory.cpp:706
Isis::CubeDnViewWorkOrder::CubeDnViewWorkOrder
CubeDnViewWorkOrder(Project *project)
This method sets the text of the work order.
Definition: CubeDnViewWorkOrder.cpp:34
Isis::WorkOrder::directory
Directory * directory() const
return the workorder project directory Returns the Directory object of the Project this WorkOrder is ...
Definition: WorkOrder.cpp:1290
Isis::AbstractProjectItemView::addItems
virtual void addItems(QList< ProjectItem * > items)
Adds several items to the view.
Definition: AbstractProjectItemView.cpp:264
QStringList
Isis::Project
The main project for ipce.
Definition: Project.h:289
Isis::Project::directory
Directory * directory() const
Returns the directory associated with this Project.
Definition: Project.cpp:1229
Isis::ImageList
Internalizes a list of images and allows for operations on the entire list.
Definition: ImageList.h:55
WorkOrder.h
Isis::CubeDnViewWorkOrder::~CubeDnViewWorkOrder
~CubeDnViewWorkOrder()
Destructor.
Definition: CubeDnViewWorkOrder.cpp:51
CubeDnViewWorkOrder.h
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::CubeDnViewWorkOrder::isExecutable
virtual bool isExecutable(ImageList *images)
This check is used by Directory::supportedActions(DataType data).
Definition: CubeDnViewWorkOrder.cpp:70
Isis::ProjectItemModel::selectedItems
QList< ProjectItem * > selectedItems()
Returns a list of the selected items of the internal selection model.
Definition: ProjectItemModel.cpp:158
CubeDnView.h
Isis::CubeDnViewWorkOrder::execute
void execute()
This method adds a new CubeDnView to the project's directory and then adds currentItem() to that.
Definition: CubeDnViewWorkOrder.cpp:153
Workspace.h
Isis::WorkOrder::project
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
ProjectItemModel.h
ImageList.h
Isis::ShapeList
Internalizes a list of shapes and allows for operations on the entire list.
Definition: ShapeList.h:33
Isis::CubeDnViewWorkOrder::dependsOn
bool dependsOn(WorkOrder *other) const
This method returns true if other depends on a CubeDnViewWorkOrder.
Definition: CubeDnViewWorkOrder.cpp:179
Isis::WorkOrder::internalData
QStringList internalData() const
Gets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1377
Isis::CubeDnViewWorkOrder::clone
virtual CubeDnViewWorkOrder * clone() const
This method clones the CubeDnViewWorkOrder.
Definition: CubeDnViewWorkOrder.cpp:59
Isis::Project::setClean
void setClean(bool value)
Function to change the clean state of the project.
Definition: Project.cpp:1595
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16