Isis Developer Reference
Isis::RootItem Class Referenceabstract

The root of a tree. More...

#include <RootItem.h>

Inheritance diagram for Isis::RootItem:
Inheritance graph
Collaboration diagram for Isis::RootItem:
Collaboration graph

Public Types

enum  InternalPointerType { None , Point , Measure , ImageAndNet }
 

Public Member Functions

 RootItem ()
 
virtual ~RootItem ()
 
void setLastVisibleFilteredItem (AbstractTreeItem *item)
 
const AbstractTreeItemgetLastVisibleFilteredItem () const
 
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
 
AbstractTreeItemparent () const
 
void setParent (AbstractTreeItem *newParent)
 
int row () const
 
virtual void addChild (AbstractTreeItem *child)=0
 
virtual QList< AbstractTreeItem * > getChildren () const =0
 
virtual AbstractTreeItemchildAt (int row) const =0
 
virtual int childCount () const =0
 
virtual AbstractTreeItemgetFirstVisibleChild () const =0
 
virtual AbstractTreeItemgetLastVisibleChild () 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 AbstractTreeItemgetNextVisiblePeer () 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 AbstractTreeItemchildAt (int row) const
 
virtual QList< AbstractTreeItem * > getChildren () const
 
virtual AbstractTreeItemgetFirstVisibleChild () const
 
virtual AbstractTreeItemgetLastVisibleChild () const
 
virtual int indexOf (AbstractTreeItem *child) const
 
virtual int childCount () const
 
virtual void addChild (AbstractTreeItem *child)
 
virtual void setFirstVisibleChild (AbstractTreeItem *child)
 
virtual void setLastVisibleChild (AbstractTreeItem *child)
 

Protected Member Functions

virtual void sourceDeleted ()
 
virtual void calcDataWidth (int avgCharWidth)
 

Static Protected Member Functions

static double catchNull (QString)
 
static QString catchNull (QVariant)
 

Detailed Description

The root of a tree.

This class represents the root of a tree in the tree model. It is different from other parent nodes because it knows of the last visible item in the tree that was filtered, which is needed during a partially-complete filter operation so that unfiltered items can be determined. The root item never contains any data.

Author
????-??-?? Eric Hyer

Member Enumeration Documentation

◆ InternalPointerType

Enumerator
None 
Point 
Measure 
ImageAndNet 

Constructor & Destructor Documentation

◆ RootItem()

Isis::RootItem::RootItem ( )

◆ ~RootItem()

Isis::RootItem::~RootItem ( )
virtual

Member Function Documentation

◆ addChild() [1/2]

void Isis::AbstractParentItem::addChild ( AbstractTreeItem * child)
virtualinherited

◆ addChild() [2/2]

virtual void Isis::AbstractTreeItem::addChild ( AbstractTreeItem * child)
pure virtualinherited

◆ calcDataWidth()

◆ catchNull() [1/2]

double Isis::AbstractTreeItem::catchNull ( QString str)
staticprotectedinherited

◆ catchNull() [2/2]

QString Isis::AbstractTreeItem::catchNull ( QVariant data)
staticprotectedinherited

References Isis::Null.

◆ childAt() [1/2]

AbstractTreeItem * Isis::AbstractParentItem::childAt ( int row) const
virtualinherited

◆ childAt() [2/2]

virtual AbstractTreeItem * Isis::AbstractTreeItem::childAt ( int row) const
pure virtualinherited

◆ childCount() [1/2]

int Isis::AbstractParentItem::childCount ( ) const
virtualinherited

◆ childCount() [2/2]

virtual int Isis::AbstractTreeItem::childCount ( ) const
pure virtualinherited

◆ deleteSource()

void Isis::AbstractNullDataItem::deleteSource ( )
virtualinherited

◆ getChildren() [1/2]

QList< AbstractTreeItem * > Isis::AbstractParentItem::getChildren ( ) const
virtualinherited

◆ getChildren() [2/2]

virtual QList< AbstractTreeItem * > Isis::AbstractTreeItem::getChildren ( ) const
pure virtualinherited

◆ getData() [1/2]

QVariant Isis::AbstractNullDataItem::getData ( ) const
virtualinherited

Implements Isis::AbstractTreeItem.

Reimplemented in Isis::BusyLeafItem.

◆ getData() [2/2]

QVariant Isis::AbstractNullDataItem::getData ( QString columnTitle) const
virtualinherited

◆ getDataWidth()

int Isis::AbstractTreeItem::getDataWidth ( ) const
virtualinherited

◆ getDepth()

int Isis::AbstractTreeItem::getDepth ( ) const
virtualinherited

◆ getFirstVisibleChild() [1/2]

◆ getFirstVisibleChild() [2/2]

virtual AbstractTreeItem * Isis::AbstractTreeItem::getFirstVisibleChild ( ) const
pure virtualinherited

◆ getFormattedData() [1/2]

◆ getFormattedData() [2/2]

QString Isis::AbstractTreeItem::getFormattedData ( QString columnTitle) const
virtualinherited

◆ getLastVisibleChild() [1/2]

AbstractTreeItem * Isis::AbstractParentItem::getLastVisibleChild ( ) const
virtualinherited

◆ getLastVisibleChild() [2/2]

virtual AbstractTreeItem * Isis::AbstractTreeItem::getLastVisibleChild ( ) const
pure virtualinherited

◆ getLastVisibleFilteredItem()

const AbstractTreeItem * Isis::RootItem::getLastVisibleFilteredItem ( ) const
virtual

Reimplemented from Isis::AbstractTreeItem.

Referenced by Isis::AbstractTreeModel::getItems().

◆ getNextVisiblePeer()

AbstractTreeItem * Isis::AbstractTreeItem::getNextVisiblePeer ( ) const
virtualinherited

◆ getPointer()

void * Isis::AbstractNullDataItem::getPointer ( ) const
virtualinherited

◆ getPointerType()

AbstractTreeItem::InternalPointerType Isis::AbstractNullDataItem::getPointerType ( ) const
virtualinherited

◆ hasImage()

bool Isis::AbstractTreeItem::hasImage ( QString imageSerial) const
virtualinherited

◆ hasMeasure()

bool Isis::AbstractTreeItem::hasMeasure ( ControlMeasure * measure) const
virtualinherited

◆ hasPoint()

bool Isis::AbstractTreeItem::hasPoint ( ControlPoint * point) const
virtualinherited

◆ indexOf() [1/2]

int Isis::AbstractParentItem::indexOf ( AbstractTreeItem * child) const
virtualinherited

◆ indexOf() [2/2]

virtual int Isis::AbstractTreeItem::indexOf ( AbstractTreeItem * child) const
pure virtualinherited

◆ isDataEditable()

bool Isis::AbstractNullDataItem::isDataEditable ( QString columnTitle) const
virtualinherited

◆ isExpanded()

bool Isis::AbstractTreeItem::isExpanded ( ) const
virtualinherited

◆ isSelectable()

bool Isis::AbstractTreeItem::isSelectable ( ) const
virtualinherited

◆ isSelected()

bool Isis::AbstractTreeItem::isSelected ( ) const
virtualinherited

◆ isVisible()

bool Isis::AbstractTreeItem::isVisible ( ) const
virtualinherited

◆ operator<()

bool Isis::AbstractNullDataItem::operator< ( AbstractTreeItem const & other) const
virtualinherited

◆ parent()

◆ row()

int Isis::AbstractTreeItem::row ( ) const
inherited

◆ setData()

void Isis::AbstractNullDataItem::setData ( QString const & columnTitle,
QString const & newData )
virtualinherited

◆ setExpanded()

void Isis::AbstractTreeItem::setExpanded ( bool newState)
virtualinherited

◆ setFirstVisibleChild() [1/2]

void Isis::AbstractParentItem::setFirstVisibleChild ( AbstractTreeItem * child)
virtualinherited

◆ setFirstVisibleChild() [2/2]

virtual void Isis::AbstractTreeItem::setFirstVisibleChild ( AbstractTreeItem * child)
pure virtualinherited

◆ setLastVisibleChild() [1/2]

void Isis::AbstractParentItem::setLastVisibleChild ( AbstractTreeItem * child)
virtualinherited

◆ setLastVisibleChild() [2/2]

virtual void Isis::AbstractTreeItem::setLastVisibleChild ( AbstractTreeItem * child)
pure virtualinherited

◆ setLastVisibleFilteredItem()

void Isis::RootItem::setLastVisibleFilteredItem ( AbstractTreeItem * item)
virtual

◆ setNextVisiblePeer()

void Isis::AbstractTreeItem::setNextVisiblePeer ( AbstractTreeItem * next)
virtualinherited

◆ setParent()

void Isis::AbstractTreeItem::setParent ( AbstractTreeItem * newParent)
inherited

◆ setSelectable()

void Isis::AbstractTreeItem::setSelectable ( bool newSelectable)
virtualinherited

◆ setSelected()

void Isis::AbstractTreeItem::setSelected ( bool newState)
virtualinherited

◆ setVisible()

void Isis::AbstractTreeItem::setVisible ( bool newState)
virtualinherited

◆ sourceDeleted()

void Isis::AbstractNullDataItem::sourceDeleted ( )
protectedvirtualinherited

The documentation for this class was generated from the following files: