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
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:
65 virtual TableColumnList *createColumns();
66
67
68 private:
71 };
72}
73
74#endif
Translates the tree model into a table model.
Base class for an item in the tree.
Base class for tree models.
Table model for control points.
This is free and unencumbered software released into the public domain.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16