Isis Developer Reference
PointTableModel.h
Go to the documentation of this file.
1 #ifndef PointTableModel_H
2 #define PointTableModel_H
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include "AbstractTableModel.h"
13 
14 
15 class QStringList;
16 template< class T > class QList;
17 
18 
19 namespace Isis {
20  class AbstractTreeItem;
21  class AbstractTreeModel;
22 
40  Q_OBJECT
41 
42  public:
43  explicit PointTableModel(AbstractTreeModel *model);
44  virtual ~PointTableModel();
45 
46  virtual QList< AbstractTreeItem * > getItems(int, int);
49  virtual int getVisibleRowCount() const;
51  virtual QString getWarningMessage(AbstractTreeItem const *,
52  TableColumn const *, QString valueToSave) const;
53  virtual void setGlobalSelection(bool selected);
54  virtual int indexOfVisibleItem(AbstractTreeItem const *item) const;
55 
56  static QString getPointWarningMessage(AbstractTreeItem const *,
57  TableColumn const *, QString valueToSave);
58 
59 
60  public slots:
62 
63 
64  protected:
65  virtual TableColumnList *createColumns();
66 
67 
68  private:
70  PointTableModel &operator=(PointTableModel);
71  };
72 }
73 
74 #endif
Isis::AbstractTableModel::getDataModel
AbstractTreeModel * getDataModel()
Definition: AbstractTableModel.cpp:207
Isis::AbstractTreeItem::Point
@ Point
Definition: AbstractTreeItem.h:46
Isis::AbstractPointItem::EditLock
@ EditLock
Definition: AbstractPointItem.h:49
Isis::PointTableModel::getSelectedItems
virtual QList< AbstractTreeItem * > getSelectedItems()
Definition: PointTableModel.cpp:72
Isis::AbstractTreeModel::PointItems
@ PointItems
Definition: AbstractTreeModel.h:52
Isis::AbstractTreeModel::AllItems
@ AllItems
Definition: AbstractTreeModel.h:55
Isis::AbstractTreeItem::parent
AbstractTreeItem * parent() const
Definition: AbstractTreeItem.cpp:46
TableColumn.h
Isis::PointTableModel::getWarningMessage
virtual QString getWarningMessage(AbstractTreeItem const *, TableColumn const *, QString valueToSave) const
Definition: PointTableModel.cpp:78
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Isis::AbstractTreeModel::setGlobalSelection
void setGlobalSelection(bool selected, InterestingItemsFlag=AllItems)
Definition: AbstractTreeModel.cpp:483
PointTableDelegate.h
Isis::AbstractTreeModel
Base class for tree models.
Definition: AbstractTreeModel.h:47
Isis::PointTableModel::~PointTableModel
virtual ~PointTableModel()
Definition: PointTableModel.cpp:50
SpecialPixel.h
Isis::AbstractTableModel::handleTreeSelectionChanged
void handleTreeSelectionChanged(QList< AbstractTreeItem * > newlySelectedItems, AbstractTreeItem::InternalPointerType)
Definition: AbstractTableModel.cpp:303
Isis::PointTableDelegate
Delegate for creating, reading, and saving data in the point table.
Definition: PointTableDelegate.h:33
Isis::AbstractTreeItem::Measure
@ Measure
Definition: AbstractTreeItem.h:47
Isis::AbstractTableModel::getSortedItems
virtual QList< AbstractTreeItem * > getSortedItems(int, int, AbstractTreeModel::InterestingItems)
Definition: AbstractTableModel.cpp:219
AbstractTableModel.h
AbstractPointItem.h
Longitude.h
Isis::ControlPoint::GetAprioriSurfacePoint
SurfacePoint GetAprioriSurfacePoint() const
Definition: ControlPoint.cpp:1566
Isis::AbstractTableModel::treeSelectionChanged
void treeSelectionChanged(QList< AbstractTreeItem * >)
AbstractTableDelegate.h
Isis::TableColumn
Definition: TableColumn.h:26
Isis::PointTableModel::createColumns
virtual TableColumnList * createColumns()
Definition: PointTableModel.cpp:188
Isis::AbstractPointItem::APrioriSPRadiusSigma
@ APrioriSPRadiusSigma
Definition: AbstractPointItem.h:63
Isis::PointTableModel::indexOfVisibleItem
virtual int indexOfVisibleItem(AbstractTreeItem const *item) const
Definition: PointTableModel.cpp:90
Isis::AbstractTableModel
Translates the tree model into a table model.
Definition: AbstractTableModel.h:48
QStringList
IString.h
PointTableModel.h
Isis::AbstractPointItem::getColumn
static Column getColumn(QString)
Definition: AbstractPointItem.cpp:87
Isis::ControlPoint
A single control point.
Definition: ControlPoint.h:354
Isis::AbstractPointItem::Column
Column
Definition: AbstractPointItem.h:44
Latitude.h
Isis::TableColumnList
Definition: TableColumnList.h:30
Isis::AbstractTreeModel::getSelectedItems
QList< AbstractTreeItem * > getSelectedItems(InterestingItemsFlag=AllItems, bool=false)
Definition: AbstractTreeModel.cpp:232
Isis::AbstractPointItem::APrioriSPRadius
@ APrioriSPRadius
Definition: AbstractPointItem.h:60
Isis::PointTableModel::getPointWarningMessage
static QString getPointWarningMessage(AbstractTreeItem const *, TableColumn const *, QString valueToSave)
Definition: PointTableModel.cpp:98
Isis::AbstractPointItem::APrioriSPLat
@ APrioriSPLat
Definition: AbstractPointItem.h:58
Isis::AbstractPointItem::APrioriSPLatSigma
@ APrioriSPLatSigma
Definition: AbstractPointItem.h:61
ControlPoint.h
Isis::TableColumn::getTitle
QString getTitle() const
Definition: TableColumn.cpp:49
ASSERT
#define ASSERT(x)
Definition: IsisDebug.h:134
Isis::AbstractTreeItem::getFormattedData
virtual QString getFormattedData() const
Definition: AbstractTreeItem.cpp:66
Isis::AbstractPointItem::APrioriSPLonSigma
@ APrioriSPLonSigma
Definition: AbstractPointItem.h:62
IException.h
Isis::AbstractTableModel::filterCountsChanged
void filterCountsChanged(int visibleRows, int totalRows)
AbstractTreeModel.h
Isis::PointTableModel::PointTableModel
PointTableModel(AbstractTreeModel *model)
Definition: PointTableModel.cpp:39
Isis::AbstractTreeItem::getPointer
virtual void * getPointer() const =0
Isis::PointTableModel::setGlobalSelection
virtual void setGlobalSelection(bool selected)
Definition: PointTableModel.cpp:84
Isis::PointTableModel
Table model for control points.
Definition: PointTableModel.h:39
Isis::PointTableModel::getVisibleRowCount
virtual int getVisibleRowCount() const
Definition: PointTableModel.cpp:66
Isis::AbstractTreeItem::getPointerType
virtual InternalPointerType getPointerType() const =0
Distance.h
Isis::AbstractPointItem::APrioriSPLon
@ APrioriSPLon
Definition: AbstractPointItem.h:59
Isis::AbstractPointItem::createColumns
static TableColumnList * createColumns()
Definition: AbstractPointItem.cpp:99
IsisDebug.h
TableColumnList.h
Isis::AbstractTreeItem
Base class for an item in the tree.
Definition: AbstractTreeItem.h:39
Isis::AbstractTreeModel::indexOfVisibleItem
int indexOfVisibleItem(AbstractTreeItem const *item, InterestingItemsFlag=AllItems, bool=false) const
Definition: AbstractTreeModel.cpp:308
Isis::AbstractTreeModel::getVisibleItemCount
int getVisibleItemCount(InterestingItemsFlag, bool) const
Definition: AbstractTreeModel.cpp:270
ControlMeasure.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::PointTableModel::getItems
virtual QList< AbstractTreeItem * > getItems(int, int)
Definition: PointTableModel.cpp:54
Isis::PointTableModel::handleTreeSelectionChanged
void handleTreeSelectionChanged(QList< AbstractTreeItem * >)
Definition: PointTableModel.cpp:169