1#ifndef ImageListActionWorkOrder_H
2#define ImageListActionWorkOrder_H
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.
~ImageListActionWorkOrder()
Destructor.
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.
@ UnknownAction
Unknown action.
@ MoveDownOne
Move the image backward.
@ ZoomFit
Zoom in on the image so that it fits the screen.
@ MoveToTop
Move the image to the front.
@ MoveUpOne
Move the image forward.
@ 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.
The main project for ipce.
Provide Undo/redo abilities, serialization, and history for an operation.
Project * project() const
Returns the Project this WorkOrder is attached to.
This is free and unencumbered software released into the public domain.