Isis 3 Programmer Reference
PointTableModel.h
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;
43  virtual QList< AbstractTreeItem * > getSelectedItems();
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:
54  void handleTreeSelectionChanged(QList< AbstractTreeItem * >);
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.
Translates the tree model into a table model.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Base class for an item in the tree.
Table model for control points.