Isis 3 Developer Reference
|
Base class for leaf items in the tree. More...
#include <AbstractLeafItem.h>
Public Types | |
enum | InternalPointerType { None, Point, Measure, ImageAndNet } |
Public Member Functions | |
AbstractLeafItem (AbstractTreeItem *parent=0) | |
virtual | ~AbstractLeafItem () |
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 *) |
AbstractTreeItem * | parent () const |
void | setParent (AbstractTreeItem *newParent) |
int | row () const |
virtual QVariant | getData () const =0 |
virtual QVariant | getData (QString columnTitle) const =0 |
virtual void | setData (QString const &columnTitle, QString const &newData)=0 |
virtual bool | isDataEditable (QString columnTitle) const =0 |
virtual void | deleteSource ()=0 |
virtual InternalPointerType | getPointerType () const =0 |
virtual void * | getPointer () const =0 |
virtual QString | getFormattedData () const |
virtual QString | getFormattedData (QString columnTitle) const |
virtual bool | hasMeasure (ControlMeasure *) const |
virtual bool | hasImage (QString imageSerial) const |
virtual bool | hasPoint (ControlPoint *) 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 |
Protected Slots | |
virtual void | sourceDeleted ()=0 |
Protected Member Functions | |
virtual void | calcDataWidth (int avgCharWidth) |
Static Protected Member Functions | |
static double | catchNull (QString) |
static QString | catchNull (QVariant) |
Base class for leaf items in the tree.
This class represents a leaf item in the tree.
|
inherited |
Isis::AbstractLeafItem::AbstractLeafItem | ( | AbstractTreeItem * | parent = 0 | ) |
|
virtual |
|
virtual |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
protectedvirtualinherited |
|
staticprotectedinherited |
References Isis::Null.
Referenced by Isis::AbstractTreeItem::getFormattedData(), Isis::AbstractMeasureItem::setData(), and Isis::AbstractPointItem::setData().
|
staticprotectedinherited |
References Isis::Double, and Isis::Null.
|
virtual |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
virtual |
Implements Isis::AbstractTreeItem.
|
pure virtualinherited |
Implemented in Isis::AbstractPointItem, Isis::AbstractMeasureItem, Isis::AbstractImageItem, and Isis::AbstractNullDataItem.
|
virtual |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
pure virtualinherited |
Implemented in Isis::AbstractPointItem, Isis::AbstractMeasureItem, Isis::AbstractImageItem, Isis::AbstractNullDataItem, and Isis::BusyLeafItem.
Referenced by Isis::AbstractTreeItem::getFormattedData().
|
pure virtualinherited |
Implemented in Isis::AbstractPointItem, Isis::AbstractMeasureItem, Isis::AbstractImageItem, and Isis::AbstractNullDataItem.
|
virtualinherited |
References _FILEINFO_, and Isis::IException::Programmer.
Referenced by Isis::AbstractTreeModel::getVisibleSize().
|
virtualinherited |
References Isis::AbstractTreeItem::parent().
Referenced by Isis::AbstractTreeModel::getVisibleSize().
|
virtual |
Implements Isis::AbstractTreeItem.
|
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(), and Isis::PointTableDelegate::readData().
|
virtualinherited |
References Isis::AbstractTreeItem::catchNull(), and Isis::AbstractTreeItem::getData().
|
virtual |
Implements Isis::AbstractTreeItem.
|
virtualinherited |
Reimplemented in Isis::RootItem.
|
virtualinherited |
Referenced by Isis::AbstractTreeModel::getVisibleTopLevelItemCount().
|
pure virtualinherited |
|
pure virtualinherited |
Implemented in Isis::AbstractPointItem, Isis::AbstractMeasureItem, Isis::AbstractImageItem, and Isis::AbstractNullDataItem.
Referenced by Isis::PointTableModel::getPointWarningMessage(), Isis::PointTableModel::handleTreeSelectionChanged(), Isis::AbstractTableModel::handleTreeSelectionChanged(), Isis::TableViewContent::mouseMoveEvent(), Isis::TreeViewContent::mousePressEvent(), Isis::TableViewContent::mousePressEvent(), Isis::PointTableDelegate::readData(), and Isis::MeasureTableDelegate::readData().
|
virtualinherited |
Reimplemented in Isis::AbstractImageItem.
References Isis::AbstractTreeItem::childAt(), Isis::AbstractTreeItem::childCount(), and Isis::AbstractTreeItem::hasImage().
Referenced by Isis::AbstractImageItem::hasImage(), and Isis::AbstractTreeItem::hasImage().
|
virtualinherited |
Reimplemented in Isis::AbstractMeasureItem.
References Isis::AbstractTreeItem::childAt(), Isis::AbstractTreeItem::childCount(), and Isis::AbstractTreeItem::hasMeasure().
Referenced by Isis::AbstractTreeItem::hasMeasure().
|
virtualinherited |
Reimplemented in Isis::AbstractPointItem.
References Isis::AbstractTreeItem::childAt(), Isis::AbstractTreeItem::childCount(), and Isis::AbstractTreeItem::hasPoint().
Referenced by Isis::AbstractTreeItem::hasPoint().
|
virtual |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
pure virtualinherited |
Implemented in Isis::AbstractPointItem, Isis::AbstractMeasureItem, Isis::AbstractImageItem, and Isis::AbstractNullDataItem.
|
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().
|
pure virtualinherited |
Implemented in Isis::AbstractPointItem, Isis::AbstractMeasureItem, Isis::AbstractImageItem, and Isis::AbstractNullDataItem.
Referenced by Isis::MeasureTableDelegate::saveData(), and Isis::PointTableDelegate::saveData().
|
virtualinherited |
|
virtual |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
virtual |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
virtualinherited |
Reimplemented in Isis::RootItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
virtualinherited |
|
inherited |
Referenced by Isis::AbstractParentItem::addChild().
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
protectedpure virtualslotinherited |
Implemented in Isis::AbstractPointItem, Isis::AbstractMeasureItem, Isis::AbstractImageItem, and Isis::AbstractNullDataItem.