Isis 3 Programmer Reference
PointTableModel.h
1
#ifndef PointTableModel_H
2
#define PointTableModel_H
3
10
/* SPDX-License-Identifier: CC0-1.0 */
11
12
#include "AbstractTableModel.h"
13
14
15
class
QStringList
;
16
template
<
class
T >
class
QList
;
17
18
19
namespace
Isis
{
20
class
AbstractTreeItem;
21
class
AbstractTreeModel;
22
39
class
PointTableModel
:
public
AbstractTableModel
{
40
Q_OBJECT
41
42
public
:
43
explicit
PointTableModel
(
AbstractTreeModel
*model);
44
virtual
~
PointTableModel
();
45
46
virtual
QList< AbstractTreeItem * >
getItems(
int
,
int
);
47
virtual
QList< AbstractTreeItem * >
getItems(
AbstractTreeItem
*,
48
AbstractTreeItem
*);
49
virtual
int
getVisibleRowCount()
const
;
50
virtual
QList< AbstractTreeItem * >
getSelectedItems();
51
virtual
QString getWarningMessage(
AbstractTreeItem
const
*,
52
TableColumn
const
*, QString valueToSave)
const
;
53
virtual
void
setGlobalSelection(
bool
selected);
54
virtual
int
indexOfVisibleItem(
AbstractTreeItem
const
*item)
const
;
55
56
static
QString getPointWarningMessage(
AbstractTreeItem
const
*,
57
TableColumn
const
*, QString valueToSave);
58
59
60
public
slots:
61
void
handleTreeSelectionChanged(
QList< AbstractTreeItem * >
);
62
63
64
protected
:
65
virtual
TableColumnList
*createColumns();
66
67
68
private
:
69
PointTableModel
(
const
PointTableModel
&);
70
PointTableModel
&operator=(
PointTableModel
);
71
};
72
}
73
74
#endif
QList
This is free and unencumbered software released into the public domain.
Definition:
BoxcarCachingAlgorithm.h:13
Isis::AbstractTreeModel
Base class for tree models.
Definition:
AbstractTreeModel.h:47
Isis::TableColumn
Definition:
TableColumn.h:26
Isis::AbstractTableModel
Translates the tree model into a table model.
Definition:
AbstractTableModel.h:48
QStringList
Isis::TableColumnList
Definition:
TableColumnList.h:30
Isis::PointTableModel
Table model for control points.
Definition:
PointTableModel.h:39
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
PointTableModel.h