|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef RemoveImagesWorkOrder_H
2 #define RemoveImagesWorkOrder_H
void removeImages(ImageList &imageList)
Definition: Project.cpp:2786
virtual bool setupExecution()
This sets up the state for the work order.
Definition: WorkOrder.cpp:1261
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
ProjectItemModel * model()
Gets the ProjectItemModel for this directory.
Definition: Directory.cpp:1091
Image * image() const
Returns the Image stored in the data of the item.
Definition: ProjectItem.cpp:476
void execute()
@description Remove any selected items from the project directory.
Definition: RemoveImagesWorkOrder.cpp:137
ImageList * imageList()
Returns a pointer to the ImageList for this WorkOrder.
Definition: WorkOrder.cpp:631
RemoveImagesWorkOrder(Project *project)
Definition: RemoveImagesWorkOrder.cpp:37
virtual void removeItems(QList< ProjectItem * > items)
Removes a list of items and their children from the model.
Definition: ProjectItemModel.cpp:342
void append(Image *const &value)
Appends an image to the image list.
Definition: ImageList.cpp:153
Removes selected images from current project.
Definition: RemoveImagesWorkOrder.h:56
~RemoveImagesWorkOrder()
Definition: RemoveImagesWorkOrder.cpp:54
bool setupExecution()
@description Set up the execution.
Definition: RemoveImagesWorkOrder.cpp:81
The main project for ipce.
Definition: Project.h:289
Directory * directory() const
Returns the directory associated with this Project.
Definition: Project.cpp:1229
Internalizes a list of images and allows for operations on the entire list.
Definition: ImageList.h:55
static QStringList images(QStringList)
Verify that the input fileNames are image files.
Definition: Project.cpp:894
bool isImageList() const
Returns true if an ImageList is stored in the data of the item.
Definition: ProjectItem.cpp:657
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
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
bool isImage() const
Returns true if an Image is stored in the data of the item.
Definition: ProjectItem.cpp:646
QList< ProjectItem * > selectedItems()
Returns a list of the selected items of the internal selection model.
Definition: ProjectItemModel.cpp:158
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
This represents a cube in a project-based GUI interface.
Definition: Image.h:107
Isis exception class.
Definition: IException.h:91
virtual bool isExecutable(ImageList *images)
Determines if we can remove this ImageList.
Definition: RemoveImagesWorkOrder.cpp:69
virtual RemoveImagesWorkOrder * clone() const
Definition: RemoveImagesWorkOrder.cpp:58
ImageList * imageList() const
Returns the ImageList stored in the data of the item.
Definition: ProjectItem.cpp:486
void setModifiesDiskState(bool changesProjectOnDisk)
Definition: WorkOrder.cpp:1674
int removeAll(Image *const &value)
Removes all occurances of an image.
Definition: ImageList.cpp:303
void setClean(bool value)
Function to change the clean state of the project.
Definition: Project.cpp:1595
virtual void removeItem(ProjectItem *item)
Removes an item and its children from the model.
Definition: ProjectItemModel.cpp:315
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126
Represents an item of a ProjectItemModel in Qt's model-view framework.
Definition: ProjectItem.h:134