Isis 3 Developer Reference
|
Base class for an item without data. More...
#include <AbstractNullDataItem.h>
Public Types | |
enum | InternalPointerType { None, Point, Measure, ImageAndNet } |
Public Member Functions | |
AbstractNullDataItem (AbstractTreeItem *parent=0) | |
virtual | ~AbstractNullDataItem () |
virtual QVariant | getData () const |
virtual QVariant | getData (QString columnTitle) const |
virtual void | setData (QString const &columnTitle, QString const &newData) |
virtual bool | isDataEditable (QString columnTitle) const |
virtual void | deleteSource () |
virtual InternalPointerType | getPointerType () const |
virtual void * | getPointer () const |
virtual bool | operator< (AbstractTreeItem const &other) 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 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 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 an item without data.
This class represents an item in the tree that has no data. For example, RootItem and BusyLeafItem are two types of items that do not have any data.
|
inherited |
Isis::AbstractNullDataItem::AbstractNullDataItem | ( | AbstractTreeItem * | parent = 0 | ) |
|
virtual |
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, Isis::AbstractLeafItem, Isis::ConnectionParentItem, and Isis::PointParentItem.
|
protectedvirtualinherited |
|
staticprotectedinherited |
References Isis::Null.
Referenced by Isis::AbstractTreeItem::getFormattedData(), Isis::AbstractMeasureItem::setData(), and Isis::AbstractPointItem::setData().
|
staticprotectedinherited |
References Isis::Double, and Isis::Null.
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
Referenced by Isis::AbstractTreeItem::hasImage(), Isis::AbstractTreeItem::hasMeasure(), and Isis::AbstractTreeItem::hasPoint().
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
Referenced by Isis::AbstractTreeItem::hasImage(), Isis::AbstractTreeItem::hasMeasure(), and Isis::AbstractTreeItem::hasPoint().
|
virtual |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
Referenced by Isis::TableViewContent::mouseMoveEvent(), Isis::TreeViewContent::mousePressEvent(), and Isis::TableViewContent::mousePressEvent().
|
virtual |
Implements Isis::AbstractTreeItem.
Reimplemented in Isis::BusyLeafItem.
|
virtual |
Implements Isis::AbstractTreeItem.
|
virtualinherited |
References _FILEINFO_, and Isis::IException::Programmer.
Referenced by Isis::AbstractTreeModel::getVisibleSize().
|
virtualinherited |
References Isis::AbstractTreeItem::parent().
Referenced by Isis::AbstractTreeModel::getVisibleSize().
|
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(), 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::None.
|
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().
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
Referenced by Isis::AbstractTreeItem::row().
|
virtual |
Implements Isis::AbstractTreeItem.
|
virtualinherited |
|
virtualinherited |
Reimplemented in Isis::BusyLeafItem.
Referenced by Isis::TreeViewContent::mouseMoveEvent(), and Isis::TreeViewContent::mousePressEvent().
|
virtualinherited |
|
virtualinherited |
|
virtual |
References _FILEINFO_, and Isis::IException::Programmer.
|
inherited |
|
inherited |
References Isis::AbstractTreeItem::indexOf().
Referenced by Isis::AbstractParentItem::childAt().
|
virtual |
Implements Isis::AbstractTreeItem.
References _FILEINFO_, and Isis::IException::Programmer.
|
virtualinherited |
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
|
pure virtualinherited |
Implemented in Isis::AbstractParentItem, and Isis::AbstractLeafItem.
|
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.