Isis 3 Programmer Reference
Isis::ImageParentItem Class Referenceabstract

Tree item that is a parent and represents an image. More...

#include <ImageParentItem.h>

Inheritance diagram for Isis::ImageParentItem:
Inheritance graph
Collaboration diagram for Isis::ImageParentItem:
Collaboration graph

Public Types

enum  InternalPointerType { None, Point, Measure, ImageAndNet }
 

Public Member Functions

 ImageParentItem (QString imageSerial, ControlNet *net, int avgCharWidth, AbstractTreeItem *parent=0)
 
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
 
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 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
 
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 ()
 This method is required to be implemented by the parent AbstractTreeItem class, but for this it's a NOP. More...
 
virtual void calcDataWidth (int avgCharWidth)
 

Static Protected Member Functions

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

Private Member Functions

 ImageParentItem (const ImageParentItem &other)
 
const ImageParentItemoperator= (const ImageParentItem &other)
 

Detailed Description

Tree item that is a parent and represents an image.

This class represents a parent item in a tree structure that holds serial number data.

Author
????-??-?? Eric Hyer
History:

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

2018-06-01 Jesse Mapel - Changed ControlCubeGraphNode to image serial number. References #5434.

Definition at line 26 of file ImageParentItem.h.

Member Function Documentation

◆ sourceDeleted()

void Isis::AbstractImageItem::sourceDeleted ( )
protectedvirtualinherited

This method is required to be implemented by the parent AbstractTreeItem class, but for this it's a NOP.

Implements Isis::AbstractTreeItem.

Definition at line 80 of file AbstractImageItem.cpp.


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