Isis 3 Programmer Reference
AbstractLeafItem.h
1
#ifndef AbstractLeafItem_H
2
#define AbstractLeafItem_H
3
4
5
#include "AbstractTreeItem.h"
6
7
8
template
<
typename
T >
class
QList
;
9
class
QVariant;
10
11
12
namespace
Isis
{
13
24
class
AbstractLeafItem
:
public
virtual
AbstractTreeItem
{
25
public
:
26
AbstractLeafItem
(
AbstractTreeItem
*parent = 0);
27
virtual
~
AbstractLeafItem
();
28
29
virtual
AbstractTreeItem
*childAt(
int
row)
const
;
30
virtual
QList< AbstractTreeItem * >
getChildren()
const
;
31
virtual
int
indexOf(
AbstractTreeItem
*child)
const
;
32
virtual
int
childCount()
const
;
33
virtual
void
addChild(
AbstractTreeItem
*child);
34
virtual
AbstractTreeItem
*getFirstVisibleChild()
const
;
35
virtual
AbstractTreeItem
*getLastVisibleChild()
const
;
36
virtual
void
setFirstVisibleChild(
AbstractTreeItem
*);
37
virtual
void
setLastVisibleChild(
AbstractTreeItem
*);
38
39
40
private
:
// disable copying of this class
41
AbstractLeafItem
(
const
AbstractLeafItem
&);
42
const
AbstractLeafItem
&operator=(
const
AbstractLeafItem
&);
43
};
44
}
45
46
#endif
Isis::AbstractLeafItem
Base class for leaf items in the tree.
Definition:
AbstractLeafItem.h:24
QList
Definition:
BoxcarCachingAlgorithm.h:29
Isis
Namespace for ISIS/Bullet specific routines.
Definition:
Apollo.h:31
Isis::AbstractTreeItem
Base class for an item in the tree.
Definition:
AbstractTreeItem.h:31
src
qisis
objs
CnetEditorWidget
AbstractLeafItem.h