Isis 3.0 Programmer Reference
Back
|
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
PointTableModel.h
1
#ifndef PointTableModel_H
2
#define PointTableModel_H
3
4
5
#include "AbstractTableModel.h"
6
7
8
class
QStringList
;
9
template
<
class
T >
class
QList
;
10
11
12
namespace
Isis {
13
namespace
CnetViz {
14
class
AbstractTreeItem;
15
class
AbstractTreeModel;
16
32
class
PointTableModel
:
public
AbstractTableModel
{
33
Q_OBJECT
34
35
public
:
36
explicit
PointTableModel
(
AbstractTreeModel
*model);
37
virtual
~
PointTableModel
();
38
39
virtual
QList< AbstractTreeItem * >
getItems(
int
,
int
);
40
virtual
QList< AbstractTreeItem * >
getItems(
AbstractTreeItem
*,
41
AbstractTreeItem
*);
42
virtual
int
getVisibleRowCount()
const
;
43
virtual
QList< AbstractTreeItem * >
getSelectedItems();
44
virtual
QString getWarningMessage(
AbstractTreeItem
const
*,
45
TableColumn
const
*, QString valueToSave)
const
;
46
virtual
void
setGlobalSelection(
bool
selected);
47
virtual
int
indexOfVisibleItem(
AbstractTreeItem
const
*item)
const
;
48
49
static
QString getPointWarningMessage(
AbstractTreeItem
const
*,
50
TableColumn
const
*, QString valueToSave);
51
52
53
public
slots:
54
void
handleTreeSelectionChanged(
QList< AbstractTreeItem * >
);
55
56
57
protected
:
58
virtual
TableColumnList
*createColumns();
59
60
61
private
:
62
PointTableModel
(
const
PointTableModel
&);
63
PointTableModel
&operator=(
PointTableModel
);
64
};
65
}
66
}
67
68
#endif
Isis::CnetViz::TableColumnList
Definition:
TableColumnList.h:22
QStringList
Isis::CnetViz::AbstractTableModel
Translates the tree model into a table model.
Definition:
AbstractTableModel.h:40
Isis::CnetViz::AbstractTreeItem
Base class for an item in the tree.
Definition:
AbstractTreeItem.h:31
Isis::CnetViz::TableColumn
Definition:
TableColumn.h:18
Isis::CnetViz::AbstractTreeModel
Base class for tree models.
Definition:
AbstractTreeModel.h:40
QList
Definition:
BoxcarCachingAlgorithm.h:29
Isis::CnetViz::PointTableModel
Table model for control points.
Definition:
PointTableModel.h:32
U.S. Department of the Interior
|
U.S. Geological Survey
ISIS
|
Privacy & Disclaimers
|
Astrogeology Research Program
To contact us, please post comments and questions on the
ISIS Support Center
File Modified: 07/12/2023 23:25:49