Isis 3.0 Object Programmers' Reference
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ImageListActionWorkOrder.h
1
#ifndef ImageListActionWorkOrder_H
2
#define ImageListActionWorkOrder_H
3
4
#include "
WorkOrder.h
"
5
6
class
QStringList
;
7
class
QXmlStreamWriter;
8
9
namespace
Isis {
56
class
ImageListActionWorkOrder
:
public
WorkOrder
{
57
Q_OBJECT
58
59
public
:
60
enum
Action {
61
UnknownAction = 0,
62
ChangeTransparency,
63
ChangeColor,
64
RandomizeColor,
65
ToggleShowLabel,
66
ToggleShowFilled,
67
ToggleShowCubeData,
68
ToggleShowOutline
69
};
70
71
ImageListActionWorkOrder
(
Project
*project);
72
ImageListActionWorkOrder
(Action action,
Project
*project);
73
ImageListActionWorkOrder
(
const
ImageListActionWorkOrder
&other);
74
~
ImageListActionWorkOrder
();
75
76
ImageListActionWorkOrder
*
clone
()
const
;
77
78
bool
isExecutable
(
ImageList
*images);
79
void
setData
(
ImageList
*images);
80
81
bool
execute
();
82
void
syncRedo
();
83
void
syncUndo
();
84
85
static
QString qualifyString(QString unqualifiedString,
ImageList
*);
86
static
QString toString(Action);
87
static
Action fromActionString(QString);
88
89
signals:
90
void
bringToFront();
91
92
private
:
93
ImageListActionWorkOrder
&operator=(
const
ImageListActionWorkOrder
&rhs);
94
};
95
}
96
97
#endif