Isis 3 Programmer 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

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)
 

Private Member Functions

 RootItem (const RootItem &other)
 
const RootItemoperator= (const RootItem &other)
 

Private Attributes

AbstractTreeItemm_lastVisibleFilteredItem
 

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
History:

2012-09-28 Kimberly Oyama - Changed member variables to be prefixed with "m_".

2017-07-25 Summer Stapleton - Removed the CnetViz namespace. Fixes #5054.

Definition at line 30 of file RootItem.h.


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