Isis Developer Reference
|
Tree item that is a leaf and represents an image. More...
#include <ImageLeafItem.h>
Public Types | |
enum | InternalPointerType { None , Point , Measure , ImageAndNet } |
Public Member Functions | |
ImageLeafItem (QString imageSerial, ControlNet *net, int avgCharWidth, AbstractTreeItem *parent=0) | |
virtual | ~ImageLeafItem () |
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 | hasImage (QString imageSerial) 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 | 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 |
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 *) |
Protected Member Functions | |
virtual void | sourceDeleted () |
This method is required to be implemented by the parent AbstractTreeItem class, but for this it's a NOP. | |
virtual void | calcDataWidth (int avgCharWidth) |
Static Protected Member Functions | |
static double | catchNull (QString) |
static QString | catchNull (QVariant) |
Tree item that is a leaf and represents an image.
This class represents a leaf item in a tree structure that holds serial number data.
|
inherited |
Isis::ImageLeafItem::ImageLeafItem | ( | QString | imageSerial, |
ControlNet * | net, | ||
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().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
|
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().
|
virtualinherited |
Implements Isis::AbstractTreeItem.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
|
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::ImageAndNet.
|
virtualinherited |
Reimplemented from Isis::AbstractTreeItem.
References Isis::AbstractTreeItem::hasImage().
|
virtualinherited |
Reimplemented in Isis::AbstractMeasureItem.
References Isis::AbstractTreeItem::childAt(), and Isis::AbstractTreeItem::childCount().
|
virtualinherited |
Reimplemented in Isis::AbstractPointItem.
References Isis::AbstractTreeItem::childAt(), and Isis::AbstractTreeItem::childCount().
|
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.
|
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.
|
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 |
This method is required to be implemented by the parent AbstractTreeItem class, but for this it's a NOP.
Implements Isis::AbstractTreeItem.