Isis Developer Reference
|
Base class for a point item in the tree. More...
#include <AbstractPointItem.h>
Public Types | |
enum | Column { Id = 0 , PointType = 1 , ChooserName = 2 , DateTime = 3 , EditLock = 4 , Ignored = 5 , Reference = 6 , AdjustedSPLat = 7 , AdjustedSPLon = 8 , AdjustedSPRadius = 9 , AdjustedSPLatSigma = 10 , AdjustedSPLonSigma = 11 , AdjustedSPRadiusSigma = 12 , APrioriSPLat = 13 , APrioriSPLon = 14 , APrioriSPRadius = 15 , APrioriSPLatSigma = 16 , APrioriSPLonSigma = 17 , APrioriSPRadiusSigma = 18 , APrioriSPSource = 19 , APrioriSPSourceFile = 20 , APrioriRadiusSource = 21 , APrioriRadiusSourceFile = 22 , JigsawRejected = 23 } |
enum | InternalPointerType { None , Point , Measure , ImageAndNet } |
Public Member Functions | |
AbstractPointItem (ControlPoint *cp, int avgCharWidth, AbstractTreeItem *parent=0) | |
virtual | ~AbstractPointItem () |
QVariant | getData () const |
QVariant | getData (QString columnTitle) const |
void | setData (QString const &columnTitle, QString const &newData) |
bool | isDataEditable (QString columnTitle) const |
void | deleteSource () |
InternalPointerType | getPointerType () const |
void * | getPointer () const |
bool | hasPoint (ControlPoint *) const |
AbstractTreeItem * | parent () const |
void | setParent (AbstractTreeItem *newParent) |
int | row () const |
virtual void | addChild (AbstractTreeItem *child)=0 |
virtual QList< AbstractTreeItem * > | getChildren () const =0 |
virtual AbstractTreeItem * | childAt (int row) const =0 |
virtual int | childCount () const =0 |
virtual AbstractTreeItem * | getFirstVisibleChild () const =0 |
virtual AbstractTreeItem * | getLastVisibleChild () const =0 |
virtual int | indexOf (AbstractTreeItem *child) const =0 |
virtual void | setFirstVisibleChild (AbstractTreeItem *child)=0 |
virtual void | setLastVisibleChild (AbstractTreeItem *child)=0 |
virtual QString | getFormattedData () const |
virtual QString | getFormattedData (QString columnTitle) const |
virtual bool | hasMeasure (ControlMeasure *) const |
virtual bool | hasImage (QString imageSerial) const |
virtual AbstractTreeItem * | getNextVisiblePeer () const |
virtual void | setNextVisiblePeer (AbstractTreeItem *next) |
virtual void | setExpanded (bool newState) |
virtual bool | isExpanded () const |
virtual void | setSelected (bool newState) |
virtual void | setSelectable (bool newSelectable) |
virtual bool | isSelected () const |
virtual bool | isSelectable () const |
virtual void | setVisible (bool newState) |
virtual bool | isVisible () const |
virtual int | getDataWidth () const |
virtual int | getDepth () const |
virtual void | setLastVisibleFilteredItem (AbstractTreeItem *item) |
virtual const AbstractTreeItem * | getLastVisibleFilteredItem () const |
Static Public Member Functions | |
static QString | getColumnName (Column) |
static Column | getColumn (QString) |
static TableColumnList * | createColumns () |
Static Public Attributes | |
static const int | COLS = 24 |
Protected Member Functions | |
virtual void | sourceDeleted () |
virtual void | calcDataWidth (int avgCharWidth) |
Static Protected Member Functions | |
static double | catchNull (QString) |
static QString | catchNull (QVariant) |
Base class for a point item in the tree.
This class represents a point item in the tree. This is generally visualized as a point id. This has columns for compatibility with the table models.
|
inherited |
Isis::AbstractPointItem::AbstractPointItem | ( | ControlPoint * | cp, |
int | avgCharWidth, | ||
AbstractTreeItem * | parent = 0 ) |
References Isis::AbstractTreeItem::calcDataWidth(), and sourceDeleted().
|
virtual |
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, Isis::AbstractParentItem, Isis::ConnectionParentItem, and Isis::PointParentItem.
|
protectedvirtualinherited |
|
staticprotectedinherited |
References Isis::Null.
Referenced by Isis::AbstractTreeItem::getFormattedData(), Isis::AbstractTreeItem::getFormattedData(), Isis::AbstractMeasureItem::setData(), and setData().
|
staticprotectedinherited |
References Isis::Null.
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::AbstractTreeItem::hasImage(), Isis::AbstractTreeItem::hasMeasure(), and Isis::AbstractTreeItem::hasPoint().
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::AbstractTreeItem::hasImage(), Isis::AbstractTreeItem::hasMeasure(), and Isis::AbstractTreeItem::hasPoint().
|
static |
References AdjustedSPLat, AdjustedSPLatSigma, AdjustedSPLon, AdjustedSPLonSigma, AdjustedSPRadius, AdjustedSPRadiusSigma, Isis::TableColumnList::append(), APrioriRadiusSource, APrioriRadiusSourceFile, APrioriSPLat, APrioriSPLatSigma, APrioriSPLon, APrioriSPLonSigma, APrioriSPRadius, APrioriSPRadiusSigma, APrioriSPSource, APrioriSPSourceFile, ChooserName, DateTime, EditLock, getColumnName(), Id, Ignored, JigsawRejected, and Reference.
Referenced by Isis::PointTableModel::createColumns().
|
virtual |
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::TableViewContent::mouseMoveEvent(), Isis::TableViewContent::mousePressEvent(), and Isis::TreeViewContent::mousePressEvent().
|
static |
References _FILEINFO_, COLS, getColumnName(), and Isis::IException::Programmer.
Referenced by getData(), Isis::PointTableModel::getPointWarningMessage(), Isis::PointTableDelegate::getWidget(), isDataEditable(), Isis::PointTableDelegate::readData(), Isis::PointTableDelegate::readData(), Isis::PointTableDelegate::saveData(), and setData().
|
static |
References AdjustedSPLat, AdjustedSPLatSigma, AdjustedSPLon, AdjustedSPLonSigma, AdjustedSPRadius, AdjustedSPRadiusSigma, APrioriRadiusSource, APrioriRadiusSourceFile, APrioriSPLat, APrioriSPLatSigma, APrioriSPLon, APrioriSPLonSigma, APrioriSPRadius, APrioriSPRadiusSigma, APrioriSPSource, APrioriSPSourceFile, ChooserName, DateTime, EditLock, Id, Ignored, JigsawRejected, PointType, and Reference.
Referenced by createColumns(), getColumn(), getData(), Isis::CnetEditorWidget::readSettings(), and Isis::CnetEditorWidget::writeSettings().
|
virtual |
Implements Isis::AbstractTreeItem.
References getColumnName(), getData(), and Id.
Referenced by getData().
|
virtual |
Implements Isis::AbstractTreeItem.
References AdjustedSPLat, AdjustedSPLatSigma, AdjustedSPLon, AdjustedSPLonSigma, AdjustedSPRadius, AdjustedSPRadiusSigma, APrioriRadiusSource, APrioriRadiusSourceFile, APrioriSPLat, APrioriSPLatSigma, APrioriSPLon, APrioriSPLonSigma, APrioriSPRadius, APrioriSPRadiusSigma, APrioriSPSource, APrioriSPSourceFile, ChooserName, DateTime, Isis::Angle::degrees(), EditLock, Isis::ControlPoint::GetAdjustedSurfacePoint(), Isis::ControlPoint::GetAprioriRadiusSourceFile(), Isis::ControlPoint::GetAprioriSurfacePoint(), Isis::ControlPoint::GetAprioriSurfacePointSourceFile(), Isis::ControlPoint::GetChooserName(), getColumn(), Isis::ControlPoint::GetDateTime(), Isis::ControlPoint::GetId(), Isis::CnetDisplayProperties::getInstance(), Isis::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLocalRadius(), Isis::SurfacePoint::GetLongitude(), Isis::ControlPoint::GetNumMeasures(), Isis::ControlPoint::GetPointTypeString(), Isis::ControlPoint::GetRadiusSourceString(), Isis::ControlPoint::GetRefMeasure(), Isis::ControlPoint::GetSurfacePointSourceString(), Id, Ignored, Isis::ControlPoint::IsEditLocked(), Isis::ControlPoint::IsIgnored(), Isis::ControlPoint::IsRejected(), JigsawRejected, Isis::Distance::meters(), PointType, and Reference.
|
virtualinherited |
References _FILEINFO_, and Isis::IException::Programmer.
|
virtualinherited |
References Isis::AbstractTreeItem::parent().
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::TreeViewContent::mouseMoveEvent(), and Isis::TreeViewContent::mousePressEvent().
|
virtualinherited |
References Isis::AbstractTreeItem::catchNull(), and Isis::AbstractTreeItem::getData().
Referenced by Isis::AbstractTreeItem::calcDataWidth(), Isis::AbstractMeasureItem::deleteSource(), deleteSource(), Isis::MeasureTableModel::getMeasureWarningMessage(), Isis::PointTableModel::getPointWarningMessage(), Isis::MeasureTableDelegate::readData(), Isis::PointTableDelegate::readData(), Isis::MeasureTableDelegate::readData(), and Isis::PointTableDelegate::readData().
|
virtualinherited |
References Isis::AbstractTreeItem::catchNull(), and Isis::AbstractTreeItem::getData().
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::AbstractTreeModel::getItems().
|
virtualinherited |
Reimplemented in Isis::RootItem.
|
virtualinherited |
Referenced by Isis::AbstractTreeModel::getVisibleTopLevelItemCount().
|
virtual |
Implements Isis::AbstractTreeItem.
|
virtual |
Implements Isis::AbstractTreeItem.
References Isis::AbstractTreeItem::Point.
|
virtualinherited |
Reimplemented in Isis::AbstractImageItem.
References Isis::AbstractTreeItem::childAt(), and Isis::AbstractTreeItem::childCount().
Referenced by Isis::AbstractImageItem::hasImage().
|
virtualinherited |
Reimplemented in Isis::AbstractMeasureItem.
References Isis::AbstractTreeItem::childAt(), and Isis::AbstractTreeItem::childCount().
|
virtual |
Reimplemented from Isis::AbstractTreeItem.
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::AbstractTreeItem::row().
|
virtual |
Implements Isis::AbstractTreeItem.
References EditLock, getColumn(), and Isis::ControlPoint::IsEditLocked().
|
virtualinherited |
|
virtualinherited |
Reimplemented in Isis::BusyLeafItem.
Referenced by Isis::TreeViewContent::mouseMoveEvent(), and Isis::TreeViewContent::mousePressEvent().
|
virtualinherited |
|
virtualinherited |
|
inherited |
|
inherited |
References Isis::AbstractTreeItem::indexOf().
Referenced by Isis::AbstractParentItem::childAt().
|
virtual |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, AdjustedSPLat, AdjustedSPLatSigma, AdjustedSPLon, AdjustedSPLonSigma, AdjustedSPRadius, AdjustedSPRadiusSigma, APrioriRadiusSource, APrioriRadiusSourceFile, APrioriSPLat, APrioriSPLatSigma, APrioriSPLon, APrioriSPLonSigma, APrioriSPRadius, APrioriSPRadiusSigma, APrioriSPSource, APrioriSPSourceFile, Isis::AbstractTreeItem::catchNull(), ChooserName, DateTime, Isis::Angle::Degrees, EditLock, Isis::ControlPoint::GetAdjustedSurfacePoint(), Isis::ControlPoint::GetAprioriSurfacePoint(), getColumn(), Isis::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLocalRadius(), Isis::SurfacePoint::GetLongitude(), Id, Ignored, JigsawRejected, Isis::Distance::Meters, PointType, Isis::IException::Programmer, Reference, Isis::ControlPoint::SetAdjustedSurfacePoint(), Isis::ControlPoint::SetAprioriRadiusSource(), Isis::ControlPoint::SetAprioriRadiusSourceFile(), Isis::ControlPoint::SetAprioriSurfacePoint(), Isis::ControlPoint::SetAprioriSurfacePointSource(), Isis::ControlPoint::SetAprioriSurfacePointSourceFile(), Isis::ControlPoint::SetChooserName(), Isis::ControlPoint::SetDateTime(), Isis::ControlPoint::SetEditLock(), Isis::ControlPoint::SetId(), Isis::ControlPoint::SetIgnored(), Isis::ControlPoint::SetRefMeasure(), Isis::ControlPoint::SetType(), Isis::ControlPoint::StringToPointType(), Isis::ControlPoint::StringToRadiusSource(), and Isis::ControlPoint::StringToSurfacePointSource().
|
virtualinherited |
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
|
virtualinherited |
Reimplemented in Isis::RootItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
virtualinherited |
|
inherited |
Referenced by Isis::AbstractParentItem::addChild().
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
protectedvirtual |
Implements Isis::AbstractTreeItem.
Referenced by AbstractPointItem().
|
static |
Referenced by getColumn().