Isis Developer Reference
PointTableModel.h
Go to the documentation of this file.
1#ifndef PointTableModel_H
2#define PointTableModel_H
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include "AbstractTableModel.h"
13
14
15class QStringList;
16template< class T > class QList;
17
18
19namespace Isis {
20 class AbstractTreeItem;
21 class AbstractTreeModel;
22
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 *,
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:
66
67
68 private:
71 };
72}
73
74#endif
Translates the tree model into a table model.
Definition AbstractTableModel.h:48
Base class for an item in the tree.
Definition AbstractTreeItem.h:39
Base class for tree models.
Definition AbstractTreeModel.h:48
Table model for control points.
Definition PointTableModel.h:39
virtual int indexOfVisibleItem(AbstractTreeItem const *item) const
Definition PointTableModel.cpp:88
PointTableModel(AbstractTreeModel *model)
Definition PointTableModel.cpp:37
virtual TableColumnList * createColumns()
Definition PointTableModel.cpp:184
virtual QList< AbstractTreeItem * > getItems(int, int)
Definition PointTableModel.cpp:52
virtual void setGlobalSelection(bool selected)
Definition PointTableModel.cpp:82
static QString getPointWarningMessage(AbstractTreeItem const *, TableColumn const *, QString valueToSave)
Definition PointTableModel.cpp:96
virtual ~PointTableModel()
Definition PointTableModel.cpp:48
virtual QList< AbstractTreeItem * > getSelectedItems()
Definition PointTableModel.cpp:70
virtual int getVisibleRowCount() const
Definition PointTableModel.cpp:64
virtual QString getWarningMessage(AbstractTreeItem const *, TableColumn const *, QString valueToSave) const
Definition PointTableModel.cpp:76
void handleTreeSelectionChanged(QList< AbstractTreeItem * >)
Definition PointTableModel.cpp:165
Definition TableColumn.h:26
Definition TableColumnList.h:30
This is free and unencumbered software released into the public domain.
Definition BoxcarCachingAlgorithm.h:13
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16