Isis Developer Reference
ImageListActionWorkOrder.h
Go to the documentation of this file.
1#ifndef ImageListActionWorkOrder_H
2#define ImageListActionWorkOrder_H
3
4#include "WorkOrder.h"
5
6class QStringList;
7class QXmlStreamWriter;
8
9namespace Isis {
110}
111
112#endif
Work orders that can be performed on an image list that modifies internal state.
Definition ImageListActionWorkOrder.h:61
static Action fromActionString(QString)
Convert a string to an action.
Definition ImageListActionWorkOrder.cpp:485
static QString toString(Action)
Convert an action to a string.
Definition ImageListActionWorkOrder.cpp:417
ImageListActionWorkOrder(Project *project)
Construct a work order for the given project.
Definition ImageListActionWorkOrder.cpp:16
~ImageListActionWorkOrder()
Destructor.
Definition ImageListActionWorkOrder.cpp:62
bool setupExecution()
If needed, prompt the user for input and save it.
Definition ImageListActionWorkOrder.cpp:120
bool isExecutable(ImageList *images)
Check if the work order can run on a given image list.
Definition ImageListActionWorkOrder.cpp:84
ImageListActionWorkOrder * clone() const
Clone the current work order.
Definition ImageListActionWorkOrder.cpp:71
void setData(ImageList *images)
Assign an image list to the work order.
Definition ImageListActionWorkOrder.cpp:96
void execute()
Perform the action stored in the work order and update the work order's internal data with the result...
Definition ImageListActionWorkOrder.cpp:217
static QString qualifyString(QString unqualifiedString, ImageList *)
Determine whether a toggle action should show or hide.
Definition ImageListActionWorkOrder.cpp:361
void undoExecution()
Undo the action stored in the work order and update the work order's internal data with the results o...
Definition ImageListActionWorkOrder.cpp:296
Action
Type of action to be performed by the work order.
Definition ImageListActionWorkOrder.h:68
@ ToggleShowOutline
Show or hide each image's outline.
Definition ImageListActionWorkOrder.h:76
@ MoveToBottom
Move the image to the back.
Definition ImageListActionWorkOrder.h:79
@ ChangeTransparency
Change the alpha values of the image list.
Definition ImageListActionWorkOrder.h:70
@ ToggleShowFilled
Show or hide each image's fill area.
Definition ImageListActionWorkOrder.h:74
@ ChangeColor
Change the color values of the image list.
Definition ImageListActionWorkOrder.h:71
@ ToggleShowCubeData
Show or hide each image's DNs.
Definition ImageListActionWorkOrder.h:75
@ LastAction
Definition ImageListActionWorkOrder.h:83
@ UnknownAction
Unknown action.
Definition ImageListActionWorkOrder.h:69
@ MoveDownOne
Move the image backward.
Definition ImageListActionWorkOrder.h:80
@ ZoomFit
Zoom in on the image so that it fits the screen.
Definition ImageListActionWorkOrder.h:81
@ MoveToTop
Move the image to the front.
Definition ImageListActionWorkOrder.h:77
@ MoveUpOne
Move the image forward.
Definition ImageListActionWorkOrder.h:78
@ FirstAction
Definition ImageListActionWorkOrder.h:82
@ ToggleShowLabel
Show or hide each image's display name.
Definition ImageListActionWorkOrder.h:73
@ RandomizeColor
Set each image in the list to a random color.
Definition ImageListActionWorkOrder.h:72
Internalizes a list of images and allows for operations on the entire list.
Definition ImageList.h:55
The main project for ipce.
Definition Project.h:289
Provide Undo/redo abilities, serialization, and history for an operation.
Definition WorkOrder.h:311
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition WorkOrder.cpp:1298
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16