Isis 3.0 Developer's Reference (
API
)
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
AbstractImageItem.h
Go to the documentation of this file.
1
#ifndef AbstractImageItem_H
2
#define AbstractImageItem_H
3
4
5
#include "
AbstractTreeItem.h
"
6
7
8
class
QString;
9
class
QVariant;
10
11
12
namespace
Isis {
13
class
ControlCubeGraphNode;
14
15
namespace
CnetViz {
16
28
class
AbstractImageItem
:
public
virtual
AbstractTreeItem
{
29
public
:
30
AbstractImageItem
(
ControlCubeGraphNode
*cubeGraphNode,
31
int
avgCharWidth,
AbstractTreeItem
*
parent
= 0);
32
virtual
~AbstractImageItem
();
33
34
QVariant
getData
()
const
;
35
QVariant
getData
(QString columnTitle)
const
;
36
void
setData
(QString
const
&columnTitle, QString
const
&newData);
37
bool
isDataEditable
(QString columnTitle)
const
;
38
void
deleteSource
();
39
InternalPointerType
getPointerType
()
const
;
40
void
*
getPointer
()
const
;
41
bool
hasNode
(
ControlCubeGraphNode
*)
const
;
42
43
44
protected
:
45
virtual
void
sourceDeleted
();
46
47
private
:
// disable copying of this class
48
AbstractImageItem
(
const
AbstractImageItem
&other);
49
const
AbstractImageItem
&operator=(
const
AbstractImageItem
&other);
50
51
52
private
:
53
ControlCubeGraphNode
*m_ccgn;
54
};
55
}
56
}
57
58
#endif