Isis 3 Programmer 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) | |
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) |
Private Member Functions | |
ImageLeafItem (const ImageLeafItem &other) | |
const ImageLeafItem & | operator= (const ImageLeafItem &other) |
Private Attributes | |
QPair< QString, ControlNet * > * | m_imageAndNet |
AbstractTreeItem * | m_nextVisibleItem |
AbstractTreeItem * | m_parentItem |
bool | m_expanded |
bool | m_selectable |
bool | m_selected |
bool | m_visible |
int | m_dataWidth |
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.
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 34 of file ImageLeafItem.h.
|
inherited |
Definition at line 44 of file AbstractTreeItem.h.
Isis::ImageLeafItem::ImageLeafItem | ( | QString | imageSerial, |
ControlNet * | net, | ||
int | avgCharWidth, | ||
AbstractTreeItem * | parent = 0 ) |
Definition at line 13 of file ImageLeafItem.cpp.
|
virtual |
Definition at line 19 of file ImageLeafItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 48 of file AbstractLeafItem.cpp.
|
protectedvirtualinherited |
Definition at line 191 of file AbstractTreeItem.cpp.
|
staticprotectedinherited |
Definition at line 221 of file AbstractTreeItem.cpp.
|
staticprotectedinherited |
Definition at line 201 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 25 of file AbstractLeafItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 43 of file AbstractLeafItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 60 of file AbstractImageItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 31 of file AbstractLeafItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 37 of file AbstractImageItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 45 of file AbstractImageItem.cpp.
|
virtualinherited |
Definition at line 153 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 164 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 54 of file AbstractLeafItem.cpp.
|
virtualinherited |
Definition at line 63 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 68 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 59 of file AbstractLeafItem.cpp.
|
virtualinherited |
Definition at line 186 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 73 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 68 of file AbstractImageItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 63 of file AbstractImageItem.cpp.
|
virtualinherited |
Reimplemented from Isis::AbstractTreeItem.
Definition at line 73 of file AbstractImageItem.cpp.
|
virtualinherited |
Definition at line 93 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 83 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 37 of file AbstractLeafItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 55 of file AbstractImageItem.cpp.
|
virtualinherited |
Definition at line 118 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 138 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 133 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 148 of file AbstractTreeItem.cpp.
|
inherited |
Definition at line 43 of file AbstractTreeItem.cpp.
|
inherited |
Definition at line 53 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 50 of file AbstractImageItem.cpp.
|
virtualinherited |
Definition at line 114 of file AbstractTreeItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 64 of file AbstractLeafItem.cpp.
|
virtualinherited |
Implements Isis::AbstractTreeItem.
Definition at line 70 of file AbstractLeafItem.cpp.
|
virtualinherited |
Definition at line 178 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 78 of file AbstractTreeItem.cpp.
|
inherited |
Definition at line 48 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 128 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 123 of file AbstractTreeItem.cpp.
|
virtualinherited |
Definition at line 143 of file AbstractTreeItem.cpp.
|
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 86 of file AbstractImageItem.cpp.
|
privateinherited |
Definition at line 135 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 131 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 59 of file AbstractImageItem.h.
|
privateinherited |
Definition at line 129 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 130 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 132 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 133 of file AbstractTreeItem.h.
|
privateinherited |
Definition at line 134 of file AbstractTreeItem.h.