Isis 3 Programmer Reference
ImageListActionWorkOrder.h
1#ifndef ImageListActionWorkOrder_H
2#define ImageListActionWorkOrder_H
3
4#include "WorkOrder.h"
5
6class QStringList;
7class QXmlStreamWriter;
8
9namespace Isis {
62 Q_OBJECT
63
64 public:
85
90
92
93 bool isExecutable(ImageList *images);
94 void setData(ImageList *images);
95
96 bool setupExecution();
97 void execute();
98 void undoExecution();
99
100 static QString qualifyString(QString unqualifiedString, ImageList *);
101 static QString toString(Action);
102 static Action fromActionString(QString);
103
104 signals:
105 void bringToFront();
106
107 private:
109 };
110}
111
112#endif
Work orders that can be performed on an image list that modifies internal state.
static Action fromActionString(QString)
Convert a string to an action.
static QString toString(Action)
Convert an action to a string.
ImageListActionWorkOrder(Project *project)
Construct a work order for the given project.
bool setupExecution()
If needed, prompt the user for input and save it.
bool isExecutable(ImageList *images)
Check if the work order can run on a given image list.
ImageListActionWorkOrder * clone() const
Clone the current work order.
void setData(ImageList *images)
Assign an image list to the work order.
void execute()
Perform the action stored in the work order and update the work order's internal data with the result...
static QString qualifyString(QString unqualifiedString, ImageList *)
Determine whether a toggle action should show or hide.
void undoExecution()
Undo the action stored in the work order and update the work order's internal data with the results o...
Action
Type of action to be performed by the work order.
@ ToggleShowOutline
Show or hide each image's outline.
@ MoveToBottom
Move the image to the back.
@ ChangeTransparency
Change the alpha values of the image list.
@ ToggleShowFilled
Show or hide each image's fill area.
@ ChangeColor
Change the color values of the image list.
@ ToggleShowCubeData
Show or hide each image's DNs.
@ MoveDownOne
Move the image backward.
@ ZoomFit
Zoom in on the image so that it fits the screen.
@ MoveToTop
Move the image to the front.
@ ToggleShowLabel
Show or hide each image's display name.
@ RandomizeColor
Set each image in the list to a random color.
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.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16