Isis 3 Programmer Reference
MeasureTableModel.h
1#ifndef MeasureTableModel_H
2#define MeasureTableModel_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 class TableColumn;
23 class TableColumnList;
24
43 Q_OBJECT
44
45 public:
46 explicit MeasureTableModel(AbstractTreeModel *model);
47 virtual ~MeasureTableModel();
48
49 virtual QList< AbstractTreeItem * > getItems(int, int);
50 virtual QList< AbstractTreeItem * > getItems(AbstractTreeItem *,
52 virtual int getVisibleRowCount() const;
53 virtual QList< AbstractTreeItem * > getSelectedItems();
54 virtual QString getWarningMessage(AbstractTreeItem const *,
55 TableColumn const *, QString valueToSave) const;
56 virtual void setGlobalSelection(bool selected);
57 virtual int indexOfVisibleItem(AbstractTreeItem const *item) const;
58
59 static QString getMeasureWarningMessage(AbstractTreeItem const *,
60 TableColumn const *, QString valueToSave);
61
62
63 public slots:
64 void handleTreeSelectionChanged(QList< AbstractTreeItem * >);
65
66
67 protected:
68 virtual TableColumnList *createColumns();
69
70
71 private slots:
72 void calculateFilterCounts();
73
74
75 private:
77 MeasureTableModel &operator=(MeasureTableModel const &);
78 };
79}
80
81#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 measures.
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