Isis 3 Developer Reference
MeasureTableModel.h
Go to the documentation of this file.
1 #ifndef MeasureTableModel_H
2 #define MeasureTableModel_H
3 
4 
5 #include "AbstractTableModel.h"
6 
7 
8 class QStringList;
9 template< class T > class QList;
10 
11 
12 namespace Isis {
13  class AbstractTreeItem;
14  class AbstractTreeModel;
15  class TableColumn;
16  class TableColumnList;
17 
36  Q_OBJECT
37 
38  public:
39  explicit MeasureTableModel(AbstractTreeModel *model);
40  virtual ~MeasureTableModel();
41 
42  virtual QList< AbstractTreeItem * > getItems(int, int);
45  virtual int getVisibleRowCount() const;
47  virtual QString getWarningMessage(AbstractTreeItem const *,
48  TableColumn const *, QString valueToSave) const;
49  virtual void setGlobalSelection(bool selected);
50  virtual int indexOfVisibleItem(AbstractTreeItem const *item) const;
51 
52  static QString getMeasureWarningMessage(AbstractTreeItem const *,
53  TableColumn const *, QString valueToSave);
54 
55 
56  public slots:
58 
59 
60  protected:
61  virtual TableColumnList *createColumns();
62 
63 
64  private slots:
65  void calculateFilterCounts();
66 
67 
68  private:
70  MeasureTableModel &operator=(MeasureTableModel const &);
71  };
72 }
73 
74 #endif
virtual TableColumnList * createColumns()
Definition: MeasureTableModel.cpp:129
virtual ~MeasureTableModel()
Definition: MeasureTableModel.cpp:42
virtual int indexOfVisibleItem(AbstractTreeItem const *item) const
Definition: MeasureTableModel.cpp:92
Base class for tree models.
Definition: AbstractTreeModel.h:39
virtual int getVisibleRowCount() const
Definition: MeasureTableModel.cpp:58
Translates the tree model into a table model.
Definition: AbstractTableModel.h:40
void handleTreeSelectionChanged(QList< AbstractTreeItem * >)
Definition: MeasureTableModel.cpp:122
Definition: TableColumn.h:18
virtual QList< AbstractTreeItem *> getSelectedItems()
Definition: MeasureTableModel.cpp:64
Definition: TableColumnList.h:22
virtual QList< AbstractTreeItem *> getItems(int, int)
Definition: MeasureTableModel.cpp:46
virtual void setGlobalSelection(bool selected)
Definition: MeasureTableModel.cpp:76
static QString getMeasureWarningMessage(AbstractTreeItem const *, TableColumn const *, QString valueToSave)
Definition: MeasureTableModel.cpp:99
virtual QString getWarningMessage(AbstractTreeItem const *, TableColumn const *, QString valueToSave) const
Definition: MeasureTableModel.cpp:70
MeasureTableModel(AbstractTreeModel *model)
Definition: MeasureTableModel.cpp:31
Definition: BoxcarCachingAlgorithm.h:29
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Table model for control measures.
Definition: MeasureTableModel.h:35
Base class for an item in the tree.
Definition: AbstractTreeItem.h:31