Isis 3 Programmer Reference
AbstractLeafItem.h
1
#ifndef AbstractLeafItem_H
2
#define AbstractLeafItem_H
3
10
/* SPDX-License-Identifier: CC0-1.0 */
11
12
#include "AbstractTreeItem.h"
13
14
15
template
<
typename
T >
class
QList
;
16
class
QVariant;
17
18
19
namespace
Isis
{
20
31
class
AbstractLeafItem
:
public
virtual
AbstractTreeItem
{
32
public
:
33
AbstractLeafItem
(
AbstractTreeItem
*parent = 0);
34
virtual
~
AbstractLeafItem
();
35
36
virtual
AbstractTreeItem
*childAt(
int
row)
const
;
37
virtual
QList< AbstractTreeItem * >
getChildren()
const
;
38
virtual
int
indexOf(
AbstractTreeItem
*child)
const
;
39
virtual
int
childCount()
const
;
40
virtual
void
addChild(
AbstractTreeItem
*child);
41
virtual
AbstractTreeItem
*getFirstVisibleChild()
const
;
42
virtual
AbstractTreeItem
*getLastVisibleChild()
const
;
43
virtual
void
setFirstVisibleChild(
AbstractTreeItem
*);
44
virtual
void
setLastVisibleChild(
AbstractTreeItem
*);
45
46
47
private
:
// disable copying of this class
48
AbstractLeafItem
(
const
AbstractLeafItem
&);
49
const
AbstractLeafItem
&operator=(
const
AbstractLeafItem
&);
50
};
51
}
52
53
#endif
QList
This is free and unencumbered software released into the public domain.
Definition:
BoxcarCachingAlgorithm.h:13
Isis::AbstractLeafItem
Base class for leaf items in the tree.
Definition:
AbstractLeafItem.h:31
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
AbstractLeafItem.h