Isis 3 Programmer Reference
AbstractImageItem.h
1
#ifndef AbstractImageItem_H
2
#define AbstractImageItem_H
3
10
/* SPDX-License-Identifier: CC0-1.0 */
11
12
#include "AbstractTreeItem.h"
13
14
class
QString;
15
class
QVariant;
16
17
namespace
Isis
{
18
class
ControlNet;
19
34
class
AbstractImageItem
:
public
virtual
AbstractTreeItem
{
35
public
:
36
AbstractImageItem
(QString imageSerial,
ControlNet
*net,
37
int
avgCharWidth,
AbstractTreeItem
*parent = 0);
38
virtual
~
AbstractImageItem
();
39
40
QVariant getData()
const
;
41
QVariant getData(QString columnTitle)
const
;
42
void
setData(QString
const
&columnTitle, QString
const
&newData);
43
bool
isDataEditable(QString columnTitle)
const
;
44
void
deleteSource();
45
InternalPointerType getPointerType()
const
;
46
void
*getPointer()
const
;
47
bool
hasImage(QString imageSerial)
const
;
48
49
50
protected
:
51
virtual
void
sourceDeleted
();
52
53
private
:
// disable copying of this class
54
AbstractImageItem
(
const
AbstractImageItem
&other);
55
const
AbstractImageItem
&operator=(
const
AbstractImageItem
&other);
56
57
58
private
:
59
QPair<QString, ControlNet *>
*m_imageAndNet;
60
};
61
}
62
63
#endif
Isis::AbstractImageItem
Base class for an image item in the tree.
Definition:
AbstractImageItem.h:34
Isis::ControlNet
a control network
Definition:
ControlNet.h:257
QPair
This is free and unencumbered software released into the public domain.
Definition:
CubeIoHandler.h:23
Isis::AbstractImageItem::sourceDeleted
virtual void sourceDeleted()
This method is required to be implemented by the parent AbstractTreeItem class, but for this it's a N...
Definition:
AbstractImageItem.cpp:88
Isis::AbstractTreeItem
Base class for an item in the tree.
Definition:
AbstractTreeItem.h:39
Isis
This is free and unencumbered software released into the public domain.
Definition:
Apollo.h:16
src
qisis
objs
CnetEditorWidget
AbstractImageItem.h