Isis 3 Programmer Reference
Isis::AbstractLeafItem Class Referenceabstract

Base class for leaf items in the tree. More...

#include <AbstractLeafItem.h>

Inheritance diagram for Isis::AbstractLeafItem:
Inheritance graph
Collaboration diagram for Isis::AbstractLeafItem:
Collaboration graph

Public Types

enum  InternalPointerType { None, Point, Measure, ImageAndNet }
 

Public Member Functions

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

Private Member Functions

 AbstractLeafItem (const AbstractLeafItem &)
 
const AbstractLeafItemoperator= (const AbstractLeafItem &)
 

Private Attributes

AbstractTreeItemm_nextVisibleItem
 
AbstractTreeItemm_parentItem
 
bool m_expanded
 
bool m_selectable
 
bool m_selected
 
bool m_visible
 
int m_dataWidth
 

Detailed Description

Base class for leaf items in the tree.

This class represents a leaf item in the tree.

Author
????-??-?? Eric Hyer
History:
2017-07-25 Summer Stapleton - Removed the CnetViz namespace. Fixes #5054.

Definition at line 31 of file AbstractLeafItem.h.


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