Isis 3.0 Programmer Reference
Back | Home
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  namespace CnetViz {
14  class AbstractTreeItem;
15  class AbstractTreeModel;
16 
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 
68 #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 points.

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:25:49