Isis 3 Programmer Reference
PointTableModel.h
1#ifndef PointTableModel_H
2#define PointTableModel_H
3
9
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;
22
48 class PointTableModel : public AbstractTableModel {
49 Q_OBJECT
50
51 public:
52 explicit PointTableModel(AbstractTreeModel *model);
53 virtual ~PointTableModel();
54
55 virtual QList< AbstractTreeItem * > getItems(int, int);
58 virtual int getVisibleRowCount() const;
59 virtual QList< AbstractTreeItem * > getSelectedItems();
60 virtual QString getWarningMessage(AbstractTreeItem const *,
61 TableColumn const *, QString valueToSave) const;
62 virtual void setGlobalSelection(bool selected);
63 virtual int indexOfVisibleItem(AbstractTreeItem const *item) const;
64
65 static QString getPointWarningMessage(AbstractTreeItem const *,
66 TableColumn const *, QString valueToSave);
67
68 public slots:
69 void handleTreeSelectionChanged(QList< AbstractTreeItem * >);
70 void resetColumnHeaders();
71
72
73 protected:
74 virtual TableColumnList *createColumns();
75
76
77 private:
78 PointTableModel(const PointTableModel &);
79 PointTableModel &operator=(PointTableModel);
80 };
81}
82
83#endif
Base class for an item in the tree.
Base class for tree models.
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