Isis Developer Reference
|
A leaf node in the tree structure that represents a control point. More...
#include <PointLeafItem.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 | |
PointLeafItem (ControlPoint *cp, int avgCharWidth, AbstractTreeItem *parent=0) | |
virtual | ~PointLeafItem () |
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 |
virtual AbstractTreeItem * | childAt (int row) const |
virtual QList< AbstractTreeItem * > | getChildren () const |
virtual int | indexOf (AbstractTreeItem *child) const |
virtual int | childCount () const |
virtual void | addChild (AbstractTreeItem *child) |
virtual AbstractTreeItem * | getFirstVisibleChild () const |
virtual AbstractTreeItem * | getLastVisibleChild () const |
virtual void | setFirstVisibleChild (AbstractTreeItem *) |
virtual void | setLastVisibleChild (AbstractTreeItem *) |
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) |
A leaf node in the tree structure that represents a control point.
This class represents a leaf node in the tree model and has a control point as data. When created, it was used in the serial model to show which control points connect which images.
|
inherited |
|
inherited |
Isis::PointLeafItem::PointLeafItem | ( | ControlPoint * | cp, |
int | avgCharWidth, | ||
AbstractTreeItem * | parent = 0 ) |
|
virtual |
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, Isis::AbstractParentItem, Isis::ConnectionParentItem, and Isis::PointParentItem.
|
protectedvirtualinherited |
|
staticprotectedinherited |
|
staticprotectedinherited |
References Isis::Null.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::AbstractTreeItem::hasImage(), Isis::AbstractTreeItem::hasMeasure(), and Isis::AbstractTreeItem::hasPoint().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::AbstractTreeItem::hasImage(), Isis::AbstractTreeItem::hasMeasure(), and Isis::AbstractTreeItem::hasPoint().
|
staticinherited |
References Isis::AbstractPointItem::AdjustedSPLat, Isis::AbstractPointItem::AdjustedSPLatSigma, Isis::AbstractPointItem::AdjustedSPLon, Isis::AbstractPointItem::AdjustedSPLonSigma, Isis::AbstractPointItem::AdjustedSPRadius, Isis::AbstractPointItem::AdjustedSPRadiusSigma, Isis::TableColumnList::append(), Isis::AbstractPointItem::APrioriRadiusSource, Isis::AbstractPointItem::APrioriRadiusSourceFile, Isis::AbstractPointItem::APrioriSPLat, Isis::AbstractPointItem::APrioriSPLatSigma, Isis::AbstractPointItem::APrioriSPLon, Isis::AbstractPointItem::APrioriSPLonSigma, Isis::AbstractPointItem::APrioriSPRadius, Isis::AbstractPointItem::APrioriSPRadiusSigma, Isis::AbstractPointItem::APrioriSPSource, Isis::AbstractPointItem::APrioriSPSourceFile, Isis::AbstractPointItem::ChooserName, Isis::AbstractPointItem::DateTime, Isis::AbstractPointItem::EditLock, Isis::AbstractPointItem::getColumnName(), Isis::AbstractPointItem::Id, Isis::AbstractPointItem::Ignored, Isis::AbstractPointItem::JigsawRejected, and Isis::AbstractPointItem::Reference.
Referenced by Isis::PointTableModel::createColumns().
|
virtualinherited |
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::TableViewContent::mouseMoveEvent(), Isis::TableViewContent::mousePressEvent(), and Isis::TreeViewContent::mousePressEvent().
|
staticinherited |
References _FILEINFO_, Isis::AbstractPointItem::COLS, Isis::AbstractPointItem::getColumnName(), and Isis::IException::Programmer.
Referenced by Isis::AbstractPointItem::getData(), Isis::PointTableModel::getPointWarningMessage(), Isis::PointTableDelegate::getWidget(), Isis::AbstractPointItem::isDataEditable(), Isis::PointTableDelegate::readData(), Isis::PointTableDelegate::readData(), Isis::PointTableDelegate::saveData(), and Isis::AbstractPointItem::setData().
|
staticinherited |
References Isis::AbstractPointItem::AdjustedSPLat, Isis::AbstractPointItem::AdjustedSPLatSigma, Isis::AbstractPointItem::AdjustedSPLon, Isis::AbstractPointItem::AdjustedSPLonSigma, Isis::AbstractPointItem::AdjustedSPRadius, Isis::AbstractPointItem::AdjustedSPRadiusSigma, Isis::AbstractPointItem::APrioriRadiusSource, Isis::AbstractPointItem::APrioriRadiusSourceFile, Isis::AbstractPointItem::APrioriSPLat, Isis::AbstractPointItem::APrioriSPLatSigma, Isis::AbstractPointItem::APrioriSPLon, Isis::AbstractPointItem::APrioriSPLonSigma, Isis::AbstractPointItem::APrioriSPRadius, Isis::AbstractPointItem::APrioriSPRadiusSigma, Isis::AbstractPointItem::APrioriSPSource, Isis::AbstractPointItem::APrioriSPSourceFile, Isis::AbstractPointItem::ChooserName, Isis::AbstractPointItem::DateTime, Isis::AbstractPointItem::EditLock, Isis::AbstractPointItem::Id, Isis::AbstractPointItem::Ignored, Isis::AbstractPointItem::JigsawRejected, Isis::AbstractPointItem::PointType, and Isis::AbstractPointItem::Reference.
Referenced by Isis::AbstractPointItem::createColumns(), Isis::AbstractPointItem::getColumn(), Isis::AbstractPointItem::getData(), Isis::CnetEditorWidget::readSettings(), and Isis::CnetEditorWidget::writeSettings().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References Isis::AbstractPointItem::getColumnName(), Isis::AbstractPointItem::getData(), and Isis::AbstractPointItem::Id.
Referenced by Isis::AbstractPointItem::getData().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References Isis::AbstractPointItem::AdjustedSPLat, Isis::AbstractPointItem::AdjustedSPLatSigma, Isis::AbstractPointItem::AdjustedSPLon, Isis::AbstractPointItem::AdjustedSPLonSigma, Isis::AbstractPointItem::AdjustedSPRadius, Isis::AbstractPointItem::AdjustedSPRadiusSigma, Isis::AbstractPointItem::APrioriRadiusSource, Isis::AbstractPointItem::APrioriRadiusSourceFile, Isis::AbstractPointItem::APrioriSPLat, Isis::AbstractPointItem::APrioriSPLatSigma, Isis::AbstractPointItem::APrioriSPLon, Isis::AbstractPointItem::APrioriSPLonSigma, Isis::AbstractPointItem::APrioriSPRadius, Isis::AbstractPointItem::APrioriSPRadiusSigma, Isis::AbstractPointItem::APrioriSPSource, Isis::AbstractPointItem::APrioriSPSourceFile, Isis::AbstractPointItem::ChooserName, Isis::AbstractPointItem::DateTime, Isis::Angle::degrees(), Isis::AbstractPointItem::EditLock, Isis::ControlPoint::GetAdjustedSurfacePoint(), Isis::ControlPoint::GetAprioriRadiusSourceFile(), Isis::ControlPoint::GetAprioriSurfacePoint(), Isis::ControlPoint::GetAprioriSurfacePointSourceFile(), Isis::ControlPoint::GetChooserName(), Isis::AbstractPointItem::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(), Isis::AbstractPointItem::Id, Isis::AbstractPointItem::Ignored, Isis::ControlPoint::IsEditLocked(), Isis::ControlPoint::IsIgnored(), Isis::ControlPoint::IsRejected(), Isis::AbstractPointItem::JigsawRejected, Isis::Distance::meters(), Isis::AbstractPointItem::PointType, and Isis::AbstractPointItem::Reference.
|
virtualinherited |
References _FILEINFO_, and Isis::IException::Programmer.
|
virtualinherited |
References Isis::AbstractTreeItem::parent().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
|
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(), Isis::AbstractPointItem::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().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
|
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().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
|
virtualinherited |
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().
|
virtualinherited |
Reimplemented from Isis::AbstractTreeItem.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
Referenced by Isis::AbstractTreeItem::row().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References Isis::AbstractPointItem::EditLock, Isis::AbstractPointItem::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().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, Isis::AbstractPointItem::AdjustedSPLat, Isis::AbstractPointItem::AdjustedSPLatSigma, Isis::AbstractPointItem::AdjustedSPLon, Isis::AbstractPointItem::AdjustedSPLonSigma, Isis::AbstractPointItem::AdjustedSPRadius, Isis::AbstractPointItem::AdjustedSPRadiusSigma, Isis::AbstractPointItem::APrioriRadiusSource, Isis::AbstractPointItem::APrioriRadiusSourceFile, Isis::AbstractPointItem::APrioriSPLat, Isis::AbstractPointItem::APrioriSPLatSigma, Isis::AbstractPointItem::APrioriSPLon, Isis::AbstractPointItem::APrioriSPLonSigma, Isis::AbstractPointItem::APrioriSPRadius, Isis::AbstractPointItem::APrioriSPRadiusSigma, Isis::AbstractPointItem::APrioriSPSource, Isis::AbstractPointItem::APrioriSPSourceFile, Isis::AbstractTreeItem::catchNull(), Isis::AbstractPointItem::ChooserName, Isis::AbstractPointItem::DateTime, Isis::Angle::Degrees, Isis::AbstractPointItem::EditLock, Isis::ControlPoint::GetAdjustedSurfacePoint(), Isis::ControlPoint::GetAprioriSurfacePoint(), Isis::AbstractPointItem::getColumn(), Isis::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLocalRadius(), Isis::SurfacePoint::GetLongitude(), Isis::AbstractPointItem::Id, Isis::AbstractPointItem::Ignored, Isis::AbstractPointItem::JigsawRejected, Isis::Distance::Meters, Isis::AbstractPointItem::PointType, Isis::IException::Programmer, Isis::AbstractPointItem::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 |
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
pure virtualinherited |
Implemented in Isis::AbstractLeafItem, and Isis::AbstractParentItem.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
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 |
|
protectedvirtualinherited |
Implements Isis::AbstractTreeItem.
Referenced by Isis::AbstractPointItem::AbstractPointItem().
|
staticinherited |
Referenced by Isis::AbstractPointItem::getColumn().