Isis 3 Developer Reference
PointTableModel.h
Go to the documentation of this file.
1 #ifndef PointTableModel_H
2 #define PointTableModel_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 
33  Q_OBJECT
34 
35  public:
36  explicit PointTableModel(AbstractTreeModel *model);
37  virtual ~PointTableModel();
38 
39  virtual QList< AbstractTreeItem * > getItems(int, int);
42  virtual int getVisibleRowCount() const;
44  virtual QString getWarningMessage(AbstractTreeItem const *,
45  TableColumn const *, QString valueToSave) const;
46  virtual void setGlobalSelection(bool selected);
47  virtual int indexOfVisibleItem(AbstractTreeItem const *item) const;
48 
49  static QString getPointWarningMessage(AbstractTreeItem const *,
50  TableColumn const *, QString valueToSave);
51 
52 
53  public slots:
55 
56 
57  protected:
58  virtual TableColumnList *createColumns();
59 
60 
61  private:
63  PointTableModel &operator=(PointTableModel);
64  };
65 }
66 
67 #endif
Base class for tree models.
Definition: AbstractTreeModel.h:39
virtual ~PointTableModel()
Definition: PointTableModel.cpp:42
virtual int indexOfVisibleItem(AbstractTreeItem const *item) const
Definition: PointTableModel.cpp:82
virtual QString getWarningMessage(AbstractTreeItem const *, TableColumn const *, QString valueToSave) const
Definition: PointTableModel.cpp:70
void handleTreeSelectionChanged(QList< AbstractTreeItem * >)
Definition: PointTableModel.cpp:161
Translates the tree model into a table model.
Definition: AbstractTableModel.h:40
Definition: TableColumn.h:18
Definition: TableColumnList.h:22
static QString getPointWarningMessage(AbstractTreeItem const *, TableColumn const *, QString valueToSave)
Definition: PointTableModel.cpp:90
virtual QList< AbstractTreeItem *> getSelectedItems()
Definition: PointTableModel.cpp:64
virtual void setGlobalSelection(bool selected)
Definition: PointTableModel.cpp:76
virtual int getVisibleRowCount() const
Definition: PointTableModel.cpp:58
PointTableModel(AbstractTreeModel *model)
Definition: PointTableModel.cpp:31
virtual TableColumnList * createColumns()
Definition: PointTableModel.cpp:180
Definition: BoxcarCachingAlgorithm.h:29
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
virtual QList< AbstractTreeItem *> getItems(int, int)
Definition: PointTableModel.cpp:46
Base class for an item in the tree.
Definition: AbstractTreeItem.h:31
Table model for control points.
Definition: PointTableModel.h:32